xtremexxx Posted September 25, 2004 Share Posted September 25, 2004 <item display='Registry Tweaks for Spike'> <!-- note the username and password - it will run under the user 'Spike', using the account password --> <execute display='Applying tweaks...' program='regedit' arguments='/s "%SYSTEMDRIVE%\PostInstall\RegTweak.reg"' username='Spike' password='swordfish' /> </item>How to do this manualy ?Using runas ? but that doesn't take a password as parameter, I REALLY need a way to do that, to apply a reg for a user.... via cmd linethanks Link to comment Share on other sites More sharing options...
Wraith Posted September 26, 2004 Share Posted September 26, 2004 Huh? Do what manually? Link to comment Share on other sites More sharing options...
xtremexxx Posted September 26, 2004 Author Share Posted September 26, 2004 Run a reg file for another user, like I'm logged as admin and I want to run a regtweak.reg for a USER on same machine. Link to comment Share on other sites More sharing options...
Wraith Posted September 26, 2004 Share Posted September 26, 2004 By using the syntax in the example?You probably need to state the full path to regedit - %WINDIR%\regedit.exe should work. Been a while since I used the running under different credentials code... Link to comment Share on other sites More sharing options...
xtremexxx Posted September 26, 2004 Author Share Posted September 26, 2004 no I want something likeregedit username:password tweak.reg Link to comment Share on other sites More sharing options...
Wraith Posted September 26, 2004 Share Posted September 26, 2004 Ahh. You can't do that, normally.Search the unattended forum for "RegImport". Link to comment Share on other sites More sharing options...
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