Page 1 of 1 1
Topic Options
#169572 - 2006-10-18 04:03 PM scripting registry change help
razor1 Offline
Lurker

Registered: 2006-10-18
Posts: 1
Hi, Im new to kixtart and Im trying to script a registry change to make the clock show in the taskbar on a win2k3 terminal server for users. Im using kixtart 4.53 and I found a link on the net which Im using as a guide for making my change. The problem is that the line I put into the script isnt working and then it causes the rest of the script to not execute. Can someone help me out as to what Ive done wrong, thanks! Below is the line from the script that I have which isnt working:

;Registry changes
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2", "Settings", "28,00,00,00,ff,ff,ff,ff,02,00,00,00,03,00,00,00,3c,00,00,00,1e,00,00,00,fe,ff,ff,ff,e4,03,00,00,02,05,00,00,02,04,00,00", "REG_BINARY")

ENDIF

Top
#169573 - 2006-10-18 04:23 PM Re: scripting registry change help
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Check out the learning series where we just dealt with writing binary strings to the registry.
http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=168694&an=0&page=0#168694

But the primary thing is to get rid of the commas

Top
#169574 - 2006-10-18 04:23 PM Re: scripting registry change help
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Take out the commas.
Top
#169575 - 2006-10-18 04:54 PM Re: scripting registry change help
mima Offline
Hey THIS is FUN

Registered: 2002-01-25
Posts: 217
Loc: Jönköping, Sweden
I do like this when I want to show the clock on W2003 Terminal Server
Code:
 
; Show clock
WriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2", "Settings", "28000000FFFFFFFF06000000030000003c0000001E000000FEFFFFFFE40200000204000002030000", "REG_BINARY")



Top
#169576 - 2006-10-18 05:35 PM Re: scripting registry change help
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Can't this be done by GPO?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#169577 - 2006-10-18 06:10 PM Re: scripting registry change help
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Yes it can.
Top
#169578 - 2006-10-18 07:37 PM Re: scripting registry change help
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Mima,

Please remove the long line in your post.

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 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.067 seconds in which 0.036 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