Vista SP1 Installations Deployed Using Operating System Deployment Cannot Hibernate

From the TechNet forums


The following documentation may prove useful for OSD users.

Vista SP1 Installations Deployed Using Operating System Deployment Cannot Hibernate


When the Configuration Manager 2007 operating system deployment feature is used to deploy a Vista SP1 image, a new boot configuration data (BCD) store is created using the BCD template.  Configuration Manager 2007 explicitly creates the Boot Manger and Operating System objects from the BCD template, but allows the Resume object to be created implicitly by Windows Vista when it goes through mini-setup.  Vista SP1 correctly generates the Resume object during mini-setup but the associated Resume settings objects are not generated. Because there are no Resume settings objects, hibernate functionality does not work.


To resolve this issue, run the following script on Vista SP1 computers deployed using Configuration Manager 2007 operating system deployment to create the missing Resume settings objects. To run the script type the following at a command prompt

cscript.exe /nologo scriptname.vbs

This script can be deployed in two scenarios:

· Run as part of the Vista SP1 deployment: Incorporate the script into the operating system deployment task sequence as a Run Command Line step once the new operating system is installed.  

· Run after Vista SP installation: Incorporate the script into a software distribution package/program and then advertise it to existing computers previously deployed with Vista SP1 using Configuration Manager 2007 SP1. 

Code Snippet

' Connect to WMI

set oLocator = CreateObject( "WbemScripting.SWbemLocator" )

set oRootWMI = oLocator.ConnectServer( ".", "root\wmi" )

oRootWMI.Security_.ImpersonationLevel = 3

' Connect to BCD

set oBCD = GetObject( "winmgmts:{impersonationlevel=Impersonate,(Backup,Restore)}!root/wmi:BcdStore")

if Err.number <> 0 then

    WScript.Echo "ERROR: Failed to connect to BCD"


end if

' Open the system store

if not oBCD.OpenStore( "", oBcdStore ) then

    WScript.Echo "ERROR: Failed to open the system BCD store"


end if

set oBCD = nothing

const ResumeLoaderSettingsBcdObject = "{1afa9c49-16ab-4a5c-901b-212802da9460}"

const GlobalSettingsBcdObject = "{7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}"

' Check to see if the {resumeloadersettings} object already exists

if oBcdStore.OpenObject( ResumeLoaderSettingsBcdObject, objWBM ) then

    WScript.Echo "Resume Loader Settings object already exists in BCD"

    WScript.Echo "No changes have been made to the system"


end if

WScript.Echo "Creating new {resumeloadersettings} object…"

if not oBcdStore.CreateObject( ResumeLoaderSettingsBcdObject, &h20200004, oResumeSettings) then

    WScript.Echo "ERROR: Failed to create the BCD object"

end if

if not oResumeSettings.SetObjectListElement(&h14000006, Array(GlobalSettingsBcdObject )) then

    WScript.Echo "ERROR: Failed to set the Inherit element"

end if

WScript.Echo "Finished updating BCD"

Nathan Barnett


New specific functionality added to the System Center Windows Vista search gadget

Microsoft has added some new functionality for myITforum’ers into their System Center Windows Vista Search Gadget today.

  1. Now pages from the articles section of  (*) will be returned in search results for the overall System Center search and for specific product searches.  For example, when you set the gadget to search all System Center products, and then you click on the Blogs tab, these search results will now contain pages that have a URL that starts with  Also, if you set the gadget to search for Operations Manager, Essentials, VMM, or Config Manager, then pages from the articles section of will also be returned in the results.
  2. Now when a user uses the “All System Center products” search, the results for the Forums tab will contain pages that have a URL that start with
  3. The blogs search definitions have also been updated for System Center (all products), Operations Manager, Essentials, and Configuration Manager to include results from blogs.


Better Forum results

To get better results for the forums, though, you need precede your search statement with “myitforum”.

Click on the image tab.


Type something like:  image


Click the Search icon image

And, you’ll see the forums solutions first…



Grab the System Center Search Windows Vista Gadget!