Page 1 of 1 1
Topic Options
#157460 - 2006-02-19 10:46 PM wkix32 and kix32 when using writevalue
emw1972 Offline
Fresh Scripter

Registered: 2004-03-09
Posts: 26
Loc: Lincoln, Nebraska
I have the two lines of code, in a script, for setting the default IE home page on computers within our enterprise...

Code:
 
$ = WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main","Start Page","http://nko","REG_SZ")
$ = WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main","Default_Page_URL","http://nko","REG_SZ")



Why do these reghacks work when I execute the script with kix32, but it won't work if I use wkix32??

Just curious!!

Thank you!!!

Top
#157461 - 2006-02-19 10:57 PM Re: wkix32 and kix32 when using writevalue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If done during logon, it could simply be a matter of timing. KiX32 is supposed to be syncronous while WKiX23 is not.
Have you tested by putting just those two lines in a scriptlet and running them after logon?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#157462 - 2006-02-19 11:03 PM Re: wkix32 and kix32 when using writevalue
emw1972 Offline
Fresh Scripter

Registered: 2004-03-09
Posts: 26
Loc: Lincoln, Nebraska
Yes I did. I have two of them on my desktop; one using kix32 and the other using wkix32.

Rather odd, I would expect the same results.

Top
#157463 - 2006-02-19 11:15 PM Re: wkix32 and kix32 when using writevalue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Are you saying that a scrptlet run from your desktop after logon works different depending on whether KiX or WKiX runs it? Are you sure they are both running and that you don't have a problem with how you are launching it? Try tossing a marker in the script..
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#157464 - 2006-02-19 11:31 PM Re: wkix32 and kix32 when using writevalue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I cannot repro what you describe. What versions of KiX and WKiX?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

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
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.051 seconds in which 0.021 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