PDA

View Full Version : shortcut to activate screensaver



affan
01-27-2002, 08:40 AM
i want to create a shortcut which would activate the screensaver in Windows 2000 in password protected mode

tried creating a shortcut for the deafult screensaver but it doesn't ask for the password on deactivating it

thanks in advance

affan

<P ID="edit"><FONT class="small">Edited by affan on 01/27/02 02:41.</FONT></P>

POBrien
01-28-2002, 12:13 AM
It works. First I tried with the 3D flower box (open GL) and received an error message. So I figured you can't use an Open GL saver as a shortcut.

I set Scrolling Marquee as the saver then added the password check. I then set it for 1 minute. Next, I created a shortcut Scrolling Marquee.scr onto the desktop and executed it. It didn't work.

However, a few minutes later I tried again. This time I didn't check it for a few minutes. Then I moved the mouse and it worked.

I think what's going on is that the password logon dialog box doesn't kick in right away even though the screensaver does.

Upon further testing, I realized that the logon dialog box kicks in 2 minutes after the screensaver is active.

There's probably a tweak to narrow the times to match. If I find it I'll post back.

affan
01-28-2002, 06:02 AM
There is a reg key to modify the time between the screensaver activating and the pc locking -
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
create a key - ScreenSaverGracePeriod (type REG_SZ) and give it a value in secs (i'm using 30)

BUT
the pc doesn't lock if you activate the screensaver thru a shortcut. unless you wait for the period you have set for the screensaver to kick in automatically (1 min in your case, 10 in mine)

affan

POBrien
01-28-2002, 06:40 AM
Excellent. Thanks for posting back.