rferrariwd Posted January 23, 2007 Share Posted January 23, 2007 I put a script at autounattend file (FirstLogonCommands or LogonCommands of oobeSystem step) but when the script is executed, i got access denied message. There is someway to run a command at oobe step with admin permissions?!Thanks Link to comment Share on other sites More sharing options...
FireGeier Posted January 23, 2007 Share Posted January 23, 2007 (edited) Hello rferrariwd!Where is your script located and what is the script supposed to do?Martin Edited January 23, 2007 by FireGeier Link to comment Share on other sites More sharing options...
rferrariwd Posted January 23, 2007 Author Share Posted January 23, 2007 it's locate at "c:\windows\". The script is the setautofailover.cmd -> run the bcdedit.exe and the diskpart.exe Link to comment Share on other sites More sharing options...
FireGeier Posted January 24, 2007 Share Posted January 24, 2007 I still don't understand what you plan to do.setautofailover.cmd is used to boot the WinRE (Recovery Environment) once your system does not boot to the Vista desktop anymore automatically. So why you want to start it "manually" with FirstLogonCommand.Could you explain what you want to do with BCDEdit and diskpart at this state?Do you AutoLogon the Administrator or an other user?Martin Link to comment Share on other sites More sharing options...
rferrariwd Posted January 29, 2007 Author Share Posted January 29, 2007 I used this script to set a recovery partition at the diski discovery that the script have admin status, and to solve it, i executed it using cmd.exe /k scriptname.cmd and it didn't asked for permissiontks 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