Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
manky

FirstLogonCommands issue

Recommended Posts

Hi all.

I've setup the FirstLogonCommands to run a command file that installs soem software. However as you may know it does this before the desktop is instantiated. The CMD file includes a reboot I'd like to to do after the desktop has fully instantiated, is there a way to trigger the command file to run after the desktop is created rather than before or should a reboot during the middle of this not matter?

Share this post


Link to post
Share on other sites

You can delay the reboot command in that cmd file using something like Ping command or sleep.exe-kind-of-application...

The desktop is showed after all the commands in FirstLogonCommands are executed, so if you make a delay in the file with your applications, you can force a reboot.

Just use 1-2 (even 3 won't hurt) minute after all is done for the reboot to give Windows time to load everything.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...