Scripts Thread, Kix Scripts in Coding and Web Development; Hi,
as im in a sharing mood, i've attached our kix scripts for all to see.
Backups.kix
This one maps ...
as im in a sharing mood, i've attached our kix scripts for all to see.
Backups.kix
This one maps the share that i backup a SQL database to every night and it retrieves the date and time of the database and puts a message to my screen. This is so i know it's backed up to disk.
Printers.kix
To use this script, i put "set area=ROOMNAME" without quotes in autoexec.bat and this script looks at this and then maps the printers accordingly.
Logoff.kix
this removes the mapped drives at log off and deletes the printers registry key. this is because the normal kix command to remove printers didn't seem reliable enough and this registry key gets recreated with no problem.
staff.kix
this maps shares based on group and calls printers.kix. certain groups have printers that go whereever they go to ensure they have a safe place to print.
Oh, and if anybodys interested, Application Deployment with Kix is great if you dont have active directory. (if your using samba). it also has some adm files coverted to nt4 style system policies to help control workstations.
What impact do you find Kix has on your logons? On our old computing network (NT4 Server & Workstations) they had used Kixtart as the entire logon script which set printers, drive mappings, etc. It also took well over a minute to log in.
When I moved the whole system to Windows 2000 I got rid of Kix entirely & did everything with vbscript. Login takes no more than five seconds now.
kix runs in seconds here. i use them here and in a previous post with no issues on speed. the average logon takes 30 seconds (roaming profiles)
if you're worried about speed, you could use a feature of the new version of kix, which is to pre-tokenise the scripts, this puts them in binary format ready for running and makes them slightly more secure as the eye cant read them.
[ps - we've mentioned kixtart scripts before tony - you only had to ask lol :P ....or did you? :S lol]
interestingly catbert, i notice when it gets to the part of the normal logon script when the kixtart script does its thing, i see various numbers as it maps/loads/installs the drivers
30secs -1 min i'd say with ours inc roaming profiles