caroline
(Fresh Scripter)
2005-04-04 02:52 PM
Group Policy

I need to change our screensaver via KIX. The screensaver is currently disabled via Gpedit. Does anyone know the registry key to renable the screensaver?

Les
(KiX Master)
2005-04-04 03:01 PM
Re: Group Policy

Why not just modify the GPO?

Richard H.Administrator
(KiX Supporter)
2005-04-04 03:25 PM
Re: Group Policy

Look in the template (ADM) file to find the specific registry key / value.

However if you are disabling it via GPO, isn't it simply going to get disabled again?


Les
(KiX Master)
2005-04-04 03:35 PM
Re: Group Policy

Is it the actual screensaver setting that is disabled or just the "Screen Saver" tab in "Properties" that is disabled?

caroline
(Fresh Scripter)
2005-04-04 03:44 PM
Re: Group Policy

I need to re-enable the screensaver and then change the text on the ssmarque.scr.
When i tried to write to the registry key , i relised that it was not present becuase we had disbale the screensaver tab via gpedit.msc.

Would you recommend re-enabling the screensaver through AD Group Policy and then write the changes to text via the kix?


caroline
(Fresh Scripter)
2005-04-04 03:45 PM
Re: Group Policy

It is just the screensave tab that is disabled. When you right click the desktop the only tab that shows is settings.

Radimus
(KiX Supporter)
2005-04-04 03:56 PM
Re: Group Policy

HKEY_CURRENT_USER\Control Panel\Desktop
SCRNSAVE.EXE="ssmarque.scr"
ScreenSaverIsSecure="1"

HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee
Text="Your text goes here."


caroline
(Fresh Scripter)
2005-04-04 04:17 PM
Re: Group Policy

This is what i am using but i am getting an error when i try to write to this key. Any ideas what i am doing wrong

$R = READVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text")
? $R
$a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","South Lanarkshire Leisure")
GET $X


Les
(KiX Master)
2005-04-04 04:30 PM
Re: Group Policy

$a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text","South Lanarkshire Leisure")

Radimus
(KiX Supporter)
2005-04-04 04:33 PM
Re: Group Policy

I prefer to include the type parameter...

$a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text","South Lanarkshire Leisure",REG_SZ)


caroline
(Fresh Scripter)
2005-04-04 04:39 PM
Re: Group Policy

Thanks everyone. It looks like I now have it working.
You may have guessed but i am new to KIx scripts.


Radimus
(KiX Supporter)
2005-04-04 04:42 PM
Re: Group Policy

that is fine... we all started at some point