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.
To work around this problem, temporarily change the default power-saving scheme. To do this, add the following Powercfg and registry settings to the "specialize pass" section of the Unattend.xml answer file:
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.
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.
On the Select a power plan page, click Change plan settings under the plan that you want to change.
On the Change settings for the plan page, click Change advanced power settings.
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.
Click OK.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
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.
Locate and then click the following subkey in the registry:
HKEY_CURRENT_USER\Control Panel\Desktop
In the right pane, right-click ScreenSaveIsSecure, and then click Modify.