Hi,
To disable automatic startup for all users without anyone logging in, you can modify the registry settings during the sysprep process. Here are the steps:
Open the Registry Editor:
- Press
Win + R
, typeregedit
, and press Enter.
Navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Modify or create the following DWORD values:
- AutoAdminLogon: Set this to
0
to disable automatic login. - DefaultUserName: Ensure this is blank or set to a non-existent user.
- DefaultPassword: Ensure this is blank.
Run sysprep:
- Use the command
sysprep /generalize /oobe /shutdown
to prepare the system.
This should prevent any user from being automatically logged in after the system restarts. Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.