What state is Vista Setup currently in?

  • Section(s): Deployment
  • Published on Apr 22, 2008.
  • Last Modified on Apr 22, 2008.
  • Last Modified by MitchTulloch.
  • Rating: Not Rated
How to determine what state Windows Setup is in when installing Vista.
You can determine what state Windows Setup is in from the command prompt by typing the following:

reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State /v ImageState

The result will be one of the following values:

  • IMAGE_STATE_COMPLETE – Vista was successfully installed
  • IMAGE_STATE _UNDEPLOYABLE – The current phase of Setup is not yet finished
  • IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE – generalize pass finished and will go into Windows Welcome next
  • IMAGE_STATE_GENERALIZE_RESEAL_TO_AUDIT – generalize pass finished and will go into audit mode next
  • IMAGE_STATE_SPECIALIZE_RESEAL_TO_OOBE – specialize pass finished and will go into Windows Welcome next
  • IMAGE_STATE_SPECIALIZE_RESEAL_TO_AUDIT – specialize pass finished and will go into audit mode next

Note that you can also determine the same information another way by typing the following command:

type %windir%\Setup\State\State.ini

For more information on deploying Vista, see my series of articles on WindowsNetworking.com starting with http://www.windowsnetworking.com/articles_tutorials/Deploying-Vista-Understanding-Windows-AIK.html.

***

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see www.mtit.com.

About MitchTulloch

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see http://www.mtit.com .

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Firewall & VPN hardware solution?