|
|
|||||||
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? |
||||||||
|
|
|||||||
Why not just modify the GPO? |
||||||||
|
|
|||||||
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? |
||||||||
|
|
|||||||
Is it the actual screensaver setting that is disabled or just the "Screen Saver" tab in "Properties" that is disabled? |
||||||||
|
|
|||||||
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? |
||||||||
|
|
|||||||
It is just the screensave tab that is disabled. When you right click the desktop the only tab that shows is settings. |
||||||||
|
|
|||||||
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." |
||||||||
|
|
|||||||
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 |
||||||||
|
|
|||||||
$a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text","South Lanarkshire Leisure") |
||||||||
|
|
|||||||
I prefer to include the type parameter... $a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text","South Lanarkshire Leisure",REG_SZ) |
||||||||
|
|
|||||||
Thanks everyone. It looks like I now have it working. You may have guessed but i am new to KIx scripts. |
||||||||
|
|
|||||||
that is fine... we all started at some point |