none
Remote Desktop and Automatic Login RRS feed

  • Question

  • Note that this question is not about remote desktop automatic login, but windows automatic login where it doesn't prompt you for a username/password when the computer starts. Also I know this isn't the right forum, but last time I asked a complicated question in the "windows problems" forums, I was told to come ask developers because the people there won't know how to help.

    Basically I have a console program I want running all the time. I can't make it a service because it uses outlook interop. The computer crashes a lot, because it's an old piece of ____. So I turned on automatic login so if it crashes and reboots, the program will come back (it runs on startup). The problem is that it's my server box so i only access it through remote desktop. When I do this, it logs out the automatically logged in user and logs in as the remote desktop user instead, even though they're both using the same account.

    So my question is, is there any way that the automatic login can use the same "desktop" as the remote desktop? Or to put it another way, that the remote desktop can use the same "desktop" as the automatic login?

    Edit: Really? It censors c-r-a-p? Am I gonna get in trouble for evading the filters now? haha
    Friday, February 26, 2010 11:51 PM

Answers

  • Try using this

       mstsc /admin /v:ComputerName

    or these

       mstsc /console /v:ComputerName

    Cheers Harry

    • Marked as answer by ScottyDoesKnow Saturday, February 27, 2010 10:20 PM
    Saturday, February 27, 2010 7:19 AM

All replies

  • I'm almost positive RDP cannot use the interactive desktop. The autologin user shouldn't be logged off, though. What OS?

    You may want to look into VNC.

    Or a new computer. ;)  I have a good source on eBay that I use for cheap servers.

           -Steve
    Programming blog: http://nitoprograms.blogspot.com/
      Including my TCP/IP .NET Sockets FAQ
      and How to Implement IDisposable and Finalizers: 3 Easy Rules
    Microsoft Certified Professional Developer

    How to get to Heaven according to the Bible
    Saturday, February 27, 2010 12:14 AM
  • Try using this

       mstsc /admin /v:ComputerName

    or these

       mstsc /console /v:ComputerName

    Cheers Harry

    • Marked as answer by ScottyDoesKnow Saturday, February 27, 2010 10:20 PM
    Saturday, February 27, 2010 7:19 AM
  • I'm almost positive RDP cannot use the interactive desktop. The autologin user shouldn't be logged off, though. What OS?
    It doesn't log them off, it just sends them to the login screen, which stops the program from working. It's Server 2008.


    mstsc /admin /v:ComputerName
    This worked perfectly! Server automatically logs in on startup and this accesses that desktop. Thanks a lot.
    Saturday, February 27, 2010 10:20 PM
  • I'm almost positive RDP cannot use the interactive desktop. The autologin user shouldn't be logged off, though. What OS?
    It doesn't log them off, it just sends them to the login screen, which stops the program from working. It's Server 2008.


    mstsc /admin /v:ComputerName
    This worked perfectly! Server automatically logs in on startup and this accesses that desktop. Thanks a lot.
    we need auto login  into the remote desktop also.
    Sunday, March 13, 2011 4:05 AM