Configure windows screensaver through the registry

I am configuring my logon script to change the registry properties of the user’s screensaver. I want to set it up so that it automatically set the users screensaver and disable the option for him to change it.

My problem is that when I set the screensaver path in the registry, it does not want to accept a full path like c:\windows\system32\screen.scr

But when I change it to say only screen.scr, then it accepts it.

My registry file looks like this:

REGEDIT4
[HKEY_USERs\.default\Control Panel\Desktop]
"ScreenSaveTimeOut"="1000"
"ScreenSaveActive"="1"
"SCRNSAVE.EXE"="c:\windows\system32\screen.scr"    
"ScreenSaverIsSecure"=""


I have to set line 5 to "SCRNSAVE.EXE"="screen.scr" for it to actually amend the property. If I use the full path it ignores the command and just leaves the property as is.

I am writing this registry script for Windows XP and will include it in my logon script under Exchange 2003

Thank you for your time    
mrvanAsked:
Who is Participating?
 
AndresMConnect With a Mentor Commented:
try c:\\windows\\system32\\screen.scr
0
 
mrvanAuthor Commented:
Great. It worked!!! thanks for your help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.