|
|
|||||||
Hi everyone, I'm new in the whole scripting scene and i tried too install kixtart but the kix32.exe file just doesn't do anyting at all... Can any1 help me out a bit? Thx |
||||||||
|
|
|||||||
Well... Copy this to a file Code: If NOT @LOGONMODE Break On Else Break Off EndIf Dim $RC $RC=SetOption("Explicit", "On") $RC=SetOption("NoMacrosInStrings", "On") $RC=SetOption("NoVarsInStrings", "On") $RC=SetOption("WrapAtEOL", "On") $RC = MessageBox("Hello World","My First Script") ? "Hello World" ? "KiX version: " + @KiX and name it something like MyScript.kix Put kix32.exe in the same directory Run the following command in the directory Code: kix32 MyScript.kix |
||||||||
|
|
|||||||
That isn't possible because i haven't installed kix 32 yet... thats the problem.. The manual sais you should execute the exe to install but when I run it it just doesn't do anything... |
||||||||
|
|
|||||||
You can’t and do not have to install kixtart. Just copy the kix32.exe or wkix32.exe and run your script like shown below. You can write scripts in notepad, editplus, ASE, Kixtarter (do a search on kixtarter) or whatever editor you want. The advantage of kix aware editors is the syntax highlighting. Code: kix32 yourscript.kix or wkix32 yourscript.kix |
||||||||
|
|
|||||||
You do not really have to "install" kix. Just copy it where you need it. If you want to use kix for logon scripts, IIWY, I would just copy kix32.exe and/or wkix32.exe to the \\domain\netlogon share. If you still have Win9x computers (or older?) in your domain (which I hope you have not anymore), you should also copy the needed DLL files to the netlogon share and install kxrpc.exe on your domain controllers. |
||||||||
|
|
|||||||
Thx all of you, info really helped me! Greats Hannes |
||||||||
|
|
|||||||
Not wishing to hijack this thread but it is related. I am trying to upgrade to the latest version of Kix but I am having problems replacing kix32.exe. The file is in a folder within the netlogon share of our DCs. When I try to overwrite it with the latest version I get an error that the file is in use. I have waited until late in the day when no one will be logging in but the file is still locked. I am going to try bouncing the server to see if that helps. Anyone got any other ideas? |
||||||||
|
|
|||||||
Bouncing the server is one way. Look to see who has a lock on the file and clear the connection. Sometimes you can rename an in-use file even if you cannot delete it. You can then delete the renamed file at a later time. |
||||||||
|
|
|||||||
Thanks Les. You were right, someone did have the file locked. Clearing the connection did the trick. Thanks again. |
||||||||
|
|
|||||||
kix32.exe in use maybe shows that certain logon scripts "hang" or loop? Maybe check the scripts used for the user that locked the file. |