emw1972
(Fresh Scripter)
2006-02-19 10:46 PM
wkix32 and kix32 when using writevalue

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!!!


Les
(KiX Master)
2006-02-19 10:57 PM
Re: wkix32 and kix32 when using writevalue

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?


emw1972
(Fresh Scripter)
2006-02-19 11:03 PM
Re: wkix32 and kix32 when using writevalue

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.


Les
(KiX Master)
2006-02-19 11:15 PM
Re: wkix32 and kix32 when using writevalue

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..

Les
(KiX Master)
2006-02-19 11:31 PM
Re: wkix32 and kix32 when using writevalue

I cannot repro what you describe. What versions of KiX and WKiX?