Jump to content
RESET Forums (homeservershow.com)
  • Remote Desktop Session Locks Workstation after Exit


    I do a lot of remote desktop sessions within my house.  I constantly remote from my netbook to my PC to work remotely and it seems I'm always poking around within the two Media Center PC’s in the house as well.


    One thing I’ve always disliked is when I jump into my Media Center via remote desktop (RDP) and then exit the screen locks back to a password screen.  Yes, I could always do away with the password but I like the fact that I can log into it via RDP when I’m away from the house.  I then have a need to keep a keyboard handy to enter the password.  That’s not high on the wife acceptance factor in the living room.


    I did some searching around and found a solution to this little conundrum and I wanted to share it with you.  The solution was found at thegreenbutton.com and also at arsetechnica.com.


    All you have to do is run a simple command that will log you off and return the system to it’s console.  Here is the command:

    %windir%\System32\tscon.exe RDP-Tcp#0 /dest:console

    Create a shortcut on the desktop called End RDP and use this command as the target.  Change the icon to something pretty and your done.




    A couple of things to remember.  If you find it not working, check the user session that you are using on the RDP.  Open Task Manager and check the users tab.  See the session tab at the right?  That number, in this case it’s 0, corresponds to the number in the command.  RDP-Tcp#0




    The last thing to remember is in Windows 7 you will have to run it as an administrator.  You will be prompted by User Account Control as well. Right Click the icon on the desktop and Run as Administrator and you will be booted from the RDP session and it will return to it’s normal desktop.  All the programs running will still be there when you check it next.


    I hope that helps someone else as much as I appreciate it.




    User Feedback

    Recommended Comments

    OMG Thank you so much for sharing this! I've been wanting to do this forever. It's pretty much the only reason I have LogMeIn installed instead of using RDP exclusively. Oh and to avoid the session issue you mentioned, I use: Start > Run > mstsc /admin
    Link to comment
    Share on other sites

    Thanks for that tip vyper. I'll use that. I prefer RDP in the house so I don't have to jump into mesh to get it done. Although mesh is handy when you are away. Also, RDP, I can use the audio, copy paste between workstations. Very nice to have that option. It's a shame that you can only do it(legally) with Ultimate.
    Link to comment
    Share on other sites

    Nice tip Dave, didn't know that! I agree and prefer RDP vs Live Mesh on the internal LAN because of those features you mentioned.
    Link to comment
    Share on other sites

    there is an issue with the home premium hack as there's no tscon.exe in home premium by standard, so this console trick doesn't work :(
    Link to comment
    Share on other sites

    I also have very strong ethical/moral reasons against that hack. When a company does price differentiation of products with specific features, hacking in those features in a cheaper product to be equivalent to the more expensive one's is wrong. Since the only real differentiator between home premium and professional/ultimate is the remote desktop, I just don't feel at all right about using features that you very intentionally didn't pay for. That's just me though. My wife say's I'm a legalistic prude.
    Link to comment
    Share on other sites

    usa... the main difference as far as i can tell is bitlocker. rdc is rather trivial. anyways, did anyone get the big that after you disconnect your mouse pointer does not disappear once you are in media center.
    Link to comment
    Share on other sites

    I copyed the 2 tscon files from an ultimate pc to a rdp hacked home premium pc and the tscon command now works!
    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Our picks

    • RT6600ax tri-band Wi-Fi 6 router   Provide ultrafast and secure wireless connectivity to your home or office with support for the expanded 5.9 GHz spectrum,* combined wireless throughput of 6.6 Gbps, and a secure network infrastructure backed by the intuitive Synology Router Manager (SRM).
      • 3 replies
    • I throw this out every once in a while.  Is anyone interested in writing up "semi-formal" reviews here on the forums?  I say semi-formal because they don't have to be pro level, just a good attempt at telling the story about the gear.  Something you have purchased lately.  You don't have to go buy stuff, just incorporate what you have already have purchased.  Hit me up with any questions.  You never know where it will lead!
        • Like
      • 4 replies
    • D-Link has dropped a couple of new products and additions to their lineup of smart home gear.  Hold on because there is a lot of gear!
      Let's start with cameras.  D-Link has new Wi-Fi cameras, the Full HD Pan and Tilt Pro Wi-Fi Camera (DCS-8302LH) and Full HD Indoor and Outdoor Pro Wi-Fi Camera (DCS-8526LH).  These are not just new, and good looking cams, they can now perform people detection and glass break detection.  The new cameras also feature expanded ways for customers to save video, including ONVIF Profile S, which enables custom storage and streaming options to personal NAS devices, built-in storage microSD capacity up to 256 GB, as well as free and paid cloud storage options. 

      This year's camera models include both an indoor and an outdoor model. The outdoor model features a spotlight and siren that can be triggered when motion is detected, deterring potential intruders. The indoor model pans around to give a full 360-degree view of any room and tracks motion. Both include two-way audio. 
      Full HD Pan and Tilt Pro Wi-Fi Camera is the model (DCS-8302LH), available in Q2, 2020, and retail pricing will be $99.99.
      Full HD Indoor and Outdoor Pro Wi-Fi Camera is the model (DCS-8526LH), available in Q3, 2020, and retail pricing will be $119.99.
      One of my favorite products is Wi-Fi.  D-Link has a whole lot of new products coming including Wi-Fi 6, Mesh, Alexa and Google Assistant integration, IFTTT, Parental Controls, and more!

      There are so many new SKU's that I can't make heads or tails of them!  I'm going to be speaking with D-Link more this week and will sort all of these out. I do want you to see all they are offering and what the release date and projected retail pricing will be.

      AC1900 Scalable Mesh Wi-Fi Router (COVR-1900-US), Q1 2020, $119.99
      AC1750 Mesh Wi-Fi Router (DIR-1750-US), Q1 2020, $99.99
      AC1900 Mesh Wi-Fi Router (DIR-1950-US), Q1 2020, $119.99
      AC1750 Mesh Wi-Fi Range Extender (DAP-1755-US), Q1 2020, $99.99
      AC1950 Mesh Wi-Fi Range Extender (DAP-1955-US), Q1 2020, $109.99
      Smart AX1500 Mesh Wi-Fi 6 Router (DIR-X1560-US), Q1 2020, $119.99
      Smart AX1800 Mesh Wi-Fi 6 Router (DIR-X1870-US), Q2 2020, $139.99
      Smart AX2400 Mesh Wi-Fi 6 Router (DIR-X2460-US), Q3 2020, $159.99
      Smart AX5400 Mesh Wi-Fi 6 Router (DIR-X5460-US), Q1 2020, $279.99
      AX1800 Mesh Wi-Fi 6 Range Extender (DAP-X1870-US), Q2 2020, $129.99
      AX1800 Whole Home Mesh System (COVR-X1872-US), QX22020, $269.99
        • Like
      • 0 replies
    • RESET Merch Shop
      Get ya Merch here!  I've created a T-Shirt shop with the famous RESET paperclip. I've pasted that clip on just about everything so you can wear it around town!  Cable bags, Coffee Mugs, T-Shirts, and more. 
      or you can get it it via
      Here is the main design.

      Below is a part of the order that I put in!  

      The Heather Grey above is the Extra Soft version and it is awesome.  I highly recommend the softness!    The "Chili Red" is the Tri-Blend and probably my favorite feel and color.

      This is the Zip-Up Hoody, Heather Indigo, Sponge Fleece, Men's, Large.  In my podcast I couldn't remember what style it was but it is Sponge Fleece. It's REALLY soft on the inside. Soft outside as well. The only problem is with the zip up hoody the logo is on the back. Regular hoody, it will be on the front.
      or you can get it it via
      Thank you for supporting this community. Everything you purchase will help keep the lights on the hard drives spinning.
      • 0 replies
    • OneDrive Personal Vault and expandable storage
      Microsoft's OneDrive has a few new features and options worth pointing out.  Personal Vault and Expandable Storage.
      Personal Vault is a protected area in OneDrive that can only be accessed with a strong authentication method or a second step of identity verification, such as your fingerprint, face, PIN, or a code sent to you via email or SMS. 
      Personal Vault gives you an added layer of protection for your most important files, photos, and videos—for example, copies of documents such as your passport, driver’s license, or insurance information—should someone gain access to your account or device.
      Plus, this added security won’t slow you down. You can quickly access your important documents, photos, and files with confidence wherever you are, on your PC, OneDrive.com, or your mobile device.

      Beyond a second layer of identity verification, Personal Vault also includes the following security measures:
      Scan and shoot—Using the OneDrive app, you can scan documents or shoot photos directly into your Personal Vault, keeping them off less secure areas of your device, like your camera roll.
      Automatic locking—No need to worry about whether you left your Personal Vault or your files open—both will close and lock automatically after a period of inactivity.
      BitLocker encryption—On Windows 10 PCs, OneDrive automatically syncs your Personal Vault files to a BitLocker-encrypted area of your local hard drive.
      Restricted sharing—To prevent accidental sharing, files in Personal Vault and shared items moved into Personal Vault cannot be shared.
      Taken together, these security measures help ensure that Personal Vault files are not stored unprotected on your PC, and your files have additional protection, even if your Windows 10 PC or mobile device is lost, stolen, or someone gains access to it or to your account.
      Expandable Storage
      If you are and Office 365 Subscriber you get 1 TB of OneDrive storage space with all the other Office goodies like Word, Excel, etc.  I know personally that I have gone over the 1TB limit and have always wanted to be able to add additional storage to my account.  Now you can!

      Pick and option and keep on hoarding, errr, I mean saving! Cancel anytime, upgrade at any moment.
      • 1 reply
  • Create New...