MSFN Forum: Run command at OOBE step - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Run command at OOBE step I got access denied Rate Topic: -----

#1 User is offline   rferrariwd 

  • Group: Members
  • Posts: 5
  • Joined: 17-January 07

Posted 23 January 2007 - 05:04 AM

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


#2 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 23 January 2007 - 05:13 AM

Hello rferrariwd!

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 User is offline   rferrariwd 

  • Group: Members
  • Posts: 5
  • Joined: 17-January 07

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 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

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

#5 User is offline   rferrariwd 

  • Group: Members
  • Posts: 5
  • Joined: 17-January 07

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy