Changing the Background and Foreground Colors
Windows 2000/XP/2003 supports the color command to change the background and foreground in a shell prompt. The basic syntax of the color command is as follows: COLOR BF Here, B is the background color...
View ArticleSynchronizing the Local System Time
Synchronizing the local system to a central time source allows you to perform enterprise-wide tasks simultaneously. The basic syntax to synchronize the local clock with a specified time source is as...
View ArticleMapping Universal Drives
Mapping common drives for all users allows you to present a central resource location for applications or data. To map a network drive and display the status from the command prompt, proceed as...
View ArticleMapping Drives by Group
Mapping drives by group membership allows you to control which drives and resources will be available to which users. The resource kit utility IfMember allows you to determine a user’s group...
View ArticleMapping Printers Using Con2PRT
Mapping printers through a logon script provides an easy method to remotely update printer connections. Con2PRT (Connect To Port) is a Windows 2000 Resource Kit utility used to control printer...
View ArticleChecking for Remote Access
Determining whether a client is logging in through the network or remote access helps you specify which parts of the script to run. CheckRAS is a command-line, SMS resource kit utility to determine...
View ArticleDisplaying Time-Based Greetings
Although it’s not essential, many administrators like to display a greeting to the user depending on the time of day. To display a time-based greeting from the command line, proceed as follows: Create...
View ArticleUpdating McAfee Antivirus Files
To update your McAfee antivirus engine and/or signature files with shell scripting, proceed as follows: Create a new directory to store all files included in this example. Select Start|Run and enter...
View ArticleUpdating Norton Antivirus Files
To update your Norton antivirus files with shell scripting, proceed as follows: Create a new directory to store all files included in this example. Download the latest Intelligent Updater file from...
View ArticleHow to troubleshoot user logon issues?
User logon problems are sometimes hard to troubleshoot. Have you checked the Application log on the machine in question? There might be (most likely) some errors in there from source Userenv (ID’s...
View Article