|
[Moderator (Sealeopard): Moved thread from 'Scripts' to 'General' forum due to lack of script in body]
I am making a logon script that will force the password-protected screen saver on and remove the Screen Saver tab from desktop properties in Windows 2000. The password-protected screen saver IS being forced on on all systems, but the tab removal is not.
I am finding that in some cases the key
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
does not exist. Attempts to add it with
ADDKEY ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System")
do not work. I have also tried
WRITEVALUE("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","NoDispScrSavPage","1","REG_DWORD")
but that doesn't work either. Can anyone tell me what I'm doing wrong here, please? [ 01. October 2003, 23:46: Message edited by: sealeopard ]
|