0

The test OS is a Windows 7 Enterprise SP1.

I am referring to the documentation http://msdn.microsoft.com/en-us/library/dd405477%28v=vs.85%29.aspx --> "If you disable all screen savers by choosing (None) from the screen saver list, then the operating system deletes this entry from the registry and calls the SystemParametersInfo function with uiAction equal to SPI_SETSCREENSAVEACTIVE and uiParam equal to FALSE."

If you set the screensaver settings to "3D Text" and change it back later to "None", the "ScreenSaveActive" value in the registry is not set back to 0. It remains 1.

This behavior is not expected (as per documented). I have tried this on Windows XP and it works just fine.

Could anyone explain this behavior?

Thank you for your help.

Romain

Romain
  • 103
  • 2
  • 11
  • Are you doing this through code? If so, show us the code. If not, then you're off-topic for SO. – Damien_The_Unbeliever Jun 26 '13 at 10:24
  • Nowhere does that MSDN article talk about a registry key named "ScreenSaveActive". You must use SystemParametersInfo() with SPI_GETSCREENSAVEACTIVE to check if a screen saver is active. Note the GET. – Hans Passant Jun 26 '13 at 12:00
  • No I am not using code, just using the Windows UI. For the ScreenSaveActive documentation: http://technet.microsoft.com/en-us/library/cc978620.aspx – Romain Jun 26 '13 at 12:10

0 Answers0