dworley Posted March 5, 2007 Report Share Posted March 5, 2007 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 Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted March 6, 2007 Report Share Posted March 6, 2007 http://www.microsoft.com/resources/documen...s.mspx?mfr=trueaccording to this, there is not an option.BUT I think if I remember correctly, I had to do this before and here is how I did it. I may be wrong as it's been a long while since I have done this.runas /user:localhost\administrator:password regeditEdit: just tested, it does not work.I am sure there is 3rd party software available to do this, but I have not found any that are trust worthy. Quote Link to comment Share on other sites More sharing options...
dworley Posted March 7, 2007 Author Report Share Posted March 7, 2007 yeah, i have tried many things like that... there must be a way, it seems absurd that there isn't an easy way.as for third-party programs, any ideas? Quote Link to comment Share on other sites More sharing options...
Scarecrow Man Posted March 7, 2007 Report Share Posted March 7, 2007 This one looks pretty good. Haven't tried it myself.Before i developed runasspc. I looked for a version of runas with the following criteria.The user does not have to enter a password, like runas. Only the applications allowed by me, could be started by the user. To rename an unauthorised application has no success like group policy or other similar runas tools. The saved credentials should not be used to run any other application like runas /savecred. It should be simple to handle. It must be secure.RunasSpc is free for private use.http://www.robotronic.de/runasspcEn.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.