Logon script (kixtart)
From espinola.net
This script is still being neutered and comment-documented for public posting. It has been taking longer than I thought to get the flow and style of these articles going. Life continues to interfere, but I am working on making these scripts public. I'm aiming for Jan/20.
On This Page |
Utilities used with this script
These utilities are required for certain parts of the scripts to perform the desired function.
- ROBOCOPY (freeware from Microsoft, as part of the Windows Server 2003 Resource Kit Tools)
- BGINFO (freeware from Microsoft, as part of the SysInternals Utilities)
- RICHPROFILE (freeware for individuals and educational institutes by Richard Coggins, as part of the Engineer's Toolbox on DesktopEngineer.com. Corporates have a 30 day evaluation period)
Requirements of this script
Although you can run this script individually with the proper command-line syntax of the Kixtart scripting environment, this script was designed to be used as a Domain logon script. It's design is applicable to versions of the Windows server operating systems from NT4 through 2003; executed as both user account or Group Policy scripts.
Primary Script
- kixtart.kix : Login script for users
Subscripts
- logthings.kix : Log various system and user information
- mapdrives.kix : Server drive mapping and manipulation
- maprinter.kix : Printer mapping and manipulation
- redirects.kix : Folder redirection and manipulation
- navupdate.kix : Update Norton/Symantec Antivirus config
- shortcuts.kix : Create/delete desktop and Start menu shortcuts
- syncstuff.kix : Synchronization script for backing up users data
- precursor.kix : Precursory login script for gathering system info and variables definitions
Performance
This script in its entirety is split into multiple subscripts - per groupings of desired functionality. Because of limitations in Kixtart, the precursor.kix variables file is individually loaded with each subscript. As a performance gain, it is possible to combine all the scripts into one script, thus only loading the precursor script once or embedding it all into a single script.
The performance difference is negligable on high-speed links, and I have always kept it as a set of subscripts without any issues. YMMV.
Example Usage
Each subscript as written and as presented in these articles has sectioned modules of its own. It should be safe pick and choose not only which subscripts to run with the primary logon script, but the individual section modules as well. Versatility is the main goal of these scripts.
- C:\Scripts> kixtart kixtart.kix
- C:\> \\server\netlogon\kixtart \\server\netlogon\kixtart.kix
- Most any type of Windows logon script