Computer Hope
Microsoft => Microsoft Windows => Windows XP => Topic started by: dworley on March 02, 2007, 04:11:45 PM
-
Hello all,
I am running "regedit" from a computer that is not logged in with administrator priveliges in Windows XP Professional. The computer must stay logged into the profile called "PUser" (it is a power user profile... creative name, I know)
I am running regedit from a batch file, and this line of code works beautifully:
"runas /user:localhost\administrator regedit"
the only drawback is that it always prompts me for "administrator"s password. I want to include the password somewhere in the command line or something like that so that it automatically logs in. The security of this obvious availability of the password is not a problem.
Thanks,
-darryl
-
Sounds like a good question for the programmers forum. Try posting it there:
http://www.computerhope.com/cgi-bin/yabb/YaBB.cgi?board=10
If you do, please leave a note at this forum that this is what you did, as duplicate posts get under our skin!
;)
-
i have posted it there now.
thanks,
-darryl
http://www.computerhope.com/cgi-bin/yabb/YaBB.cgi?num=1173123746/0