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
Page 1 of 1
Run command at OOBE step I got access denied
#2
Posted 23 January 2007 - 05:13 AM
Hello rferrariwd!
Where is your script located and what is the script supposed to do?
Martin
Where is your script located and what is the script supposed to do?
Martin
This post has been edited by FireGeier: 23 January 2007 - 05:14 AM
#3
Posted 23 January 2007 - 05:52 AM
it's locate at "c:\windows\". The script is the setautofailover.cmd -> run the bcdedit.exe and the diskpart.exe
#4
Posted 24 January 2007 - 02:48 AM
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
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
#5
Posted 29 January 2007 - 12:27 PM
I used this script to set a recovery partition at the disk
i 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 permission
tks
i 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 permission
tks
Share this topic:
Page 1 of 1



Help
Back to top









