Jump to content

Shutdown after GUI section of unattended install


Recommended Posts

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

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...