none
Force remote login of administrator

    Question

  • I am using Windows 7 Pro. I have many workstations that I need to connect remotely from my pc (all of the connecting workstations are running Windows 7 Pro). When I connect remotely and logon as Administrator, I get the message: "Another user is currently logged on tho this computer. If you continue, this user has to disconnect from this computer. Do you want to continue?" I click "Yes". If a user is logged on, I get the message "Please wait for <Computer Name> to respond." I want to force the logoff of this user without asking for permission, and allow my Administrator logon. I am not worried about the user losing data at this point, I just want to know how to force their logoff and allow my logon (not necessarily simultaneously).

     

    B

    Saturday, January 21, 2012 9:02 PM

All replies

  • You mean remote services? If it is true, then there is possible only one active account in Windows 7.

    Would you specify in more details, including exact messages as well as event logs to resolve the problem?

    Regards

    Milos

    Sunday, January 22, 2012 5:50 PM
  • By default, client OSes such as Windows 7 only allow for a single, interactive (that is the key word) user at any one time.  Server OSes differ, however.

    If you need to run some updates or other commands remotely, you can use the sysinternals suite: http://technet.microsoft.com/en-us/sysinternals (PsExec in particular).

    Another option is probably to use a VNC Server/Client solution.  A good free one is UltraVNC:  http://www.uvnc.com/.  For a more robust remote solution, look into DameWare:  http://www.dameware.com/ (this works really well along side AD domains too).

    • Proposed as answer by DarienHawk67 Monday, January 23, 2012 2:35 PM
    Monday, January 23, 2012 1:13 AM
  • Hi,

     

    “I want to force the logoff of this user without asking for permission, and allow my Administrator logon.”

     

    This feature is by the design. If you logon a Windows 7 based machine remotely. The current session would be disconnected in 30 seconds automatically.

     


    William Tan

    TechNet Community Support

    • Proposed as answer by DarienHawk67 Monday, January 23, 2012 2:35 PM
    Monday, January 23, 2012 8:55 AM
  • Hi,

    As a workaround I think you could use Pstools(psexec command) to achieve your purpose. Please refer the following articles:

    http://technet.microsoft.com/en-us/library/bb490698.aspx

    http://technet.microsoft.com/en-us/sysinternals/bb897553

    Or you could use shutdown command to log off this account remotely.


    William Tan

    TechNet Community Support


    • Edited by zhen tan Tuesday, January 24, 2012 6:02 AM
    Monday, January 23, 2012 8:57 AM
  • zhen tan,

    The dialog box you show is what the user sees when I try to logon. He/she has the opportunity to deny me access by clicking cancel, if the user is in front of their machine. I want to be able to bypass this message, without the user's permission. I do have admin access to all workstations, so they only get this message if the Administrator (or another user) tries to logon remotely. If I logon as the current local user, then I can get right in with no user permission, but the local user can do the same to me when I logon (he/she can login without my approval, therefore, kicking me off).

    Basically, I want to sit at my desk, and logon to another workstation in my internal network with the Administrator account of that workstation, and not have to be permitted to do so by the current logged on user.


    B
    Monday, January 23, 2012 2:20 PM