Cadzow Knowledgebase

Contact Us

Site Search

Remote Support

Print Friendly

Windows Locks Workstation After Inactivity

After a certain period of inactivity, Windows Vista and above locks the workstation, requiring the user to enter their password. However, the machine is not configured to suspend/sleep, and there is no screen-saver.

This can happen if the screen-saver option to show the logon screen is enabled, even if no screen-saver is enabled.

To fix:

  1. Open Control Panel, Personalisation, Screen Saver.

  2. On Windows Vista, the option to disable the logon screen is only available to change if a screen saver is selected.

    Thus, change the screen saver from (None) to any other screen saver.

    The option On resume, display logon screen is now available.

  3. Untick On resume, display logon screen.

  4. Click Apply.

  5. On Windows Vista, change the screen saver back to (None).

  6. Click OK.

To achieve this result via a script or from the command-line, use:

reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /d 0 /t REG_DWORD /f

reg add "HKCU\Control Panel\Desktop" /v ScreenSaveTimeOut /d 3600 /t REG_DWORD /f

reg add "HKCU\Control Panel\Desktop" /v ScreenSaverIsSecure /d 0 /t REG_DWORD /f

Copyright © 1996-2023 Cadzow TECH Pty. Ltd. All rights reserved.
Information and prices contained in this website may change without notice. Terms of use.

Question/comment about this page? Please email