Page 1 of 1 1
Topic Options
#137065 - 2005-04-04 02:52 PM Group Policy
caroline Offline
Fresh Scripter

Registered: 2005-04-01
Posts: 8
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?
Top
#137066 - 2005-04-04 03:01 PM Re: Group Policy
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Why not just modify the GPO?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#137067 - 2005-04-04 03:25 PM Re: Group Policy
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
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?

Top
#137068 - 2005-04-04 03:35 PM Re: Group Policy
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Is it the actual screensaver setting that is disabled or just the "Screen Saver" tab in "Properties" that is disabled?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#137069 - 2005-04-04 03:44 PM Re: Group Policy
caroline Offline
Fresh Scripter

Registered: 2005-04-01
Posts: 8
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?

Top
#137070 - 2005-04-04 03:45 PM Re: Group Policy
caroline Offline
Fresh Scripter

Registered: 2005-04-01
Posts: 8
It is just the screensave tab that is disabled. When you right click the desktop the only tab that shows is settings.
Top
#137071 - 2005-04-04 03:56 PM Re: Group Policy
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
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."
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#137072 - 2005-04-04 04:17 PM Re: Group Policy
caroline Offline
Fresh Scripter

Registered: 2005-04-01
Posts: 8
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

Top
#137073 - 2005-04-04 04:30 PM Re: Group Policy
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
$a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text","South Lanarkshire Leisure")
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#137074 - 2005-04-04 04:33 PM Re: Group Policy
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I prefer to include the type parameter...

$a = WRITEVALUE ("HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee","text","South Lanarkshire Leisure",REG_SZ)
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#137075 - 2005-04-04 04:39 PM Re: Group Policy
caroline Offline
Fresh Scripter

Registered: 2005-04-01
Posts: 8
Thanks everyone. It looks like I now have it working.
You may have guessed but i am new to KIx scripts.

Top
#137076 - 2005-04-04 04:42 PM Re: Group Policy
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
that is fine... we all started at some point
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.061 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org