tirzah Posted August 13, 2007 Posted August 13, 2007 Hi,Help me with the command line for runasuser.exe
tain Posted August 13, 2007 Posted August 13, 2007 You mean runas.exe?C:\Documents and Settings\jon.VENOM>runasRUNAS USAGE:RUNAS [/profile] [/env] [/netonly] /user:<UserName> program /profile if the user's profile needs to be loaded /env to use current environment instead of user's. /netonly use if the credentials specified are for remote access only. /user <UserName> should be in form USER@DOMAIN or DOMAIN\USER program command line for EXE. See below for examplesExamples:> runas /profile /user:mymachine\administrator cmd> runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc"> runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\""NOTE: Enter user's password only when prompted.NOTE: USER@DOMAIN is not compatible with /netonly.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now