
Make sure that no Task Manager (TaskMgr.exe) process previously started under your administrator account.To run a cmd.exe elevated as admin, right-click the cmd.exe on the desktop or from the Start menu and choose Run as administrator from the menu.
Again, it’s important to remember that it cannot be over a Remote Desktop Session.
On the user’s machine change/switch user to your local administrator account and login. Sound complicated? It is actually fairly easy. Therefore we will want to run Task Manager as the system and connect from there. This is not the case when the request comes from the SYSTEM. Normally when you connect to another user’s session, Windows asks for that user’s password. Microsoft Remote Desktop Connection will unfortunately not work. Either physical or through a remote tool such as VNC, LogMeIn, TeamViewer, DameWare or alike. If you copy the file to c:\windows\system32 you don’t have to later reference the path to the file from example cmd.exe. Copy the psexec.exe file to a known location or one in your path variable. Download the pstool.zip file and extract it. Psexec.exe (or psexec64.exe), can be downloaded for free from Microsoft Sysinternals (part of the PsTools). That is the case when a user locks the machine or recover from sleep/hibernation state. A user previously logged in and in the disconnected state. If the already logged-in user is a local administrator we will need another local administrator account.
Knowing a username/password for local administrator on the machine.There are four prerequisites for this to work: In the end, we will connect to the user’s session. You might be surprised how little is needed for this to work. Security policy doesn’t allow you to change the password for the user, without first going through the HR and security team for approval. The user has left for the day and expect this to be fixed once back in the office the next day. It is the end of your day when the user “groovyPost” requests IT support. Let’s say that you are working at the IT Helpdesk. Without knowing the user’s password you can still get access to the desktop as that user, sneaky huh? I will walk you through how to do this. Log into Another User’s Session on Windows 10