Home > Articles > Open Source > Ajax & JavaScript

Logon Scripts: Using KiXtart and.ini Files

Matthew Moran
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close WindowMatthew Moran

Matthew Moran

Learn more…

The IT Career Builder's Toolkit, Chapter 20: Make Yourself Indispensable
Feb 8, 2008
The IT Career Builder's Toolkit, Chapter 21: Concept Over Process
Feb 8, 2008
The IT Career Builder's Toolkit, Chapter 22: The Role of Mentoring
Feb 8, 2008
The IT Career Builder's Toolkit, Chapter 17: The Boundaries and Benefits of Working at Home
Feb 1, 2008
The IT Career Builder's Toolkit, Chapter 18: The Toolkit Approach to Consulting
Feb 1, 2008
The IT Career Builder's Toolkit, Chapter 19: The Move to Management
Feb 1, 2008
The IT Career Builder's Toolkit, Chapter 12: Building an Active Contact List
Jan 25, 2008
The IT Career Builder's Toolkit, Chapter 13: The Job Search
Jan 25, 2008
The IT Career Builder's Toolkit, Chapter 14: The Interview
Jan 25, 2008
The IT Career Builder's Toolkit, Chapter 15: Salary Negotiations and Employment Agreements
Jan 25, 2008
The IT Career Builder's Toolkit, Chapter 16: On-the-Job Promotion
Jan 25, 2008
The IT Career Builder's Toolkit, Chapter 10: The Résumé
Jan 18, 2008
The IT Career Builder's Toolkit, Chapter 5: Self-Assessment
Jan 18, 2008
The IT Career Builder's Toolkit, Chapter 6: Attitude
Jan 18, 2008
The IT Career Builder's Toolkit, Chapter 7: Communication Skills
Jan 18, 2008
The IT Career Builder's Toolkit, Chapter 8: Technical Skills
Jan 18, 2008
The IT Career Builder's Toolkit, Chapter 9: The Cover Letter
Jan 18, 2008
The IT Career Builder's Toolkit, Chapter 1: The Toolkit Approach to Career Development
Jan 11, 2008
The IT Career Builder's Toolkit, Chapter 2: Career Building Defined
Jan 11, 2008
The IT Career Builder's Toolkit, Chapter 3: Information Technology: A Great Career
Jan 11, 2008
The IT Career Builder's Toolkit, Chapter 4: Defining Yourself: Aptitudes and Desires
Jan 11, 2008
Throw Away the Resume!
Jul 28, 2006
Professional Networking Made Easy: Priming the Pump
Jul 21, 2006
The IT Career Builder's Toolkit, Chapter 11: Breaking into IT
Jan 21, 2005
Logon Scripts: Using KiXtart and.ini Files
Dec 19, 2003

Sorry, this author hasn't posted any blogs.

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.

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 user's Windows computer is 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. In this article, I'll show you an easy way to gain control of user logons with KiXtart, a free-format scripting language.

Advantages of Using KiXtart

Those who use logon scripts that are more advanced than the standard batch file are probably familiar with KiXtart, the "Careware" logon script processor developed by Microsoft's Ruud Van Velson. The utility has been around for several years, and has been a lifesaver for those who want more control over their scripting environment.

With the introduction of WSH, VBScript, ADSI, and other scripting technologies, many heralded the end of KiXtart's popularity. However, KiXtart remains popular today for a number of reasons.

First, it feels like a batch language. Many network administrators have neither the time nor desire to use VBScript, which looks and feels more like a programming language. Two, it has built-in functions for most logon script needs. KiXtart was built primarily to provide logon script control.

It works very well as a server or desktop batch script processor as well, but its functions lean heavily toward logon script needs. Functions such as ingroup() to determine group membership, addprinterconnection() to add printers, and other features come in handy during the logon process.

Although KiXtart logon script features can be emulated in VBScript, they are often much more complex for the same function. KiXtart is highly utilitarian in this regard.

This article discusses KiXtart's capability to read .ini files and how they can be used to create powerful and modular scripts. We will focus on the idea of drive mapping, a common use of batch scripting for the network administrator.

This article assumes some knowledge of KiXtart and batch scripting. Visit http://www.kixtart.org to download the latest version of KiXtart and its documentation. Additionally, numerous scripts and a discussion forum can be found there as well.

  • Share ThisShare This
  • Your Account

Discussions

Errors
Posted May 29, 2008 10:35 AM by blane110
0 Replies

Make a New Comment

You must log in in order to post a comment.

Related Resources

Danny KalevMinutes from the October 2009 Meeting
By Danny Kalev on November 19, 2009 No Comments

The minutes from the Santa Cruz (October 2009) meeting are available here. Even if you're not a language layer at heart, I encourage you to read them.

Danny KalevA Reader's Opinion on Attributes
By Danny Kalev on October 20, 2009 No Comments

In August I dedicated a series to the debate about C++0x attributes. I believe that it covered the subject in a balanced and detailed way, but I keep getting complaints from C++ users who don't like attributes for various reasons. Here's a recent email I received from a Polish C++ programmer. While it  doesn't represent my opinion about attributes -- I'm rather neutral about this feature and consider it a "solution waiting for a problem" -- but it suggests that attributes are still a highly controversial issue that will haunt C++ for a long time. The email is quoted here with minor edits that and as usual, with all private details removed.

Danny KalevFollowup: The Web 2.0 Guy I Ain't
By Danny Kalev on October 16, 2009 1 Comment

Almost a year ago, I posted here The Web 2.0 Guy I Ain't. People wonder whether I still resist all those Web 2.0 features and technologies at the end of 2009.

See All Related Blogs

Informit Network