?
Solved

Configure windows screensaver through the registry

Posted on 2006-11-29
2
Medium Priority
?
465 Views
Last Modified: 2010-04-18
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    
0
Comment
Question by:mrvan
2 Comments
 
LVL 10

Accepted Solution

by:
AndresM earned 1000 total points
ID: 18036075
try c:\\windows\\system32\\screen.scr
0
 

Author Comment

by:mrvan
ID: 18036292
Great. It worked!!! thanks for your help
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Learn about cloud computing and its benefits for small business owners.
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question