Microsoft KB Archive/928717

= When Windows Vista is running in audit mode for a long time, the computer is locked after the system resumes from standby or from hibernation =

Article ID: 928717

Article Last Modified on 3/15/2007

-

APPLIES TO


 * Windows Vista Enterprise 64-bit edition
 * Windows Vista Home Basic 64-bit edition
 * Windows Vista Home Premium 64-bit edition
 * Windows Vista Ultimate 64-bit edition
 * Windows Vista Business
 * Windows Vista Business 64-bit edition
 * Windows Vista Enterprise
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Starter
 * Windows Vista Ultimate

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you run Windows Vista in audit mode for a long time, the computer enters standby or hibernation. By default, you are then prompted to perform an administrator logon after the computer resumes. This behavior occurs during an automated factory preinstallation operation. In this scenario, the automated factory preinstallation process is interrupted.



WORKAROUND
To work around this problem, temporarily change the default power-saving scheme. To do this, add the following Powercfg and registry settings to the &quot;specialize pass&quot; section of the Unattend.xml answer file: Microsoft-Windows-Deployment | RunAsynchronous cmd /c powercfg -change -standby-timeout-ac 0

Microsoft-Windows-Deployment | RunAsynchronous cmd /c powercfg -change -monitor-timeout-ac 0

Microsoft-Windows-Deployment | RunAsynchronous cmd /c powercfg -change -hibernate-timeout-ac 0

Microsoft-Windows-Deployment | RunSynchronous cmd /c regedit /s screenSaver.reg

screensaver.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop] &quot;ScreenSaveActive&quot;=&quot;0&quot; &quot;ScreenSaveIsSecure&quot;=&quot;0&quot; Alternatively, you can enable the Don’t require a password setting under the Require a password on wakeup option. You can enable this setting either in a power plan or by editing the registry. To do this, perform one of the following procedures:  To enable the Don't require a password setting in all applicable power plans, follow these steps:  Click Start, click Control Panel, click System and Maintenance, and then click Power Options. On the Select a power plan page, click Require a password on wakeup in the task pane. On the Define power buttons and turn on password protection page, click Don't require a password. Click Save changes. </li> To enable the Don't require a password setting in a specific power plan, follow these steps:  Click Start, click Control Panel, click System and Maintenance, and then click Power Options.</li> On the Select a power plan page, click Change plan settings under the plan that you want to change.</li> On the Change settings for the plan page, click Change advanced power settings.</li> On the Advanced settings tab, expand Additional settings, expand Require a password on wakeup, and then click No both for when the computer is running on battery and when the computer is plugged in.</li> Click OK.</li></ol> </li> Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. To enable the Don't require a password setting in the registry, follow these steps:  Click Start, type regedit in the Start Search box, and then click regedit.exe in the Programs list. If you are prompted for an administrator password or for confirmation, type a valid password, or click Continue.</li> Locate and then click the following subkey in the registry:

</li> In the right pane, right-click ScreenSaveIsSecure, and then click Modify.</li> In the Value data box, type 0, and then click OK.</li> Exit Registry Editor.</li></ol> </li></ul>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
To restore the default power scheme, apply the following settings: <pre class="fixed_text">cmd /c powercfg -change -standby-timeout-ac 60 cmd /c powercfg -change -monitor-timeout-ac 5 cmd /c powercfg -change -hibernate-timeout-ac 1080

AuditUser - Runsynch cmd /c regedit /s screenSaver.reg [HKEY_CURRENT_USER\Control Panel\Desktop] &quot;ScreenSaveActive&quot;=&quot;1&quot; &quot;ScreenSaveIsSecure&quot;=&quot;1&quot;

Keywords: kbtshoot kbprb kbexpertiseadvanced KB928717

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.