1 reply
One option:
The Runas utility is primarily designed to allow administrators to logon as an ordinary user, but to invoke a seconary logon, without logging off, in order to run administrative tools with administrator rights and permissions
TheRunAs utility prompts for a password when run and can NOT be pre-configured with the password.
The Microsoft solution is to use the SU.EXE tool.
There is another alternative, if the task may be run in the backround:
See this link for the full explanation:
http://www.jsifaq.com/SUBG/TIP3000/rh3063.htm
----------
Another option:
RunAs
Configures a class to run under a specific user account when activated by a remote client without being written as a Win32 service. To do this, the RunAs named-value is set for the class to a user-name and optionally a password. These are then used when the Service Control Manager launches its local server process.
To establish a password for a RunAs class, you must use the DCOMCNFG administrative tool installed in the system directory.
See this link for this whole explanation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/reg_7nar.asp
----------
REMOVE SPACES from the pasted URLs.
Maxwell
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending