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  
zpashaz

Shutdown after GUI section of unattended install

Recommended Posts

zpashaz    0

Sorry if I'm double posting , but i cant seem to find it anywhere in the forum.

What i wanted is to make install shutdown computer after gui section of install ( where computer normally reboots for the second time )

thanx in advance

Share this post


Link to post
Share on other sites
gosherm    0

Hmm... the best that I'm coming up with off the top of my head is to use RunOnceEx/GuiRunOnce and call the shutdown command. However, that happens after the reboot and first part of login is initiated. Perhaps if you could share with us the purpose for doing this we might be able to come up with another solution as well.

Share this post


Link to post
Share on other sites
zpashaz    0

At the moment i am doing it through GuiRunOnce after the first logon.

The purpose is to have Install stopped at that point, to give users a chance to complete configuration (oobe stuff: user accounts, internet connection etc.) themselves. More like those big brand factory preinstalled computers.

Surely I could sit there and switch the computer off when it reboots the second time, but then it would not be unattended really.

I thought more on the idea of hex editing one of the setup files (syssetup.dll?) or something like that.

While i'm at it it would be nice to see my UACD ejected before shutdown too.

Share this post


Link to post
Share on other sites
mls15000    0

You could load the PC completely, then sysprep (reseal) it and it will run through a mini setup that the user can enter their own info, just like the big factory ones, at first boot.

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.

×