Take the 2-minute tour ×

Possible Duplicate:
Start screen saver the moment I lock the computer on Win XP

can screensaver run when the computer is locked?

share|improve this question

migrated from stackoverflow.com Jan 12 '11 at 13:27

This question came from our site for professional and enthusiast programmers.

marked as duplicate by harrymc, Mokubai, Ivo Flipse Jan 12 '11 at 14:19


add comment

3 Answers

not sure you can change windows do to it but you could create a program that locks the computer and runs the screensaver?

To lock the computer:

System.Diagnostics.Process.Start("rundll32.exe user32.dll, LockWorkStation"); System.Diagnostics.Process.Start(@"c:\windows\System32\ribbons.scr");


share|improve this answer
add comment

The XP screensaver has the lock built in. http://kb.iu.edu/data/acdt.html

share|improve this answer
add comment

Make sure when you set your screensaver properties to display the logon screen on resume (at least I'm pretty sure that XP can do that).

share|improve this answer
add comment
