Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unique settings for SSmarque

Status
Not open for further replies.

grebnetso

IS-IT--Management
Dec 15, 2005
76
US
I'm trying to setup a very basic marque message but have it go out to the whole domain. I can setup the SS executable in GP but how can I set it up with unique settings and then have them show up on the rest of the domain. Right now if I configure the marque on say my file server and then go and map the GPO to it I still get place your text here. Any help would be nice. Thanks.
 
the best I've been able to come up with is creating a *.reg file with the unique settings for both .default user and hkcurrent user that reflects the settings. Then have it pushed with the logon script. This will work for now but if someone else has a better idea I'd love to hear it.
 
Actually that is the best solution, however I set the registry settings via script rather than a reg file.

Code:
'==========================================================================
'
' NAME: SetMarqueeScrSettings.vbs
'
' AUTHOR: Mark D. MacLachlan , The Spider's Parlor
' URL: [URL unfurl="true"]http://www.thespidersparlor.com[/URL]
' DATE  : 8/11/2004
'
' COMMENT: <comment>
'
'==========================================================================
Dim path

Set WSHShell = Wscript.CreateObject("WScript.Shell")

'set the key path here.  IF you don't end with a '\' then WSH assumes you are pathing to a value. 
path = "HKCU\Control Panel\Screen Saver.Marquee\"


WSHShell.RegWrite path & "BackgroundColor","0 18 128","REG_SZ"
WSHShell.RegWrite path & "CharSet","0","REG_SZ"
WSHShell.RegWrite path & "Font","Tahoma","REG_SZ"
WSHShell.RegWrite path & "Mode","1","REG_SZ"
WSHShell.RegWrite path & "Size","24","REG_SZ"
WSHShell.RegWrite path & "Speed","14","REG_SZ"

' the next line contains the marquee text to display.
WSHShell.RegWrite path & "Text","your Message Goes Here!","REG_SZ"
WSHShell.RegWrite path & "TextColor","255 0 255","REG_SZ"
WSHShell.RegWrite path & "Attributes","00000","REG_SZ"

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top