Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Configuring Windows with the System Configuration Utility


Configuring Windows with the System Configuration Utility

By ghostghost | 4595 Reads |
0     0

Configuring Windows with the System Configuration Utility
Microsoft provides the System Configuration Utility to help you make controlled changes to the various configuration files described earlier in this chapter. To run the System Configuration Utility, choose Start | Run, type msconfig in the Open box, and click OK. You see the System Configuration Utility window
The System Configuration Utility window

The System Configuration Utility includes a tab for each configuration file, along with the Startup tab, which lists information from the Registry about programs to be run at startup time. Changes you make don't take effect until the next time Windows restarts, so when you close the System Configuration Utility, it asks whether you want to save the changes you've made; if you click Yes, it offers to reboot Windows for you.

Restarting Windows with Selected Startup Options

The General tab of the System Configuration Utility window can help you restart Windows in a startup mode that helps diagnose problems. The three startup items are as follows:

* Normal Startup The default mode. You\'ll not likely switch back to this if things are running smoothly.
* Diagnostic Startup Essentially the same as Safe Mode. This option limits loading device drivers and system services that may interfere with normal operation.
* Selective Startup Enables you to select which startup items to load. A good plan when you experience system instability is to turn all your startup items off, reboot, and then turn one on at a time. If that doesn\'t help, try different combinations. You\'d be surprised how much instability can come from a little icon like AOL or Palm Desktop in the notification area of the Windows taskbar. 

If you want to restart Windows and tell it to process only specific configuration files, click the Selective Startup setting on the General tab of the System Configuration Utility window and choose the files to process. When you click OK, Windows asks whether you want to reboot your computer. Click Yes. Windows restarts and processes only the files you specified. To save your changes without restarting Windows, click Apply (the changes to the files are saved, but don't go into effect until you reboot).

Replacing a Corrupted Windows File

Occasionally, one of the program files that make up Windows is deleted or corrupted (perhaps by a virus). The Expand File on the General tab of the System Configuration Utility window provides an easy way to extract a single file from the Windows XP CD-ROM (or any other CAB file) and replace it on your system. The program extracts a file from a CAB file (Windows Cabinet file, the format in which program files are stored on the Windows XP CD-ROM). You need to know which file is bad and which CAB file contains the replacement for the file.

If you know what file you want to replace and the location of the CAB file that contains a good copy, follow these steps:

  1. Click the Expand File button on the General tab of the System Configuration Utility window. You see the Expand One File From Installation Source dialog box, shown here:

  2. Click the Browse File button and navigate to the problem file. When you have it selected in the Open dialog, click OK.

  3. Click the Browse From button and select the CAB file on the CD-ROM that contains the file you want to replace.

  4. Click the Browse To button and navigate to the directory that the replacement file should be stored in.

  5. Click Expand.

The program doesn't give you any help in figuring out which CAB file on the Windows XP CD-ROM contains the file you need. Also, CAB filenames are not known for their readability. You may have quite a time locating something. Finally, there's no indicator that you have or have not successfully extracted the file. One way to know is to keep an Explorer window open on the desktop showing the contents of the folder into which you are storing the replacement file. If a file is added, it will appear in that folder within 30 seconds or so.

Changing Your System.ini and Win.ini Files
The System Configuration Utility window's System.ini tab, shown in Figure 37-2, and Win.ini tab (which looks similar) show a list of the sections in the System.ini and Win.ini files. To see the individual lines within a section, click the plus box to the left of the section name. To disable an entire section, deselect the check box to the left of the section name (or select it and click the Disable button). To disable an individual line, deselect the check box to its left (or select it and click the Enable button). If you want to add a new setting, select the line after which you want to add the setting and click the New button. The program adds a new blank line: type the contents (in the format parameter=value) and press ENTER You can also reorder the items by selecting them and clicking the Move Up and Move Down buttons.

Editing your System.ini file

Changing Your Boot.ini File

Windows XP, like Windows NT and Windows 2000 before it, was designed as a multiuser operating system. It was also designed to allow more than one operating system to be installed at a time on one computer. It is this capability you see when you start your computer and are asked whether you would like to boot Windows XP or another operating system in another partition (in some cases, whether or not you have another OS installed). This multiboot feature stores your list of bootable partitions in the Boot.ini file.

You can edit the Boot.ini file by clicking the Boot.ini tab in the System Configuration Utility window or by using the System Properties dialog box.

Changing Your Services and Startup Settings
The Services and Startup tabs in the System Configuration Utility window (Figure 37-3) shows the services and applications that run when Windows starts up, including the startup programs listed in the Registry and the programs in your StartUp folder (usually stored in the C:\documents And Settings\username\Start Menu\Programs\StartUp folder). You can disable loading a service or program at startup by deselecting its check box.
[figure]
Editing your Startup settings

note We strongly suggest that you avoid modifying the Services tab at all. When installed as a workstation or home system, most of these services are already disabled, so unchecking them results in no change of functionality anyway. The Startup tab, which lists application programs, is where you should concentrate your debugging efforts.

Changing Your Environment Settings

DOS and early versions of Windows used environment variables to store some settings. Environment variables can be changed while Windows is running by using the DOS SET command. When Window or a DOS VM start up, the variables must be initialized (that is, set to their initial values).

To see or set your environment variables, click Start, right-click My Computer, and select Properties from the shortcut menu. On the System Properties dialog box that appears, click the Advanced tab and then click the Environment Variables button. You see the Environment Variables dialog box (shown in Figure 37-4). The upper part of the dialog box shows user variables (which store information about the current user account). The lower part shows system variables (which ore information about Windows itself).

User and system environment variables

The two default user variables are TEMP and TMP. Both define where Windows stores its temporary files. The default system variables, which you should not remove or modify, are as follows:

* COMSPEC Location of the Command Prompt program (usually C:\\Windows\\System32\\Cmd.exe). See Chapter39 for how to use the Command Prompt program.
* NUMBER_OF_PROCESSORS For single-CPU computers, 1.
* OS The name of your OS. Though a bit odd for more than one reason, Windows XP\'s name appears as \"Windows_NT.\"
* PATH Where Windows looks for executable programs for launching applications from the command prompt (usually a list of pathnames including C:\\Windows\\System32 and C:\\Windows.
* PATHEXT Which extensions are recognized as executable when launching from the command prompt (usually a list of extensions including COM, BAT, CMD, VBS, VBE, JS, JSE, WSF, and WSH).
* PROCESSOR_ARCHITECTURE Usually \"x86\", the types of processors designed and sold by Intel.
* PROCESSOR_IDENTIFIER Description of your computer\'s CPU. Ours shows \"x86 Family 6 Model 8 Stepping 6, GenuineIntel\".
* PROCESSOR_LEVEL Stepping level in the PROCESSOR_IDENTIFIER.
* PROCESSOR_REVISION Revision number of the processor. Ours is \"0806.\"
* TEMP Where to store temporary files (usually \"C:\\Windows\\Temp\").
* TMP Where to store temporary files (usually \"C:\\Windows\\Temp\").
* WINDIR Location of the system directory (usually \"C:\\Windows\"). 

caution Do not remove or modify these system variables.

Changing Your International Settings

Most of the Windows international and regional settings appear in the Regional And Language Options dialog box. Set the Language box to the language of your choice–Windows updates the rest of the settings on the tab to match. Don't edit the individual settings unless you know what you are doing.

Comments
Sorry but there are no comments to display