runas
Run a program as another user. tldr-pages
On Windows File runas.exe
Windows
Run a program as the Administrator local user
runas /user:.\Administrator "command"IdentifyRun a program as a specific user
runas /user:domain\username "command"IdentifyRun a program without loading the user's profile
runas /noprofile /user:domain\username "command"IdentifyOpen Command Prompt as another user
runas /user:domain\username cmdIdentifyRun Notepad as a specific user with the current user's environment variables, opening a file with escaped quotes
runas /env /user:domain\username "notepad \"C:\path\to\file.txt\""IdentifyRun Active Directory Users and Computers as a specific user
runas /env /user:domain\username "mmc %windir%\system32\dsa.msc"Identify