ScreenSaverGracePeriod not working

In Windows XP there is a registry setting called ScreenSaverGracePeriod which lets you set a time period between the activation of the screensaver and locking of the screen. As as result, as soon as you see the screensaver being activated, you have X seconds to press a key or move the mouse in order to avoid having to log in again.

Unfortunately, this setting isn't working on my machine. I tried everything I could find on the net (setting the period as string or number), but it still does not work.

Could it be that some kind of security suite (Symantec) or anything else is blocking this feature?

PS: my problem isn't that the time period is wrong, but that there isn't a noticeable time period between the screensaver and locking the screen at all; it's not possible to avoid the locking of the screen.

Cheers, Ralf

Thanx for all your answers and help!

There wasn't enough time to solve the problem with your input (communication with our admins sin't too fast) within the period of the bounty. So I had to select one of your answers to be the final one. I've selcted Hugh's answer because I think he's spent most effort to help me.

I'll keep you updated!

Ralf

2

4 Answers

It sounds like you are a limited user not an administrator, in which case you won't be able to do anything about it anyway - certainly not write to the registry key you are talking about.

In case you are an administrator, does the top of your process tree look like this in Process Explorer?

alt text

I'm specifically interested in whether you have the standard Microsoft winlogon.exe. If so, do you perhaps have a custom GINA?

Finally, to make testing easier, here is a tiny program I wrote (660 bytes) which activates the screen saver as if the computer has been idle (as opposed to just running it as a normal program like the Display control panel does when you Preview a screen saver - which will not lock the screen). Admin privilege not required.

Try doing it using Microsoft PowerToys for Windows XP :

Open the program, browse to Logon -> Screen Saver, and then adjust the Grace Period (seconds).

If PowerToys can't do it, then something is seriously wrong with your computer.

3

The value needs to be a decimal

Click Decimal under the Base heading, and then enter a number in the Value data box that represents the password activation delay in seconds.

Source

If the value is set up correctly I can only suggest you run some experiments.

Setting it to something like 31 seconds and then when the screen saver kicks in wait 5 seconds and see if you can get in without being prompted for the password. Assuming that you can, keep doing this at 5 second intervals until it prompts you for the password.

I'm guessing that at around 25 seconds it'll prompt you for the password. I think that there's an "overhead" on this process that means that there is effectively a minimum value below which, no matter how quick you are, you don't have a grace period.

1

is this workstation a member of a domain? If so gpo's may be controlling the graceperiod.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like