Home / Articles / Adobe Acrobat / Logon Scripts: Using KiXtart and.ini Files

Logon Scripts: Using KiXtart and.ini Files

Article Description

Anybody who manages user accounts knows the advantage of automating the task. The last thing you want to do is visit every desktop to ensure that the users' Windows computers are set up to work properly with your network. One common way to get around this is to use batch files and scripts to smooth the process. Matthew Moran shows you an easy way to gain control of user logons with Kixtart, a free-format scripting language.

Like this article? We recommend

Microsoft Windows Server 2003 Unleashed

Microsoft Windows Server 2003 Unleashed, 2nd Edition

$64.99

After you have established the folder and files listed above and have created your security groups, you're ready to test. Before we run the scripts, let's take a look at what we have created.

The two functions contained in the myfunctions.kix file are key to the effectiveness of this example. The first function, grouparray(), creates an array of all the security groups of the currently logged-on user.

The second function, groupmap(), searches for each security group and maps drives as specified in the drivemapping.ini file.

Each function is called from the drivemap.kix script file. We run this script by typing: kix32 drivemap.kix from a command prompt in the c:\kixwork folder.

4. How It Works | Next Section Previous Section