rferrariwd Posted January 23, 2007 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
FireGeier Posted January 23, 2007 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
rferrariwd Posted January 23, 2007 Author Posted January 23, 2007 it's locate at "c:\windows\". The script is the setautofailover.cmd -> run the bcdedit.exe and the diskpart.exe
FireGeier Posted January 24, 2007 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
rferrariwd Posted January 29, 2007 Author 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now