The Foundation of Computer Operating System Software
What Does An Operating System Do?
Gives the user an interface by means of which they can enter commands to the computer.
The interface communicates with the computer’s hardware to execute those commands.
It offers commands for controlling disk and file management, device and memory management.
It provides a consistent environment for application software to execute.
A. Rather than having to execute devices and memory themselves, the application software simply request that the Operating System does it for them.
This results in a substantial savings on software overhead as much as the executable code is "shared" meaning it is used by multiple application programs.
C-DOS and MS-DOS were very similar, differing mainly in the fact that PC-DOS was specific to IBM and MS-DOS sold on clone microcomputers.
MS-DOS 1.0 had no provisions for networking, possessed no graphical shell program and had limited ability to manage system resources.
MS-DOS 1.1(minor revision) added support for a double-sided 320K floppy drive.
MS-DOS 1.25 was designed to be sold with "clone" non-IBM hardware.
MS-DOS 2.0 was a revision of the DOS operating system that had to be redone from the ground up. It closely fit the machine that it was built for and supported a 10MB hard drive and the new 360K floppy drive. It also introduced the hierarchical "tree" structure to the DOS file system. This version of DOS supported IBM PC XT introduced in 1983 which featured a 10MB hard drive, a serial interface and three additional expansion slots with 128KB RAM and a 360KB floppy drive (40KB more capacity than the single-sided floppy drives on the previous PC).
MS-DOS 3.0 released in the summer of 1984 included additional DOS features and supported more powerful hardware. DOS 3.0 supported hard drives larger than 10MB, and provided enhanced graphic format. Three revisions 3.1, 3.2, 3.3 provided additional innovations. 1. DOS 3.1 was notable because it featured the first DOS support for networking; 2. DOS 3.2 introduced the XCOPY command, enabling the user to identify more than one file at a time to be copied and made other modifications to the other DOS commands. It was the first version to support IBM’s Token Ring networking topology. It was the first version to allow for 720KB, 3.5" floppy drives.
MS-DOS 3.3, introduced in 1987, offered additional enhancements to numerous existing commands. (a). Introduced support for 1.44MB, 3.5" floppy disk drives, (b). logical partition sizes could be up to 32MB. (C). A single machine could support both a primary and secondary partition on each disk.
MS-DOS 4.0 provided users with a DOS shell, a utility much like Windows File Manager. Actually, DOS shell was simply a scaled down version of windows that allowed users to manage files, run programs and do routine maintenance all from a single screen. (B). The DOS shell even supported a mouse (There was no ability to use a mouse before this version of DOS).
MS-DOS 5.0 released in 1991 introduced several important features.
1. The ability to load drivers into reserved (upper) memory - a relief to those people who were constantly running out of conventional memory.
2. This feature allowed more complex DOS programs (that used more conventional memory) to be developed.
3. EDIT.COM - The ASCII text editor has since become one of the most popular text editors for simple text files ( and a welcomed relief from the single-line view of EDLIN.COM - previously the only choice for a text editor. In DOS 5 (and 6) MS-DOS included the program QBASIC.EXE which EDIT.COM required in order to run. QBASIC.EXE also allowed BASIC programs to be written and run.
4. DOSKEY.COM - when loaded, this utility allowed DOS macros to be programmed and executed. Additionally, this utility will store, in memory, the last few commands typed at the DOS prompt. You can press the up arrow to cycle through the last few commands.
Wednesday, August 29, 2007
Customization of DOS with CONFIG.SYS
Customizing DOS with CONFIG.SYS
Working With DOS System Files 5/5/03
CONFIG.SYS is a system file that is made to be changed. Commands and device drivers are located in the CONFIG.SYS file. CONFIG.SYS can be used for vital tasks such as memory management (arrangement of memory addresses used by DOS programs). Doublespace program can be included in the CONFIG.SYS, allowing the doubling of disk space through disk compression. There are also multi-configuration options available, which allow you to change your configuration at bootup depending on your needs. In the bootup process, CONFIG.SYS loads into memory prior to COMMAND.COM. To view its contents, you must first be in the root directory of your hard drive, which will be indicated by the C:\> prompt. Along side this prompt, type the following: EDIT CONFIG.SYS. In all likelyhood you will see something like this:
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
BUFFERS=23,0
FILES=30
DOS=UMB
LASTDRIVE=E
FCBS=4,0
Before editing the CONFIG.SYS file, it is a good idea to make a copy of it so you can restore its previous settings. This may be necessary in that it is possible to render your system non-functional through incorrect changes to the file. To make a copy, type the following: COPY CONFIG.SYS CONFIG.BAK. If you later need to restore the previous settings you can use the following commands in the following order:
1. RENAME CONFIG.SYS CONFIG.OLD
2. RENAME CONFIG.BAK CONFIG.SYS
These commands will replace the existing CONFIG.SYS with one that is known to work.
The following describes the most commonly used parameters for CONFIG.SYS and how they are used. The commands must follow a proper format, as shown in the command’s syntax.
FILES - The Files command describes how many file handles DOS can keep track of simultaneously. A file handle is simply another name for open file. If DOS discovers that a program exceeds this limit as it tries to open a file, DOS responds by saying there are too many files open. The highest number the system will allow is 255.
BUFFERS - The Buffers command determines the number of buffers that DOS creates, so it can store disk information in RAM rather than on disk. This will lessen the need for constantly accessing the hard drive, reducing the number of read and writes, and speeding up the overall operation of the computer. A windows-based computer should have a lower number of buffers.
DEVICE - Every device that is connected to a computer relies on a piece of software called a device driver, in order to communicate with the operating system
A.These drivers are sometimes included with DOS.
B. Drivers for those devices that are not included with DOS must have a pointer in the CONFIG.SYS file that directs DOS to the correct address for the driver.
1. The pointer is the DEVICE= command.
2. The DEVICE= command is executed through the CONFIG.SYS at bootup. DOS will find the driver and load it into memory.
3. The syntax for the DEVICE= command is:
DEVICE= [d:path] filename.
4. Many kinds of software require the use of device drivers, such as DOS own memory management program. The memory management drivers are HIMEM.SYS and EMM386.EXE. Other drivers include DOUBLESPACE.SYS, which is a device driver for DOS’ DOUBLESPACE disk compression program.
Memory Management involves loading portions of DOS or complete DOS program into areas of memory normally not accessible. This is an essential part of optimizing DOS for high performance, as it makes more memory available to other programs, including Windows. Some DOS programs require contiguous blocks of memory to run and using memory management may allow them to fit into memory. DOS is capable of working with 1,024KB of memory addresses under most circumstances.
A. DOS was originally designed to work with the Intel 8088 CPU that IBM picked out for the original PC back around 1980.
B. The 8088 could address 1,024KB of memory, which at the time was a colossal amount of memory.
C. These early programmers also had to decide how those 1,024KB of memory addresses would be used.
1. They decided that the first 640KB called conventional memory would be used for programs, data and the operating system itself.
a. Most programs written for DOS are designed to work within the first 640KB of memory which is sometimes called the 640K barrier.
2. The area between 640KB and 768KB is reserved for video memory.
3. The upper area from 768KB to 1,024KB (reserved memory or upper memory area) is reserved for ROMs on circuit board such as LAN cards or hard disk controller cards.
4. Originally, the programmers for DOS envisioned that this 640KB would be enough memory space to run any software built for DOS programs.
D. Memory above 1,024KB is called extended memory, and is used by Windows and windows-based programs.
E. Extended memory cannot be accessed unless the HIMEM.SYS memory manager is used.
F. The lowest 640KB of extended memory, from 1,024KB to 1,088KB is called the High Memory Area (HMA)
1. Portions of DOS can be loaded into this area using a memory manager.
HIMEM.SYS is the DOS memory manager that enables extended memory above 1,024K on your system, including the High Memory Area from 1,024KB to 1,088KB. Windows can’t load at all without HIMEM.SYS, and for this reason it automatically invokes it whether it is present or not in the CONFIG.SYS. The syntax for HIMEM.SYS is as follows:
DEVICE= [d:\path] HIMEM.SYS[switches]
Example:
DEVICE=C:\DOS\HIMEM.SYS /int15=1024
DOS=HIGH AND DOS=UMB
1. The DOS=HIGH command is used to load part of DOS into the HMA between 1,024KB and 1,088KB
2. The DOS=UMB command enables DOS to manage upper memory blocks (UMBs).
A. Upper memory blocks are the blocks of free memory in the upper memory area between 640KB and 1,024KB.
B. Using DOS=UMB will mean that DOS is empowered to load programs and device drivers into UMBs.
C. DOS=HIGH and DOS=UMB can be left as separate commands or combined into one statement. Example: DOS=HIGH,UMB
3. The DOS=HIGH command will not work unless HIMEM.SYS device driver is installed.
EMM386.EXE - The EMM#*^.EXE reserved memory manager provides DOS with the ability to utilize upper memory blocks (UMBs) to store programs and device drivers.
A. UMBs reside in the 640KB to 1,024KB region of memory.
B. The EMM386.EXE is also used to simulate expanded memory for DOS applications that utilize 386 enhanced mode.
The syntax for the command is:
DEVICE=[d:\path]EMM386.EXE[switches]
Example:
DEVICE=C:\DOS\EMM386.EXE_NOEMS_I=B000
-B7FF
C. EMM386.EXE comes with numerous optional switches.
D. NOEMS is a commonly used option for disabling expanded memory. The I= range and the X=range switches are commonly used both by MEMMAKER program and by anyone performing manual memory mapping of the system.
E. The EMM386.EXE driver is often used in conjunction with the DEVICEHIGH and LOADHIGH commands.
1. TheLOADHIGH command is loaded in the AUTOEXEC.BAT and is used to load an application program into upper memory block.
DEVICEHIGH - This command functions precisely as the device command, but with the following exception: It will load the device driver into upper memory blocks thereby freeing up space in conventional memory. If there is insufficient space in the UMB, DOS will load the device drivers into conventional memory. This command requires requires the EMM386.exe invocation to be place in the CONFIG.SYS. The syntax for the command is:
DEVICE=[D:\path]Filename
Example: DEVICE=C:\1srjt\sr.sys
OUTPUT OF MEM COMMAND IN DOS 6.22
Using MEM to verify memory usage
Type Total Used Free
Conventional 640K 44K 596K
Upper 0K 0K 0K
Reserved 384K 384K 0K
Extended 15,360K 2,240K 13,120K
------------ ------------- ----------- ------------
T Memory 16,384K 2,668K 13,716K
T Memory under 1MB 640K
T Expanded (EMS) 20M(20,463,616)bytes
F Expanded (EMS) 13M(13,434,880)bytes
Largest executable Program Size 596K(606,968)bytes
Largest Free Upper Memory Block 0K (0 bytes)
MS-DOS is resident in high memory area.
Working With DOS System Files 5/5/03
CONFIG.SYS is a system file that is made to be changed. Commands and device drivers are located in the CONFIG.SYS file. CONFIG.SYS can be used for vital tasks such as memory management (arrangement of memory addresses used by DOS programs). Doublespace program can be included in the CONFIG.SYS, allowing the doubling of disk space through disk compression. There are also multi-configuration options available, which allow you to change your configuration at bootup depending on your needs. In the bootup process, CONFIG.SYS loads into memory prior to COMMAND.COM. To view its contents, you must first be in the root directory of your hard drive, which will be indicated by the C:\> prompt. Along side this prompt, type the following: EDIT CONFIG.SYS. In all likelyhood you will see something like this:
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
BUFFERS=23,0
FILES=30
DOS=UMB
LASTDRIVE=E
FCBS=4,0
Before editing the CONFIG.SYS file, it is a good idea to make a copy of it so you can restore its previous settings. This may be necessary in that it is possible to render your system non-functional through incorrect changes to the file. To make a copy, type the following: COPY CONFIG.SYS CONFIG.BAK. If you later need to restore the previous settings you can use the following commands in the following order:
1. RENAME CONFIG.SYS CONFIG.OLD
2. RENAME CONFIG.BAK CONFIG.SYS
These commands will replace the existing CONFIG.SYS with one that is known to work.
The following describes the most commonly used parameters for CONFIG.SYS and how they are used. The commands must follow a proper format, as shown in the command’s syntax.
FILES - The Files command describes how many file handles DOS can keep track of simultaneously. A file handle is simply another name for open file. If DOS discovers that a program exceeds this limit as it tries to open a file, DOS responds by saying there are too many files open. The highest number the system will allow is 255.
BUFFERS - The Buffers command determines the number of buffers that DOS creates, so it can store disk information in RAM rather than on disk. This will lessen the need for constantly accessing the hard drive, reducing the number of read and writes, and speeding up the overall operation of the computer. A windows-based computer should have a lower number of buffers.
DEVICE - Every device that is connected to a computer relies on a piece of software called a device driver, in order to communicate with the operating system
A.These drivers are sometimes included with DOS.
B. Drivers for those devices that are not included with DOS must have a pointer in the CONFIG.SYS file that directs DOS to the correct address for the driver.
1. The pointer is the DEVICE= command.
2. The DEVICE= command is executed through the CONFIG.SYS at bootup. DOS will find the driver and load it into memory.
3. The syntax for the DEVICE= command is:
DEVICE= [d:path] filename.
4. Many kinds of software require the use of device drivers, such as DOS own memory management program. The memory management drivers are HIMEM.SYS and EMM386.EXE. Other drivers include DOUBLESPACE.SYS, which is a device driver for DOS’ DOUBLESPACE disk compression program.
Memory Management involves loading portions of DOS or complete DOS program into areas of memory normally not accessible. This is an essential part of optimizing DOS for high performance, as it makes more memory available to other programs, including Windows. Some DOS programs require contiguous blocks of memory to run and using memory management may allow them to fit into memory. DOS is capable of working with 1,024KB of memory addresses under most circumstances.
A. DOS was originally designed to work with the Intel 8088 CPU that IBM picked out for the original PC back around 1980.
B. The 8088 could address 1,024KB of memory, which at the time was a colossal amount of memory.
C. These early programmers also had to decide how those 1,024KB of memory addresses would be used.
1. They decided that the first 640KB called conventional memory would be used for programs, data and the operating system itself.
a. Most programs written for DOS are designed to work within the first 640KB of memory which is sometimes called the 640K barrier.
2. The area between 640KB and 768KB is reserved for video memory.
3. The upper area from 768KB to 1,024KB (reserved memory or upper memory area) is reserved for ROMs on circuit board such as LAN cards or hard disk controller cards.
4. Originally, the programmers for DOS envisioned that this 640KB would be enough memory space to run any software built for DOS programs.
D. Memory above 1,024KB is called extended memory, and is used by Windows and windows-based programs.
E. Extended memory cannot be accessed unless the HIMEM.SYS memory manager is used.
F. The lowest 640KB of extended memory, from 1,024KB to 1,088KB is called the High Memory Area (HMA)
1. Portions of DOS can be loaded into this area using a memory manager.
HIMEM.SYS is the DOS memory manager that enables extended memory above 1,024K on your system, including the High Memory Area from 1,024KB to 1,088KB. Windows can’t load at all without HIMEM.SYS, and for this reason it automatically invokes it whether it is present or not in the CONFIG.SYS. The syntax for HIMEM.SYS is as follows:
DEVICE= [d:\path] HIMEM.SYS[switches]
Example:
DEVICE=C:\DOS\HIMEM.SYS /int15=1024
DOS=HIGH AND DOS=UMB
1. The DOS=HIGH command is used to load part of DOS into the HMA between 1,024KB and 1,088KB
2. The DOS=UMB command enables DOS to manage upper memory blocks (UMBs).
A. Upper memory blocks are the blocks of free memory in the upper memory area between 640KB and 1,024KB.
B. Using DOS=UMB will mean that DOS is empowered to load programs and device drivers into UMBs.
C. DOS=HIGH and DOS=UMB can be left as separate commands or combined into one statement. Example: DOS=HIGH,UMB
3. The DOS=HIGH command will not work unless HIMEM.SYS device driver is installed.
EMM386.EXE - The EMM#*^.EXE reserved memory manager provides DOS with the ability to utilize upper memory blocks (UMBs) to store programs and device drivers.
A. UMBs reside in the 640KB to 1,024KB region of memory.
B. The EMM386.EXE is also used to simulate expanded memory for DOS applications that utilize 386 enhanced mode.
The syntax for the command is:
DEVICE=[d:\path]EMM386.EXE[switches]
Example:
DEVICE=C:\DOS\EMM386.EXE_NOEMS_I=B000
-B7FF
C. EMM386.EXE comes with numerous optional switches.
D. NOEMS is a commonly used option for disabling expanded memory. The I= range and the X=range switches are commonly used both by MEMMAKER program and by anyone performing manual memory mapping of the system.
E. The EMM386.EXE driver is often used in conjunction with the DEVICEHIGH and LOADHIGH commands.
1. TheLOADHIGH command is loaded in the AUTOEXEC.BAT and is used to load an application program into upper memory block.
DEVICEHIGH - This command functions precisely as the device command, but with the following exception: It will load the device driver into upper memory blocks thereby freeing up space in conventional memory. If there is insufficient space in the UMB, DOS will load the device drivers into conventional memory. This command requires requires the EMM386.exe invocation to be place in the CONFIG.SYS. The syntax for the command is:
DEVICE=[D:\path]Filename
Example: DEVICE=C:\1srjt\sr.sys
OUTPUT OF MEM COMMAND IN DOS 6.22
Using MEM to verify memory usage
Type Total Used Free
Conventional 640K 44K 596K
Upper 0K 0K 0K
Reserved 384K 384K 0K
Extended 15,360K 2,240K 13,120K
------------ ------------- ----------- ------------
T Memory 16,384K 2,668K 13,716K
T Memory under 1MB 640K
T Expanded (EMS) 20M(20,463,616)bytes
F Expanded (EMS) 13M(13,434,880)bytes
Largest executable Program Size 596K(606,968)bytes
Largest Free Upper Memory Block 0K (0 bytes)
MS-DOS is resident in high memory area.
DOS Boot Process
How Does My Computer Boot
DOS Boot Process 5/5/03
our computer goes through a series of test routines that are part of the BIOS (Basic Input/Output System) software. The test routines constitute the POST (Power On Self Test), which takes inventory of the system and test memory, ROMs, video, keyboard and other components of your computer. The BIOS software then gathers hardware configuration information from the computer’s CMOS chip before moving on to the next phase of the boot process, loading the operating system. Loading the operating system takes place in several steps:
1. The BIOS first looks for a bootable disk in drive A.
If there is a bootable disk in drive A, the BIOS looks on the 1st sector of the disk for the DOS Boot Record (DBR), and passes control to it.
If there is a non-bootable disk in drive A, it will display the following message "non-system disk or disk error. Replace and strike the key when ready."
2. If there is no bootable floppy in drive A, BIOS looks for and loads the Master Boot Record on the hard disk. The BIOS now passes control to the MBR. The MBR contains information on how the hard disk is divided into partitions, and it will run its Partition Table Program, which is designed to locate a bootable partition. Once found, it will load the 1st sector of the partition into memory, and it will pass control to whatever program is residing there - The DOS Boot Record, in this case. The MBR consists of 512 bytes on the first sector of the hard disk.
3. The DOS Boot Record (DBR), then looks for the two hidden system files, IO.SYS and MSDOS.SYS. When it finds them, the DBR passes control to the IO.SYS.
4. IO.SYS first tests itself to confirm that it is prpperly loaded into memory, then it checks the MSDOS.SYS with the same purpose in mind. IO.SYS contains a pointer to the CONFIG.SYS file. If all is well, IO.SYS begins processing the commands in CONFIG.SYS, in the order in which they are listed in the file.
5. IO.SYS also contains a pointer to COMMAND.COM, which must reside in the root directory.
A. Exception - When a SHELL statement in the CONFIG.SYS points IO.SYS to an alternate directory.
B. The version of COMMAND.COM must match the version of the two hidden DOS files, or an error will be displayed.
6. Atthis point COMMAND.COM runs the AUTOEXEC.BAT file. This completes the boot process.
DOS Boot Process 5/5/03
our computer goes through a series of test routines that are part of the BIOS (Basic Input/Output System) software. The test routines constitute the POST (Power On Self Test), which takes inventory of the system and test memory, ROMs, video, keyboard and other components of your computer. The BIOS software then gathers hardware configuration information from the computer’s CMOS chip before moving on to the next phase of the boot process, loading the operating system. Loading the operating system takes place in several steps:
1. The BIOS first looks for a bootable disk in drive A.
If there is a bootable disk in drive A, the BIOS looks on the 1st sector of the disk for the DOS Boot Record (DBR), and passes control to it.
If there is a non-bootable disk in drive A, it will display the following message "non-system disk or disk error. Replace and strike the key when ready."
2. If there is no bootable floppy in drive A, BIOS looks for and loads the Master Boot Record on the hard disk. The BIOS now passes control to the MBR. The MBR contains information on how the hard disk is divided into partitions, and it will run its Partition Table Program, which is designed to locate a bootable partition. Once found, it will load the 1st sector of the partition into memory, and it will pass control to whatever program is residing there - The DOS Boot Record, in this case. The MBR consists of 512 bytes on the first sector of the hard disk.
3. The DOS Boot Record (DBR), then looks for the two hidden system files, IO.SYS and MSDOS.SYS. When it finds them, the DBR passes control to the IO.SYS.
4. IO.SYS first tests itself to confirm that it is prpperly loaded into memory, then it checks the MSDOS.SYS with the same purpose in mind. IO.SYS contains a pointer to the CONFIG.SYS file. If all is well, IO.SYS begins processing the commands in CONFIG.SYS, in the order in which they are listed in the file.
5. IO.SYS also contains a pointer to COMMAND.COM, which must reside in the root directory.
A. Exception - When a SHELL statement in the CONFIG.SYS points IO.SYS to an alternate directory.
B. The version of COMMAND.COM must match the version of the two hidden DOS files, or an error will be displayed.
6. Atthis point COMMAND.COM runs the AUTOEXEC.BAT file. This completes the boot process.
Thursday, August 16, 2007
Dual Booting Windows 2000 and XP Professional
Double your pleasure: Dual booting Windows 2000 and XP Professional
by Steven Pittsley CNE Oct 22, 2001
Tags: Steven Pittsley CNE
Takeaway: Most IT environments call for multiple operating systems and dual booting is an excellent way to meet this need. Configuring your users' machines to dual boot has never been easier than with Microsoft's latest creations.Dual booting, in which one computer system can be used to run two operating systems, has been around for years. When computer systems were more expensive, such configurations proved invaluable to companies on tight budgets. Although computers are much less expensive today, a dual-boot configuration is still a viable alternative to purchasing multiple systems.I use dual-boot systems because it isn’t practical for me to have several workstations configured with different operating systems when I can do the same work with just one or two machines. Others, for example, mobile users, need to use multiple operating system environments on the road. Instead of carrying around two machines, they can use laptops configured with two or more operating system environments so the transition from one location to another is a smooth one.Using a dual-boot system is not any more complicated than using a machine configured with one operating system. The difference is that a boot manager controls the boot process of a dual-boot system. When the dual-boot system is powered on or reset, you are shown a menu that asks which operating system environment you would like to use. After you select an environment, the appropriate operating system is loaded, and you can use the computer as if that were the only environment installed. If you want to use the other operating system, you can simply reset the system and select the other environment from the boot menu.Configuring one computer to run both Windows 2000 and XP will provide you with the familiarity of 2000 while allowing you to test the new features of XP. This Daily Drill Down will show you how easy it is to configure a computer to run both of these operating systems.Preparing the systemWhen configuring a dual-boot system, the first thing to do is to decide whether to store each operating system on its own physical hard drive or to create partitions for each drive. I prefer to use a separate hard drive for each operating system whenever possible because if one of the drives fails, I only need to restore that one. This is a personal preference, and you can use logical partitions to get the same results, if you wish.After deciding how to configure the hard drives, you must create a bootable partition and install an operating system on the C: drive. Because Windows 2000 Professional and Windows XP Professional support the FAT16, FAT32, and NTFS file systems, you should elect to use the same file system for both environments to eliminate compatibility issues. For this example, I chose NTFS for both environments.If your dual-boot system will use only Windows-based operating systems, you should install the older operating system first. Because this Daily Drill Down illustrates a dual-boot configuration with Windows 2000 Professional and Windows XP Professional, I installed Windows 2000 Professional on the C: drive.Installing Windows XP ProfessionalAfter installing Windows 2000 Professional and ensuring that it is working correctly, the next step is to back up the drive. In addition, you should ensure that you have a Windows 2000 Emergency Repair Disk and a set of Startup disks. These tools will be handy if your dual-boot installation goes awry.
To begin the dual-boot configuration, boot the system to Windows 2000 Professional, insert the Windows XP installation CD, and click the Install Windows XP option, as shown in Figure A.
Select the New Installation (Advanced) option, as shown in Figure B, and click Next to begin the installation.
Specify the installation location.The next couple of screens are pretty standard for software and operating system installations. You’ll be asked to read and accept the license agreement and enter the product key. Then you can get down to business and select the options that will be used to install Windows XP. As shown in Figure C, the Windows Setup screen lets you specify the location to copy and install the files and select any Accessibility Options and the language that will be used. Click on the Advanced Options button, which will display the Advanced Options dialog box.
Unless the default settings are incorrect or you have a specific reason to change them, they should be used.As illustrated in Figure D, the Advanced Options dialog box gives you the option of specifying the location of the installation files and the folder where Windows XP will be installed. You must choose the installation drive letter and partition during setup. Then click OK and make further selections from the Accessibility Options dialog box or choose the primary language. Click Next to continue the installation.
The next task is to select the file system that will be used for the new partition or drive. In this example, I used the NTFS file system; you could also use the FAT16 or the FAT32 file system. If you have decided to use NTFS, select the Yes, Upgrade My Drive radio button to upgrade the file system to NTFS on the drive where Windows XP will be installed, as illustrated in Figure E. If you don’t want to upgrade to NTFS, choose the No, Skip This Step radio button. Click Next to continue the installation.
Your connection to the Internet should already be configured by this time.The next screen (see Figure F) asks whether or not you want to download any files that may have been updated since your version of Windows XP was shipped. Choosing to download the files is entirely up to you and should not have any bearing on the outcome of installing Windows XP in a dual-boot configuration. For this example, I chose to download the updated files.Click Next; a short file copy will occur, and the computer will be rebooted. The system will boot from the Windows XP installation CD, but you will also see the new multiboot menu for the first time. During this reboot, let the system boot to Windows XP, which is the default choice that is selected as part of the installation routine.Finishing touchesAt this point, the installation routine moves from the GUI interface to the familiar text-based blue screen from Windows NT and Windows 2000. The first screen asks whether you want to set up Windows XP, repair a Windows XP installation, or quit the setup routine. To install Windows XP, press [Enter].You’ll be presented with the screen that allows you to select the partition or drive where Windows XP will be installed. You can also create or delete partitions. The choices you make will depend on the type of configuration you have decided to use. For this example, I chose to create a single partition on a second hard drive that was installed in my system.After configuring the partitions and drives, you’ll be asked on the subsequent screen to highlight a partition on which you want to install Windows XP and press [Enter]. Next, you’ll be asked to select the appropriate file system that will be used to format the partition. I chose NTFS. After the file system is selected, the partition will be formatted automatically.After the formatting is complete, the Windows XP installation routine will perform a file copy and reboot the computer system. Once again, the system will boot from the installation CD-ROM, and the Windows XP process will continue by actually placing the operating system in the installation folder. This process can take quite some time. Everything is done automatically; all you’ll do is sit back and watch. Once the file copy has been completed, you can change the Regional and Language Options. You’ll also be asked to enter your name and the name of your organization.The subsequent dialog box displays a suggested computer name and asks you to enter and confirm the password for the Administrator user. If your computer is used to access a Windows 2000 domain, you must use a different computer name for the Windows XP installation than you did for the Windows 2000 installation. Each computer in the domain must have a unique security identifier (SID), which requires a unique computer name. An easy way to do this is to add -XP to the end of the computer name that is being used for the Windows 2000 installation, creating a name like XYZ01-XP.The next screen asks you to verify that the date, time, and time zone are correct. After you complete this step, the installation routine will install the network adapter and its components. The final step in this process lets you select the automatically configured typical network settings or the manually selected custom network settings. Then the final file copy and installation steps will begin. This process can take quite awhile, depending on your computer system. In the end, the computer will be rebooted and you will be able to boot from the new multiboot menu where you can select either Windows XP Professional or Windows 2000 Professional.After you boot to both Windows XP and Windows 2000, using the boot menu to ensure that they are working correctly, it would be a good idea to back up both of the drives or partitions. With this backup and the backups you made prior to configuring the system as a dual-boot system, you will be able to restore the system to either the state it was in before or after the upgrade.ConclusionConfiguring your computer system with Windows 2000 and XP in a dual-boot environment is fairly straightforward. The software has evolved to the point where the second installation will recognize that the computer is being configured in dual-boot mode and will set up the boot menu automatically. In fact, adding a third or fourth operating system to the computer system can be done without much more difficulty.If you want to experiment with a dual-boot system, give it a try. The configuration has never been easier, and using both operating systems on the same computer will provide you with more options than you would have on a traditionally configured system.
by Steven Pittsley CNE Oct 22, 2001
Tags: Steven Pittsley CNE
Takeaway: Most IT environments call for multiple operating systems and dual booting is an excellent way to meet this need. Configuring your users' machines to dual boot has never been easier than with Microsoft's latest creations.Dual booting, in which one computer system can be used to run two operating systems, has been around for years. When computer systems were more expensive, such configurations proved invaluable to companies on tight budgets. Although computers are much less expensive today, a dual-boot configuration is still a viable alternative to purchasing multiple systems.I use dual-boot systems because it isn’t practical for me to have several workstations configured with different operating systems when I can do the same work with just one or two machines. Others, for example, mobile users, need to use multiple operating system environments on the road. Instead of carrying around two machines, they can use laptops configured with two or more operating system environments so the transition from one location to another is a smooth one.Using a dual-boot system is not any more complicated than using a machine configured with one operating system. The difference is that a boot manager controls the boot process of a dual-boot system. When the dual-boot system is powered on or reset, you are shown a menu that asks which operating system environment you would like to use. After you select an environment, the appropriate operating system is loaded, and you can use the computer as if that were the only environment installed. If you want to use the other operating system, you can simply reset the system and select the other environment from the boot menu.Configuring one computer to run both Windows 2000 and XP will provide you with the familiarity of 2000 while allowing you to test the new features of XP. This Daily Drill Down will show you how easy it is to configure a computer to run both of these operating systems.Preparing the systemWhen configuring a dual-boot system, the first thing to do is to decide whether to store each operating system on its own physical hard drive or to create partitions for each drive. I prefer to use a separate hard drive for each operating system whenever possible because if one of the drives fails, I only need to restore that one. This is a personal preference, and you can use logical partitions to get the same results, if you wish.After deciding how to configure the hard drives, you must create a bootable partition and install an operating system on the C: drive. Because Windows 2000 Professional and Windows XP Professional support the FAT16, FAT32, and NTFS file systems, you should elect to use the same file system for both environments to eliminate compatibility issues. For this example, I chose NTFS for both environments.If your dual-boot system will use only Windows-based operating systems, you should install the older operating system first. Because this Daily Drill Down illustrates a dual-boot configuration with Windows 2000 Professional and Windows XP Professional, I installed Windows 2000 Professional on the C: drive.Installing Windows XP ProfessionalAfter installing Windows 2000 Professional and ensuring that it is working correctly, the next step is to back up the drive. In addition, you should ensure that you have a Windows 2000 Emergency Repair Disk and a set of Startup disks. These tools will be handy if your dual-boot installation goes awry.
To begin the dual-boot configuration, boot the system to Windows 2000 Professional, insert the Windows XP installation CD, and click the Install Windows XP option, as shown in Figure A.
Select the New Installation (Advanced) option, as shown in Figure B, and click Next to begin the installation.
Specify the installation location.The next couple of screens are pretty standard for software and operating system installations. You’ll be asked to read and accept the license agreement and enter the product key. Then you can get down to business and select the options that will be used to install Windows XP. As shown in Figure C, the Windows Setup screen lets you specify the location to copy and install the files and select any Accessibility Options and the language that will be used. Click on the Advanced Options button, which will display the Advanced Options dialog box.
Unless the default settings are incorrect or you have a specific reason to change them, they should be used.As illustrated in Figure D, the Advanced Options dialog box gives you the option of specifying the location of the installation files and the folder where Windows XP will be installed. You must choose the installation drive letter and partition during setup. Then click OK and make further selections from the Accessibility Options dialog box or choose the primary language. Click Next to continue the installation.
The next task is to select the file system that will be used for the new partition or drive. In this example, I used the NTFS file system; you could also use the FAT16 or the FAT32 file system. If you have decided to use NTFS, select the Yes, Upgrade My Drive radio button to upgrade the file system to NTFS on the drive where Windows XP will be installed, as illustrated in Figure E. If you don’t want to upgrade to NTFS, choose the No, Skip This Step radio button. Click Next to continue the installation.
Your connection to the Internet should already be configured by this time.The next screen (see Figure F) asks whether or not you want to download any files that may have been updated since your version of Windows XP was shipped. Choosing to download the files is entirely up to you and should not have any bearing on the outcome of installing Windows XP in a dual-boot configuration. For this example, I chose to download the updated files.Click Next; a short file copy will occur, and the computer will be rebooted. The system will boot from the Windows XP installation CD, but you will also see the new multiboot menu for the first time. During this reboot, let the system boot to Windows XP, which is the default choice that is selected as part of the installation routine.Finishing touchesAt this point, the installation routine moves from the GUI interface to the familiar text-based blue screen from Windows NT and Windows 2000. The first screen asks whether you want to set up Windows XP, repair a Windows XP installation, or quit the setup routine. To install Windows XP, press [Enter].You’ll be presented with the screen that allows you to select the partition or drive where Windows XP will be installed. You can also create or delete partitions. The choices you make will depend on the type of configuration you have decided to use. For this example, I chose to create a single partition on a second hard drive that was installed in my system.After configuring the partitions and drives, you’ll be asked on the subsequent screen to highlight a partition on which you want to install Windows XP and press [Enter]. Next, you’ll be asked to select the appropriate file system that will be used to format the partition. I chose NTFS. After the file system is selected, the partition will be formatted automatically.After the formatting is complete, the Windows XP installation routine will perform a file copy and reboot the computer system. Once again, the system will boot from the installation CD-ROM, and the Windows XP process will continue by actually placing the operating system in the installation folder. This process can take quite some time. Everything is done automatically; all you’ll do is sit back and watch. Once the file copy has been completed, you can change the Regional and Language Options. You’ll also be asked to enter your name and the name of your organization.The subsequent dialog box displays a suggested computer name and asks you to enter and confirm the password for the Administrator user. If your computer is used to access a Windows 2000 domain, you must use a different computer name for the Windows XP installation than you did for the Windows 2000 installation. Each computer in the domain must have a unique security identifier (SID), which requires a unique computer name. An easy way to do this is to add -XP to the end of the computer name that is being used for the Windows 2000 installation, creating a name like XYZ01-XP.The next screen asks you to verify that the date, time, and time zone are correct. After you complete this step, the installation routine will install the network adapter and its components. The final step in this process lets you select the automatically configured typical network settings or the manually selected custom network settings. Then the final file copy and installation steps will begin. This process can take quite awhile, depending on your computer system. In the end, the computer will be rebooted and you will be able to boot from the new multiboot menu where you can select either Windows XP Professional or Windows 2000 Professional.After you boot to both Windows XP and Windows 2000, using the boot menu to ensure that they are working correctly, it would be a good idea to back up both of the drives or partitions. With this backup and the backups you made prior to configuring the system as a dual-boot system, you will be able to restore the system to either the state it was in before or after the upgrade.ConclusionConfiguring your computer system with Windows 2000 and XP in a dual-boot environment is fairly straightforward. The software has evolved to the point where the second installation will recognize that the computer is being configured in dual-boot mode and will set up the boot menu automatically. In fact, adding a third or fourth operating system to the computer system can be done without much more difficulty.If you want to experiment with a dual-boot system, give it a try. The configuration has never been easier, and using both operating systems on the same computer will provide you with more options than you would have on a traditionally configured system.
Saturday, August 4, 2007
Installing a Windows Desktop Operating System
Chapter 1 Installing a Windows Desktop Operating System
MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER:
Perform and troubleshoot an attended installation of a
Windows XP operating system.
Answer end-user questions related to performing an
attended installation of a Windows XP operating system.
Troubleshoot and complete installations in which an
installation does not start. Tasks include configuring the
device boot order and ascertaining probable cause of
the failure to start.
Troubleshoot and complete installations in which an
installation fails to complete. Tasks include reviewing
setup log files and providing needed files.
Perform postinstallation configuration. Tasks include
customizing installations for individual users and
applying service packs.
Perform and troubleshoot an unattended installation of a
Windows desktop operating system.
Answer end-user questions related to performing an
unattended installation of a Windows XP operating
system. Tasks include starting an installation, answering
questions asked by an end user during an installation,
and performing postinstallation tasks.
Configure a PC to boot to a network device and start
installation of a Windows XP operating system. Tasks
include configuring PXE-compliant network cards.
Perform an installation by using unattended
installation files.
Reproduced from the book MCDST: Microsoft Certified Desktop Support
Technician Study Guide: Exams 70-271 and 70-272. Copyrightã 2004,
Sybex. Reproduced by permission of Sybex,. 111 River Street, Hoboken,
NJ 07030-5774. Written permission from Sybex is required for all other uses
Upgrade from a previous version of Windows.
Answer end-user questions related to upgrading from
a previous version of Windows. Considerations include
available upgrade paths and methods for transferring
user state data.
Verify hardware compatibility for upgrade.
Considerations include minimum hardware and system resource
requirements. Verify application compatibility for upgrade. Tasks include ascertaining which applications can and cannot run, and using the application compatibility tools. Migrate user state data from an existing PC to a new PC. Install a second instance of an operating system on a
computer.
A desktop support technician must have expert knowledge of the hardware and software components involved in installing an operating system and of how they work together at each stage of the installation process. This is because understanding how an operating system is installed is the first step toward understanding how to troubleshoot a failed installation. Your ability to quickly troubleshoot and repair a failed installation will be a key to keeping your customer (the end user) productive and happy.
In this chapter, we will discuss the major types of operating system installations, the components involved in each of them, and how to quickly troubleshoot and repair a failed installation.
There are four main types of operating system installations:
Attended
An attended installation consists of a user or an administrator acquiring the operating
system software from a CD/DVD or a shared network source and beginning the installation.
In this case, the user or administrator monitors the entire installation, answering questions
and filling in information where appropriate. This is sometimes referred to as “baby-sitting” the
installation. This method takes a tremendous amount of time and may not be the best alternative when many installations must be performed.
Unattended
One type of unattended installation makes use of special files called answer files and
uniqueness database files to automate the installation of the operating system. Although it
takes time and effort to create these files, it’s well worth it in the long run if you are installing
an operating system on many computers. This method not only saves time but can also increase
the consistency of the options and settings that are applied to the computers, since the answer
file provides the answers to each of the computers. The relationship of the answer files to the
uniqueness database files is a key element in this type of installation.
Another type of unattended installation uses a Remote Installation Services (RIS)
server that is installed and configured by the network administrator. With a properly configured RIS server, you can install new client operating systems through the network with the push of a button.
Upgrade
An upgrade installation is performed on a computer that currently has a Windows
operating system installed and functional. The purpose of the upgrade is generally to take
advantage of new features and functionality that the newer operating system offers by replacing
the older operating system with the newer one. A chief concern in an upgrade installation is the
compatibility of the current hardware and application software with the proposed new operating system. Users are also primarily concerned that their settings and documents will be left
intact. One disadvantage of an upgrade versus a new installation is that an upgrade might inadvertently bring in software bugs that would have been fixed completely with a new installation. You should consider this issue when you are deciding whether to upgrade or perform a complete new installation.
Chapter 1 Installing a Windows Desktop Operating System
Multiboot
Like an upgrade, a multiboot installation is also performed on a computer that
currently has a Windows operating system installed and functional. The difference between a
multiboot and an upgrade is that the purpose of multiboot installation is to create other functional Windows operating systems on the same computer. Once a multiboot installation is successfully performed, a user will be able to choose which operating system to boot to at startup. The keys to creating a successful multiboot installation are the order in which the operating systems are installed and the capability to install the second operating system without disturbing the first operating system.
The rest of this chapter discusses the procedures and components involved with each major
type of installation and their relation to troubleshooting a failed installation.
Performing and Troubleshooting an Attended Installation of Windows XP
A successful installation of Windows XP requires some upfront planning and preparation.
When you are responsible for troubleshooting a failed installation, it is essential that you know
what should have been done to prepare for the installation. By knowing what should have been
done, you can ask the right questions to determine the problem. You can then isolate what needs to be done to provide a solution. The steps involved in a successful installation of Windows XP are discussed in the following sections.
Verifying that Hardware Meets the Minimum Requirements
Before you begin an installation of Windows XP, you should ensure that the computer on which
you are installing the operating system meets at least the minimum requirements for the installation.
You should also be aware that the minimum requirements will ensure only that the operating
system will function, not that it will function with acceptable speed. In addition, you
should realize that the minimum hard drive requirements are only for the operating system to
run efficiently and do not include the space to contain applications. The following list represents
the minimum hardware specifications from Microsoft’s website:
233-MHz processor from the Pentium/Celeron family or the AMD K6/Athlon/Duron family
64 MB of RAM
1.5 GB of available hard disk space
Super VGA (800×600) resolution
CD-ROM or DVD drive
Keyboard and Microsoft mouse or compatible pointing device
Performing and Troubleshooting an Attended Installation of Windows XP
Checking Hardware and Software Compatibility
Just because a computer meets the minimum hardware requirements does not mean that all of the hardware and software on the computer is compatible with the Windows XP operating system. You should ensure that all of hardware is compatible prior to installing the operating system. You can ensure that the hardware is compatible using the following methods.
Use the Windows XP CD to Check System Compatibility.
You can verify a computer’s compatibility with Windows XP just prior to installing the operating
system using the Windows XP operating system installation CD. It is not necessary to have
any operating system installed on the computer to check the system compatibility. You should
have a hard drive installed and formatted with at least one partition. Exercise 1.1 outlines the
steps that you can use to check a computer’s compatibility with the Windows XP operating system before continuing to install the operating system. Later in this chapter, we will discuss the preparation steps that you might take prior to installing the operating system and what you
might do with a failed installation. For this exercise, we are just letting the operating system
examine the computer prior to installing the software normally. You can use a Windows XP
Home Edition or Windows XP Professional CD for this exercise. If you encounter any errors
during the installation, then read further into this chapter to get clues about troubleshooting
your own system.
Check the Windows Catalog on the Web
You can use the Windows Catalog located on the Web at
www.microsoft.com/windows/catalog
to find hardware and software that is designed to work with the Windows XP operating system. The EXERCISE 1.1
1. Using the Windows XP CD to Check System Compatibility
2. Set the boot order in the computer’s BIOS settings to recognize the CD-ROM drive before
the hard drives.
3. Insert the Windows XP CD into the CD-ROM drive.
4. Restart the computer.
5. When the screen says “Press any key to boot to the CD,” press a key.
6. The computer will then copy files from the CD-ROM to the hard drive and examine the configuration of the computer. At this point, you will be informed if any hardware fails the
7. compatibility test.
8. If all of your hardware is compatible, then you can then proceed with the installation of the
operating system.
Chapter 1
Installing a Windows Desktop Operating System
Windows Catalog is shown in Figures 1.1 and 1.2. It contains hardware and software in two main
categories as follows:
Designed for Windows XP
Compatible with Windows XP
FIGURE 1 . 1
The Windows Catalog Home Page
FIGURE 1 . 2
Designed for Windows XP vs. Compatible with Windows XP
Performing and Troubleshooting an Attended Installation of Windows XP
9. Hardware and software that carries the Designed for Windows XP logo is specifically
designed for use with Windows XP. The use of this hardware and software will reduce the number of problems and frustrations associated with using the Windows XP product. If your hardware or software is listed as Compatible with Windows XP, then it has not met all of the
requirements of the Windows Logo Program but it has been deemed compatible by Microsoft
and/or the manufacturer of the software. If your hardware or software is not listed, this does not always mean that it will not work with Windows XP. In this case, you should check with the manufacturer of the hardware or software to determine compatibility.
Preparing the BIOS
The basic input/output system (BIOS) of a computer is the most basic intelligence of a computer. The BIOS is a set of software that tests hardware at startup, starts the operating system, and supports the transfer of data among hardware devices, including date and time. If a BIOS is out of date for the software and hardware installed on the computer, it can cause problems with power management, peripheral configuration, disk partitioning, and other crucial functions. You should check with the computer or motherboard manufacturer to determine whether a BIOS update is available. You can often download a BIOS update and perform an electronic flash to update the BIOS of a computer. You should carefully follow the instructions provided by the manufacturer when updating a computer’s BIOS.
Obtaining Driver Updates
Drivers are software the allow hardware to communicate with the operating system. Because of
this, drivers are usually very specific to an operating system. You should therefore make sure
that you have obtained the necessary drivers for the hardware that is installed on your computer prior to installing the operating system. If your computer is equipped with
Plug and Play (which most new computers are), then it will ask for the drivers at the end portion of the setup. The Windows XP CD contains a cache of drivers that includes many of the most common drivers for network interface cards, video cards, sound cards, and other computer hardware. You can also obtain drivers from the website of the manufacturer of the hardware.
Preparing the Hard Disk for Installation
Since the operating system will be installed on a hard disk, its important to understand the organization of a hard disk in a computer and the file systems from which you can choose. You
should also be familiar with the tools that you can use to prepare the hard disk for installation
and begin to install the system. In this section, we will discuss the key terms relating to hard
disks, the tools used to prepare the installation, and the order of their use.
10 Chapter 1, Installing a Windows Desktop Operating System Partitions
When you purchase a new hard disk or buy a computer without an operating system installed,
the only formatting on the hard disk is a low-level format from the factory. This low-level format is the basis on which you can begin to build a working hard disk and install an operating
system. The first step that you should take to begin to prepare a hard disk is to partition
the hard disk. Partitioning the disk is logically setting aside a portion of the disk. A partition is sometimes referred to as a volume , but a partition is one area limited to one physical hard disk, whereasa volume can contain multiple partitions on the same disk or even on multiple disks.
There are three critical partition types of which you should be aware as a desktop support
technician.
Active Partition
The active partition on a disk is the partition from which an x86-based computer boots. It is the partition that contains the files required to boot the operating system that is designated as the default operating system in the computer. The active partition must always be on the first hard disk attached to the computer. This disk is referred to as Disk 0.
System Partition
The system partition is the partition that contains the bootstrap files that are required to display the boot menu and start the operating system. On most client computers this is the first primary partition on Disk 0. The bootstrap files that must be on the system partition on a computer running the Windows XP operating system include the following:
Ntldr: This is a hidden file.
Ntdetect.com: This is hidden file.
Boot.ini: This is a hidden file.
Bootsect.dos: This file is for dual configurations only.
Ntbootdd.sys: This file is for system partitions located on Small Computer System Interface
(SCSI) drives only.
Boot Partition
The boot partition is the partition that contains the Windows system files. The folder in which
the files are located is referred to as the systemroot folder. The files are by default located in
a folder within the systemroot folder named the systemroot/system32 folder. On most client
computers this partition is the same as the system partition. Typically this is the C: drive. On
client computers with multiboot configuration the boot partition may be assigned a different
drive letter.
Logically speaking, the names of the system and boot partitions seem backwards
based on what they contain and what they do. This naming was established
long ago with the first PCs. The best way to remember this is that they
are backwards!
11. Performing and Troubleshooting an Attended Installation of Windows XP 11
Formatting and File Systems
After you have created a partition on a disk, you must format the partition to prepare it to hold
data or, as in this case, an operating system. Formatting the partition places a file system on
which files can be stored and managed. File systems have evolved over time, and some file systems offer significant advantages over others. Table 1.1 illustrates the features of file systems and the Microsoft clients that can use each type of file system.
You should use the NTFS file system for all partitions on a computer with the
Windows XP operating system installed. This takes advantage of the additional
security and stability of the file system. The only exception is when you are
multibooting the computer with an operating system that does not support
NTFS, such as Windows 95, Windows 98, or Windows Me.
Tools for Hard Disk Preparation
There are many tools that you can use to prepare a hard disk. In this section, we will focus on
the tools that are inherent to Microsoft clients. These tools can be used to partition the disk and
then format the partitions with the various file systems. They have evolved over time and have
TABLE 1 . 1 File System Features
Feature FAT FAT32 NTFS
Microsoft clients
that support
Windows 95 OSR1,
Windows 95 OSR2,
Windows 98, Windows
Me, Windows NT
Workstation, Windows
2000 Professional,
Windows XP Home
Edition, Windows XP
Professional
Windows 98, Windows
Me, Windows 2000 Professional,
Windows XP
Home Edition, Windows
XP Professional
Windows NT Workstation,
Windows 2000
Professional, Windows
XP Home Edition, Windows
XP Professional
Maximum partition
size
4 GB 32 GB 2 terabytes
Sector size 16 KB to 64 KB As low as 4 KB As low as 4 KB
Security
File attributes File attributes File, folder, and encryption
attributes
Compression None None Files
12 Chapter 1 Installing a Windows Desktop Operating System
become easier to use with the latest operating systems, such as Windows XP. The tools that you
can use create partitions and format them include the following:
Fdisk
The fdisk tool is an MS-DOS–based tool that you can use to partition a hard disk. You can use
the fdisk tool to create, change, delete, or display the current partitions on a hard disk. You can
create primary partitions and extended partitions. You can then create logical drives on the
extended partitions.
Format
After you create partitions with the fdisk tool, you can then format those partitions with the
format tool. As mentioned before, the format tool places a file system on the disk on which
data can be stored and managed. You can use the format tool to apply FAT, FAT32, and
NTFS file systems.
The Windows XP CD
Another method of creating partitions is to use the Windows XP CD itself. You can create
and format partitions just prior to installing Windows XP using only the Windows XP CD.
Exercise 1.2 outlines the steps involved in this process.
E X E R C I S E 1 . 2
Creating and Formatting Partitions with the Windows XP CD
1. Set the boot order in the computer’s BIOS settings to recognize the CD-ROM drive before
the hard drives.
2. Insert the Windows XP CD into the CD-ROM drive.
3. Restart the computer.
4. When the screen says “Press any key to boot to the CD,” press a key.
5. The computer will then copy files from the CD-ROM to the hard drive and examine the configuration
of the computer.
6. At the Welcome to Setup page, press the Enter key to continue.
7. Press F8 to accept the Windows XP Licensing Agreement.
8. If another Windows XP installation is detected, you will be prompted to repair it. Press Esc.
Do not repair.
9. All existing partitions and unallocated space on the hard disk will now be listed. Use the
arrow keys to select a partition or unallocated space where you want to create a partition.
10. Press D to delete an existing partition or C to create a new partition using unallocated
space. If you press D, then you must press L to confirm that you want to delete a partition.
Performing and Troubleshooting an Attended Installation of Windows XP
13.Installing the Windows XP Operating System
Once all of the preparation is done, you are ready to install the operating system. Installing the
operating system includes running the setup program, configuring the options for networking,
choosing a Windows Update option, and activating the software. We will now discuss each of
these steps in greater detail, examining potential problem areas and the methods that you can
use to troubleshoot the problems.
Running the Setup Program
The setup program installs the operating system in four basic steps as outlined below:
1. File Copy: Windows Setup files are copied to a temporary folder on the partition where
they can be run when you restart the system.
2. Text Mode: In this step you select the partition to use to install the operating system. You
should press F6 at this step to load any custom drivers. If you have custom hardware for
which Windows does not have drivers and you do not press F6 at this step, then you may
experience a stop error. If this happens, restart and press F6 when prompted.
3. GUI Mode: This is the graphical portion of Windows Setup, which is also known as the
Setup Wizard. In this step, you can select regional settings, such as language and time zone,
and enter details, such as the product key, computer name, and administrator password.
4. Windows Welcome: This is the final portion of Setup, when you have the option to create
user accounts and activate Windows. Sometimes manufacturers use this step to customize
the installation, adding their own logos, custom registration screens, and other features.
In a successful installation, Setup will progress through each of these steps,
and the operating system will basically install itself. However, if Setup detects
any hardware for which it does not have appropriate drivers, it may ask you for
some help. If you have a custom piece of hardware in your system, you should
look for a prompt during the Text Mode portion of Setup and press F6 when
prompted. You can then install the custom drivers. If you do not press F6, the
installation may terminate with a stop error.
11. After pressing C to create a new partition, type the size in megabytes that you want to use
for the partition and press Enter, or just press Enter to create the partition using the maximum
available size.
12. Repeat Steps 10 and 11 to create additional partitions.
13. Select the format option that you want to use for the partition, and press Enter.
14. After the setup program formats the partition, you can follow the instructions to continue
installing the operating system.
EXERCISE 1.2 ( c o n t i n u e d )
14. Chapter 1 Installing a Windows Desktop Operating System
Installing Network Components
If the Windows XP operating system that you have just installed detects the presence of network
hardware on your system, the Installing Network Components window will appear automatically.
You should select either Typical Settings or Custom Settings. Your choice is determined by
how you are planning to use the computer. We will now discuss the guidelines for each setting.
Typical Settings
When Typical Settings is selected, the system will configure the computer to obtain its Internet
Protocol (IP) address and its Domain Name System (DNS) server address from the Dynamic Host
Configuration Protocol (DHCP) server. This setting should be used only if you know that that a
DHCP server is available in your organization or through your Internet Service Provider (ISP).
Custom Settings
When Custom Settings is selected, Setup displays screens to allow the user to enter the IP address and DNS server address manually. If you choose this setting, then you should obtain a proper IP address from your network administrator. If the IP address is not properly configured, the computer will not be able to communicate on the network and could potentially affect the communication of other computers on the network.
Setting Windows Update
Once you have your operating system installed and a network connection established, the next
step is to protect the operating system from unwanted intrusion. Periodically, Microsoft discovers a security threat to the operating system and publishes a patch on its website, making it available for download. The best way to keep up with all of the available patches is with the help of the Windows Update feature of Windows XP. Exercise 1.3 illustrates the steps to set the
Windows Update feature. Windows Automatic Update retrieves only the critical updates. To view, download, and install other Windows Updates and newly released drivers, you should
visit the Windows Update site at http://windowsupdate.microsoft.com.
Activating Windows XP.
A new feature has been added to Windows XP to combat software piracy and casual copying.
In addition to entering the 25-character product key during the setup process (as with previous
versions of Windows), you must also activate the software within 30 days of installation. This
new feature is referred to as Windows Product Activation (WPA).
In most cases, activation of the software is automatic. After the installation has completed
successfully and you have established a network connection, Windows XP will ask you if you
would like to activate the software. The system will use your Internet connection to connect to
Microsoft to activate the software. The whole process takes only a few seconds to complete.
You can also activate the software by calling Microsoft, giving the automated system the product key that came with the software, and following the instructions that you are given.
15. Performing and Troubleshooting an Attended Installation of Windows XP EXERCISE 1.3
Setting Windows Update
1. Open the System applet in Control Panel.
2. Click the Automatic Updates tab.
3. Select the Keep My Computer Up To Date check box.
4. Choose from the following options:
a. Notify Me Before Downloading Any Updates And Notify Me Again Before Installing
Them On My Computer
You should choose this option if you are using a dial-up connection and you do not
want to tie up the connection with the downloads.
b. Download The Updates Automatically And Notify Me When They Are Ready To
Be Installed
You should choose this option if you are using a high-speed, always-on connection
such as a cable modem or digital subscriber line (DSL) connection. An alert bubble will
pop up from the system tray area to let you know when the download has arrived. You
can accept or reject any download.
c. Automatically Download The Updates, And Install Them On The Schedule That I Specify
You should choose this option when you want to specify the time that Windows Update
runs. The default time is 3:00 A.M. every day. Windows Update will download and
install each critical update that is available when it runs.
16 Chapter 1 Installing a Windows Desktop Operating System
Activation and registration are very different. Activation does not require you
to divulge your name or any personal information. Your choice to register the
software is completely separate from your choice to activate it. Registration
does ask for some personal information.
As part of the activation process, Microsoft examines and registers key hardware components
in your computer system. Because of this, if you decide to reinstall the operating system
on the same computer, you can reinstall it without activating it again. However, if you
upgrade your hardware or replace your computer completely and then reinstall the operating
system, you might have to reactivate the Windows XP operating system as well. In this case,
the activation will not be automatic, and you will need to call your Microsoft customer representative at the telephone number listed on the software in the activation wizard. You will
need to explain the situation to the Microsoft customer representative and then follow the
directions given by the representative. There are some cases where you may not need to activate the Windows XP operating system software. These are as follows:
The manufacturer of the computer has activated the software: In this case, the software is
likely to be associated only with the computer BIOS. You can therefore reinstall the operating
system and upgrade the hardware as many times as you want as long as you don’t
change the BIOS of the computer.
Volume License Agreements: Businesses that purchase multiple copies of operating system
software might receive software and a product key from Microsoft that allows them to
install the software without requiring activation.
Using Log Files to Troubleshoot Installations:
Windows XP automatically generates log files that can help you determine the cause of a
failed installation. These files are automatically created in the folder that you designated as
the systemroot, usually the Windows folder. Depending on how far the installation progressed,
you can view these files on the computer on which you are installing the operating
system or copy them to another computer and view them there. You should open the files with
Notepad and examine them for clues as to what may have gone wrong in the installation process.
The following are log files created by the installation and a brief description of the clues
that they may contain:
Setuplog.txt: Describes the tasks performed during setup.
Setupapi.log: Lists hardware and driver detection and installation issues.
Setuperr.log: Created if errors occur during setup.
Setupapt.log: Records actions that are taken during setup.
PNPlog.txt: Lists Plug and Play hardware and driver detection issues.
17. Performing and Troubleshooting an Unattended Installation of Windows XP
Performing and Troubleshooting an Unattended Installation of Windows XP
If you install client operating systems infrequently, then you might be completely satisfied with
the attended installation method. On the other hand, if you are responsible for installing many
client operating systems, then you might like to know of ways to further automate that process
and answer the questions that the system asks on every installation.
Administrators who are responsible for many installations of operating systems might use
the Setup Manager Wizard or text editor to create special files called answer files and uniqueness database files (UDFs). As a desktop support technician, you should be aware of how these files are used in the installation of the operating system.
Another tool that administrators might use to install many client operating systems is Remote
Installation Services (RIS). In this case, the administrator might create and test a client computer and then image that client computer into a server so that it can be installed on future client computers.
This method requires specific hardware and configuration to function properly.
We will now discuss each of these methods of unattended installation in greater detail.
Answer Files
An answer file is a text file that provides configuration settings that would otherwise be entered
by the administrator during setup. The answer file provides answers that are common to all of
the computers that are to be installed using it. Each entry in the answer file is divided into two
parts, the section title and the settings. Figure 1.3 shows an answer file that was created using
the Setup Manager Wizard. We will now discuss each of these parts in this file.
Section Title
A section title indicates the category of the settings that follow it. Section titles in an answer file
might include Userdata, Identification, Networking, etc. The more complex the file, the more
section titles will be included in it. Each section title can contain many settings.
Settings
Within each section title, the configuration settings are created using keys and values. These
take the form of Key=Value, where the key represents the parameter and the value represents
the actual configuration setting for the computer. For example, Computer Name=Sybex1 is a
setting. As mentioned before, each section title can have many settings.
Uniqueness Database Files
Whenever more than one computer name is entered into answer file created by the Setup Manager Wizard, a uniqueness database file (UDF) named unattend.udb is automatically created. The UDF provides computer settings that are unique to each computer. It is created with syntax that is very similar to that used for an answer file.
18 Chapter 1 Installing a Windows Desktop Operating System
FIGURE 1 . 3 Example of unattend.txt file
A UDF is divided into two sections. The first section, named UniqueIDs, provides the computer
names and the sections of data to be replaced or merged with the answer file for each individual
computer. Figure 1.4 is an example of the first section of a UDF.
The second section contains the actual values that Setup will use for these sections. Figure 1.5
shows the settings in the second section of a UDF. Initially, the UDF contains only the computer
names to be used, but it can be modified to contain other settings that can be individually configured during setup.
In most cases the values in the UDF will be used instead of the values in the answer file for
the same computer. The only time that a value will be used from the answer file is when there
is no corresponding value in the UDF. In some cases, if there is a key specified but no value specified in a UDF, then no value will be automatically set and the user will be prompted to input
the information. If the UDF has an entire section that the answer file does not have, then Setup
will use the section and its keys and values. Table 1.2 illustrates the priority that Setup gives
answer files and UDFs.
FIGURE 1 . 4 Example of the first section of an unattend.udb file
19. Performing and Troubleshooting an Unattended Installation of Windows XP
FIGURE 1 . 5 Example of the second section of an unattend.udb file
Remote Installation Services
Remote Installation Services (RIS) allows network administrators who are in charge of many
computer installations to more easily deploy those installations through the network. The only
clients that can use RIS are Windows 2000 Professional and Windows XP Professional. As a
desktop support technician, you are responsible for understanding only the client portion of the
RIS setup. Since RIS requires significant setup on the server and the network as well, many
issues related to RIS will be escalated to the network administrator.
In order for computers to use RIS, they must have at least one of the following three
components:
A Net PC–compliant motherboard: A RIS-compliant network interface card built into the
motherboard of the computer.
A preboot execution environment (PXE)–enabled network interface card installed in the
computer.
TABLE 1 . 2 Priority and Use of Answer Files and UDFs
Answer File UDF Result
Key and value specified Key not specified Value in answer file used
Key not specified Key and value specified Value in UDF used
Key and value specified Key and value specified Value in UDF used
Key not specified Key specified without value No value set; user may be
prompted for input
Section and/or key not specified Key and value specified Section and/or key created
and used by Setup
20 Chapter 1 Installing a Windows Desktop Operating System
A network interface card that is compliant with the software but not PXE-compliant and
the special RIS boot disk created by the network administrator. The RIS boot disk must be
in the floppy drive of the client computer on which the software will be installed.
Once the computer has met one of these conditions and the network administrator has prepared
the image and made the connections to the computer, the client software can be installed
through the network as follows:
1. The user or administrator restarts the computer and presses F12 to perform a network boot.
2. The computer broadcasts on the network for the presence of a Dynamic Host Configuration
Protocol (DHCP) server.
3. The DHCP server responds with the address of the RIS server.
4. The computer connects to the RIS server, and the user or administrator is presented a selection
of operating systems from which to install. These can be in a user-friendly format, such
as “Windows XP for 3rd Floor Accounting.”
5. The user or administrator selects the appropriate image, and the installation proceeds
automatically.
Since RIS requires that the DHCP server, DNS, Active Directory, and all physical
connections be correct, many issues related to its installation will be escalated
to the network administrator. As an MCDST, you should be familiar with what
is required for the system to operate properly, so you know when to escalate
the issue.
Performing and Troubleshooting an Upgrade Installation of Windows XP
If a user currently has a working installation of Windows but wishes to upgrade the client software to Windows XP, she can begin the upgrade by simply placing the Windows XP CD into
the CD-ROM drive and closing it. The computer will likely detect the Windows XP CD and
offer to run the upgrade. As a desktop support technician, you should be aware that what
seemed to start out very simply can get much more complicated very quickly. Whether the computer can be successfully upgraded to Windows XP will depend upon the hardware installed in the computer. How well the upgrade will work will further be determined by the drivers and
other software that are to be upgraded. All client computers with Windows 95 or later operating
systems can be upgraded to Windows XP.
If a user is upgrading both her computer and her operating system (changing computers),
then the task is further complicated because she may want to make sure that she retains her settings and configurations from the current operating system. These can be very important to
some users.
21. Performing and Troubleshooting an Upgrade Installation of Windows XP
You can use the Upgrade Advisor to run a test and create a report that you can examine for
any inconsistencies with the Windows XP operating system. In this way, you can ensure that the
upgrade installation will go smoothly, without any surprises. In addition, if the user is changing
computers, you can use the User State Migration Tool and/or Files and Settings Transfer (FAST) Wizard to transfer configuration settings and files from the current computer to the new one. We will discuss these tools and their use in greater detail in this section.
Using the Upgrade Advisor.
The Upgrade Advisor is software built into the Windows XP operating system disk and/or available from Microsoft’s website at http://www.microsoft.com/windowsxp/pro/howtobuy/
upgrading/advisor.asp. The software checks a computer for compatibility and automatically
creates a report listing problems that you might encounter during the upgrade process. The report might even direct you to install a service pack or patch before continuing the installation. When upgrading from Windows 98 or Millennium Edition, the system may even suggest that you uninstall some programs before continuing an installation and then reinstall them after the installation is complete. Exercise 1.4 outlines the steps for using the Upgrade Advisor. This exercise can be performed on a computer running Windows 95, Windows 98, Windows Millennium Edition, Windows 2000 Professional, Windows XP Home Edition, or even Windows XP Professional.
Using the User State Migration Tool
A user state refers to the configuration settings applied to a user’s computer. These could
include settings such as background, screen saver, font, resolution, etc. In a large organization,
administrators might want to standardize and record these settings so that they can be reproduced
on computers throughout the organization. Administrators use the User State Migration
EXERCISE 1.4
Using the Upgrade Advisor for Windows XP
1. Insert the Windows XP CD into the CD-ROM drive and close it.
2. The system will recognize the CD, and you will see a screen that says “Welcome to
Microsoft Windows XP.” If you do not see this screen, then browse the disk and click on
the setup.exe file to access the Welcome screen.
3. Click on Check System Compatibility.
4. Click on Check My System Automatically.
5. The system will run an abbreviated version of Setup and produce a report that lists problems
that you might encounter regarding hardware and software. The report might contain
instructions to download upgrade packs or temporarily uninstall some software. You
should follow the instructions in the report.
22. Chapter 1 Installing a Windows Desktop Operating System
Tool (USMT) built into Windows XP to record and distribute a user state to multiple computers.
The USMT is located on the Windows XP CD in the VALUEADD\MSFT\USMT folder. You can
also copy the entire USMT folder to your computer to use the tools it contains.
The USMT consists of two main commands, each with multiple switches. We will discuss the
two main commands in the User State Migration Tool in this section.
Scanstate
Scanstate is used to create an “electronic recording” of the settings in a computer. You can use
scanstate to record the settings on all Microsoft clients later than Windows 95. Using the switches provided by the USMT, you can further configure scanstate to record registry settings or give more or less output. To see the syntax and switches for scanstate, you can type scanstate /? on the command prompt in the folder that contains the USMT files.
Loadstate Loadstate is used to configure a computer or computers with the settings that were recorded with scanstate. You can use loadstate with all clients later than Windows 95. Using the switches provided by the USMT, you can configure loadstate to migrate registry settings, log errors, and load only specified files. To see the syntax and switches for loadstate, you can type loadstate /? on the command prompt in the folder that contains the USMT files.
Remember that Scanstate gathers the information from the source computer
and Loadstate configures the information to the destination computer.
Using the Files and Settings Transfer Wizard.
The Files and Settings Transfer (FAST) Wizard can be used only on computers that are not a
member of a domain. On stand-alone computers or computers that are part of a workgroup, the
FAST Wizard can be used to make it easier to copy files and settings from an old computer to
a newer one. To locate the FAST Wizard, you should choose Accessories from the All Programs
menu and then choose System Tools.
The FAST Wizard refers to the two computers involved in the transfer as the Old computer
and the New computer. On the Old computer, the wizard walks the user through the process
that allows him to choose whether to transfer files, settings, or both. The user can even create
a custom list of files that he wants transferred from the Old computer to the New computer.
The files and settings are then stored on a shared drive or removable media or are sent to the
computer through a direct transfer. Figure 1.6 shows the options available in the FAST Wizard.
The computer that will receive the files must be configured with the FAST Wizard as the
New computer. Similar configuration settings are required for the Old computer. The user
chooses where the files and information will be read from and how the computer will be configured.
He can configure to read the shared drive, use removable media, or use direct transfer
to receive the data.
Performing and Troubleshooting a Multiboot Installation of Windows XP 23
FIGURE 1 . 6 Transfer method selection dialog box in FAST Wizard
The FAST Wizard transfers only data files to the new computers. You still have
to install the applications that run the data files.
You should be familiar with the basic workings of the Files and Settings Transfer
Wizard. You should also know that you are unlikely to have to troubleshoot
this tool in a corporate environment because it cannot be used on computers
that are members of a domain.
Performing and Troubleshooting a
Multiboot Installation of Windows XP
If the computer that you are using already has a Windows 32-bit (Windows 95 or later) operating system and you have at least two partitions defined, then you can install a clean copy of Windows XP without disturbing your current installation or any of the applications that it uses. If you do this properly, then the system will automatically change the boot.ini file, and you
will be prompted to choose the operating system that you wish to boot to at each new startup.
24. Chapter 1 Installing a Windows Desktop Operating System
You can use this multiboot installation method to run multiple and different Windows operating
systems on the same computer. You can also use this method to install multiple instances of
Windows XP on the same computer. In this way, you could use one instance for experimentation
and troubleshooting and another for your main operating system.
To run multiple virtual operating systems within one operating system, you can also use virtual operating system software such as VMWare or Microsoft's Virtual PC.
Creating Your Own Test Environment
One thing that has been invaluable to me is the hands-on experience that I’ve received through
network administration, consulting, and setting up classrooms. Even if you don’t get the
chance to work with a large number of computer installations, you can still benefit greatly from
the experience of setting up a multiboot computer test environment. If you have an old desktop
that is at least a PII 233 with 64 MB of RAM, it will do just fine. If you have an old laptop, that
might be even better.
Start out by obtaining as many types of operating system software as you can find. You can
often get free evaluation software by attending a Microsoft class or by browsing the Microsoft
website at www.microsoft.com/technet/downloads. Get a trial copy of some client and server
operating systems.
After you have the software in hand, completely format and repartition the computer that will
be your test computer. Of course, you should make sure that you have a backup of anything
that was on the computer that you might need later. Create partitions that are about 4 GB in
size, and create as many as you can on your disk.
Next, begin installing the operating systems that you have obtained in order of their hierarchy
from lowest to highest. As you install each system, you will test yourself on display drivers, network card drivers, USB drivers, and perhaps printer drivers. See if you can make everything
functional on one operating system before moving on to the next one. See how many operating
systems you can get working on one computer!
You will learn a tremendous amount from setting up a computer in this fashion. In addition,
you will then have a tool that you can use to test drivers and applications. Finally, you can also
load your certification study material on the computer and study for the test in the operating
system that you are learning. If you don’t know the answer to a question, you can often just
Alt+Tab out of the study material and find the answer within the operating system software. If
you find the answers that way, you are much more likely to retain the information for the test
and for real life.
25. Summary
If you are troubleshooting a multiboot installation that was attempted by a user, then you
should be aware of the following:
The operating systems should be installed in hierarchical order with the lowest first. For
example, if a user wants to multiboot Windows 98 and Windows XP Professional, then he
should install Windows 98 first.
Each operating system must be installed on its own partition. Microsoft recommends that
you install each operating system on a primary partition.
The active partition will contain the boot.ini file and must be formatted with a file system that
is common to both operating systems. For example, if you are dual-booting Windows 98 and
Windows XP Professional, then the active partition must be formatted with FAT or FAT32.
The boot.ini file will bring up the operating system selection screen when the computer
is booted. You can choose the operating system to boot to or let a 30-second timer run
down and accept the default.
You can change the operating system selection and timeout value in the Startup and Recovery
Settings within the Advanced tab of System properties.
Summary
It’s important that you understand how operating systems should be installed so that you can
troubleshoot failed installations. There are four main types of operating system installation:
Attended
Unattended
Upgrade
Multiboot
An attended installation is the most time-consuming to perform because the user or administrator has to “baby-sit” the installation and respond to all of the prompts and questions. The main concerns with an attended installation are the preparation before the installation. Compatibility issues with hardware and software can cause an installation to fail. You can reduce
failures and troubleshoot failed installations using the Windows Catalog and the hardware
manufacturer’s websites to obtain the latest information regarding compatibility.
An unattended installation uses either an answer file or Remote Installation Services. In the
case of an answer file, you should know how to examine the file for obvious errors and then
escalate the problem to the network administrator who created it. In regard to Remote Installation Services, you should be familiar with the client portion of the remote installation. The client requires connectivity to the network and some type of network boot provided by a Net PC–or a PXE-compliant card. You can also use a Windows XP–compliant card and a RIS boot disk on the client.
An upgrade installation is an attempt to gain greater benefits from the new operating system
features without losing anything else. The main concern regarding an upgrade installation is the
26. Chapter 1 Installing a Windows Desktop Operating System
compatibility of the currently working hardware and software with the new operating system.
Users will also be concerned about losing data and/or functionality as a result of the upgrade.
A multiboot installation means adding another operating system to a computer that is
already functioning with one or more. The trick is to keep both of the operating systems functional.
You should install operating systems in hierarchical order with the lowest first. The system
will automatically change the boot.ini file to accommodate the new operating systems.
You can use these new systems for fault tolerance and for testing and experimental purposes.
Exam Essentials
Know the minimum requirements to install Windows XP. Although you will probably never
install Windows XP on a computer that meets only the minimum requirements, it is still important to know these specifications for the test. You may need to define which components will need to be upgraded to install the operating system.
Understand the differences between file systems. You should understand the advantages and
disadvantages of the main file systems that Microsoft clients use. You should also know which
clients can use which file systems. Multiboot scenarios might require this knowledge.
Understand how answer files and UDFs operate. You don’t need to be an expert on the syntax
in answer files, but you do need to know what happens if a setting in a UDF conflicts with
a setting in an answer file. You should also know what will happen if there is a section in a UDF
that does not exist in an answer file for the same computer.
Know how to use the Upgrade Advisor. You should know how to use the Upgrade Advisor
by inserting the Windows XP CD and selecting the options to check compatibility. You should
also know the location of the file on the Windows CD and on the Internet.
Know what is required to create a successful multiboot. You should know the basics of what
is required to create a successful multiboot, for example, the order of installation of multiple
operating systems and your options for file systems on the system partition. You should be
familiar with the fact that the boot.ini file will be changed automatically by the operating system
when you create a multiboot installation.
27. Review Questions
Review Questions
1. You are the desktop support technician for a large company. Management is considering
upgrading some older Windows 98 clients to Windows XP Professional. The client computers
have PII 233-MHz processors with 16 MB of RAM. They all have at least 2 GB of free disk
space. In addition, they have 8X CD-ROM drives and SVGA display adapters. Which component(s) will require upgrading before installation can begin? (Choose all that apply.)
A. Processor
B. RAM
C. CD-ROM
D. Free disk space
2. You are the desktop support technician for your organization. One of the users who is
attempting to install Windows XP is encountering stop errors. You suspect that some of the
hardware in the computer is not compatible with Windows XP. You obtain a list of the hardware
installed in the computer. Which of the following resources should you use to determine
the compatibility of the hardware? (Choose two.)
A. The Windows Update website
B. Windows Catalog
C. The website of the manufacturer of the hardware
D. Microsoft TechNet
3. You are the desktop support technician for a large company. You are called in to assist on a
failed Windows XP installation. You want to make sure that the correct bootstrap files are on
the system partition. Which of the following files must be on the system partition in order for
Windows XP to load and start? (Choose three.)
A. autoexec.bat
B. ntldr
C. boot.ini
D. ntoskrnl.exe
E. config.sys
4. You are the desktop support technician for your company. You want to multiboot a computer
with Windows 98 and Windows XP Professional. Which of the following file systems could you
use for the system partition of the computer? (Choose all that apply.)
A. FAT
B. NTFS
C. FAT32
D. None of the above
28 Chapter 1 Installing a Windows Desktop Operating System
5. You are the desktop support technician for your company. You have installed a new (out of the
box) hard drive on a computer and you want to begin setting it up to store data. Which of the following
should be your first step?
A. Format the hard drive to create the partitions.
B. Ensure that the boot order in your setup reads the hard disk first.
C. Use fdisk to create the partitions on the drive.
D. Delete the low-level format installed at the factory.
6. You are the desktop support technician for your company. You are troubleshooting a failed
unattended installation. Upon examination of the answer file and UDF used for the installation,
you discover that there is a section in the UDF that is not mentioned at all in the answer file.
Which of the following should occur during installation?
A. The section and its keys will be created and used by Setup.
B. The installation should fail because the answer file is incomplete.
C. Setup should prompt the user for a response.
D. The section and its keys should be ignored by Setup.
7. You are the desktop support technician of a large company. You want to create a standard for
settings such as background, screen saver, and font size. You have configured the computer settings
on your test computer connected to your domain. You would like to save the settings to a
file and load them to other computers on your domain. Which tool should you use to capture
and save the configuration settings?
A. loadstate.exe
B. Files and Settings Transfer (FAST) Wizard
C. fdisk.exe
D. scanstate.exe
8. You are the desktop support technician for your company. You are troubleshooting a failed RIS installation. You suspect that the computer was unable to obtain an IP address. You wish to
escalate the problem to the network administrator. Which type of server should have assigned
the computer an IP address during the installation?
A. Domain controller
B. DHCP server
C. DNS server
D. RIS server
Review Questions 29
9. You are the desktop support technician for a large company. You are troubleshooting a failed
installation using the log files created by the installation. Which file describes all of the tasks performed during startup, whether they succeeded or not?
A. setuplog.txt
B. PNPlog.txt
C. setuperr.log
D. setupapi.log
10. You are the desktop support technician for your company. Security is always a key concern in your organization. You are creating a multiboot installation with Windows 2000 Professional
and Windows XP Professional on the same computer. Which of the following file systems should
you use for the system partition?
A. FAT
B. NTFS
C. FAT32
D. All file systems are equal in this case.
30 Chapter 1 Installing a Windows Desktop Operating System
Answers to Review Questions
1. B. The minimum RAM requirement for installing Windows XP is 64 MB. The installation will
fail if the client computer does not have at least the minimum requirement. The processor should
probably be upgraded as well, but it barely meets the minimum requirement. The 8X CD-ROM
(or any CD-ROM) meets the requirement. The minimum requirement for free disk space is
1.5 GB, so the client computers exceed the minimum requirement.
2. B, C. The Windows Catalog contains a list of hardware that is designed for and/or compatible
with Windows XP. You should check the catalog first. If you do not find the hardware
listed in the Windows Catalog, then you can also check the website of the manufacturer of
the hardware. The Windows Update and TechNet websites do not contain information
about hardware compatibility.
3. B, C, D. The system partition contains the files that are required to boot the Windows XP operating
system. The files that must be in the system partition in order for Windows XP to load and start are
ntldr, boot.ini, and ntoskrnl.exe. The autoexec.bat and config.sys files are configuration
files for Windows 9x operating systems, not for Windows XP.
4. A, C. You must format the system partition with a file system that is common to both operating
systems. Windows 98 cannot use the NTFS file system, but Windows XP can use all three of the
file systems; therefore, you should format the system partition with FAT or FAT32.
5. C. If you have a new hard drive from the factory, then the only formatting on it is low-level formatting.
Your first step should be to use the fdisk tool or the Windows XP CD to create partitions.
Formatting does not create partitions; you can format a partition only after you have
created it. You should not delete the low-level format installed at the factory.
6. A. When a section and/or key is mentioned in the UDF but not in the answer file for the same
computer, the section and/or key will be created and used by Setup. If this does not happen, then you should escalate the issue to the network administrator or the creator of the files. The installation should not fail because of this occurrence. Setup will not prompt the user for a response. The section and/or key should not be ignored by Setup.
7. D.You should use the scanstate tool from a command prompt to capture configuration settings
of a computer that is a member of a domain. You should use loadstate.exe to distribute the
settings to the other computers in the domain. You can use the Files and Settings Transfer
(FAST) Wizard only for stand-alone computers or for computers that are part of a workgroup.
Fdisk.exe is not the correct tool to use to collect computer settings.
8. B. In order for a Remote Installation Services (RIS) installation to succeed, the computer must obtain an address from the Dynamic Host Configuration Protocol (DHCP) server. Domain controllers, DNS servers, and RIS servers are all involved in the process of a RIS installation, but they do not assign IP addresses to the client.
9. A. The setuplog.txt file records all of the events in a startup. You can examine it to see what
occurred just prior to the failure of the installation. The PNPlog.txt file and setupapi.log file
record the detection of devices and drivers. The setuperr.log file is created only when errors occur and records only the errors.
Answers to Review Questions 31
10. B. Since security is always a key concern in your organization, you should use the file system that is the most secure and is common to both of the operating systems that you are installing. In this case, since both Windows 2000 Professional and Windows XP Professional can use NTFS and since NTFS has much greater security, you should use NTFS. All file systems are not equal; FAT and FAT32 do not offer the security features that NTFS offers.
MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER:
Perform and troubleshoot an attended installation of a
Windows XP operating system.
Answer end-user questions related to performing an
attended installation of a Windows XP operating system.
Troubleshoot and complete installations in which an
installation does not start. Tasks include configuring the
device boot order and ascertaining probable cause of
the failure to start.
Troubleshoot and complete installations in which an
installation fails to complete. Tasks include reviewing
setup log files and providing needed files.
Perform postinstallation configuration. Tasks include
customizing installations for individual users and
applying service packs.
Perform and troubleshoot an unattended installation of a
Windows desktop operating system.
Answer end-user questions related to performing an
unattended installation of a Windows XP operating
system. Tasks include starting an installation, answering
questions asked by an end user during an installation,
and performing postinstallation tasks.
Configure a PC to boot to a network device and start
installation of a Windows XP operating system. Tasks
include configuring PXE-compliant network cards.
Perform an installation by using unattended
installation files.
Reproduced from the book MCDST: Microsoft Certified Desktop Support
Technician Study Guide: Exams 70-271 and 70-272. Copyrightã 2004,
Sybex. Reproduced by permission of Sybex,. 111 River Street, Hoboken,
NJ 07030-5774. Written permission from Sybex is required for all other uses
Upgrade from a previous version of Windows.
Answer end-user questions related to upgrading from
a previous version of Windows. Considerations include
available upgrade paths and methods for transferring
user state data.
Verify hardware compatibility for upgrade.
Considerations include minimum hardware and system resource
requirements. Verify application compatibility for upgrade. Tasks include ascertaining which applications can and cannot run, and using the application compatibility tools. Migrate user state data from an existing PC to a new PC. Install a second instance of an operating system on a
computer.
A desktop support technician must have expert knowledge of the hardware and software components involved in installing an operating system and of how they work together at each stage of the installation process. This is because understanding how an operating system is installed is the first step toward understanding how to troubleshoot a failed installation. Your ability to quickly troubleshoot and repair a failed installation will be a key to keeping your customer (the end user) productive and happy.
In this chapter, we will discuss the major types of operating system installations, the components involved in each of them, and how to quickly troubleshoot and repair a failed installation.
There are four main types of operating system installations:
Attended
An attended installation consists of a user or an administrator acquiring the operating
system software from a CD/DVD or a shared network source and beginning the installation.
In this case, the user or administrator monitors the entire installation, answering questions
and filling in information where appropriate. This is sometimes referred to as “baby-sitting” the
installation. This method takes a tremendous amount of time and may not be the best alternative when many installations must be performed.
Unattended
One type of unattended installation makes use of special files called answer files and
uniqueness database files to automate the installation of the operating system. Although it
takes time and effort to create these files, it’s well worth it in the long run if you are installing
an operating system on many computers. This method not only saves time but can also increase
the consistency of the options and settings that are applied to the computers, since the answer
file provides the answers to each of the computers. The relationship of the answer files to the
uniqueness database files is a key element in this type of installation.
Another type of unattended installation uses a Remote Installation Services (RIS)
server that is installed and configured by the network administrator. With a properly configured RIS server, you can install new client operating systems through the network with the push of a button.
Upgrade
An upgrade installation is performed on a computer that currently has a Windows
operating system installed and functional. The purpose of the upgrade is generally to take
advantage of new features and functionality that the newer operating system offers by replacing
the older operating system with the newer one. A chief concern in an upgrade installation is the
compatibility of the current hardware and application software with the proposed new operating system. Users are also primarily concerned that their settings and documents will be left
intact. One disadvantage of an upgrade versus a new installation is that an upgrade might inadvertently bring in software bugs that would have been fixed completely with a new installation. You should consider this issue when you are deciding whether to upgrade or perform a complete new installation.
Chapter 1 Installing a Windows Desktop Operating System
Multiboot
Like an upgrade, a multiboot installation is also performed on a computer that
currently has a Windows operating system installed and functional. The difference between a
multiboot and an upgrade is that the purpose of multiboot installation is to create other functional Windows operating systems on the same computer. Once a multiboot installation is successfully performed, a user will be able to choose which operating system to boot to at startup. The keys to creating a successful multiboot installation are the order in which the operating systems are installed and the capability to install the second operating system without disturbing the first operating system.
The rest of this chapter discusses the procedures and components involved with each major
type of installation and their relation to troubleshooting a failed installation.
Performing and Troubleshooting an Attended Installation of Windows XP
A successful installation of Windows XP requires some upfront planning and preparation.
When you are responsible for troubleshooting a failed installation, it is essential that you know
what should have been done to prepare for the installation. By knowing what should have been
done, you can ask the right questions to determine the problem. You can then isolate what needs to be done to provide a solution. The steps involved in a successful installation of Windows XP are discussed in the following sections.
Verifying that Hardware Meets the Minimum Requirements
Before you begin an installation of Windows XP, you should ensure that the computer on which
you are installing the operating system meets at least the minimum requirements for the installation.
You should also be aware that the minimum requirements will ensure only that the operating
system will function, not that it will function with acceptable speed. In addition, you
should realize that the minimum hard drive requirements are only for the operating system to
run efficiently and do not include the space to contain applications. The following list represents
the minimum hardware specifications from Microsoft’s website:
233-MHz processor from the Pentium/Celeron family or the AMD K6/Athlon/Duron family
64 MB of RAM
1.5 GB of available hard disk space
Super VGA (800×600) resolution
CD-ROM or DVD drive
Keyboard and Microsoft mouse or compatible pointing device
Performing and Troubleshooting an Attended Installation of Windows XP
Checking Hardware and Software Compatibility
Just because a computer meets the minimum hardware requirements does not mean that all of the hardware and software on the computer is compatible with the Windows XP operating system. You should ensure that all of hardware is compatible prior to installing the operating system. You can ensure that the hardware is compatible using the following methods.
Use the Windows XP CD to Check System Compatibility.
You can verify a computer’s compatibility with Windows XP just prior to installing the operating
system using the Windows XP operating system installation CD. It is not necessary to have
any operating system installed on the computer to check the system compatibility. You should
have a hard drive installed and formatted with at least one partition. Exercise 1.1 outlines the
steps that you can use to check a computer’s compatibility with the Windows XP operating system before continuing to install the operating system. Later in this chapter, we will discuss the preparation steps that you might take prior to installing the operating system and what you
might do with a failed installation. For this exercise, we are just letting the operating system
examine the computer prior to installing the software normally. You can use a Windows XP
Home Edition or Windows XP Professional CD for this exercise. If you encounter any errors
during the installation, then read further into this chapter to get clues about troubleshooting
your own system.
Check the Windows Catalog on the Web
You can use the Windows Catalog located on the Web at
www.microsoft.com/windows/catalog
to find hardware and software that is designed to work with the Windows XP operating system. The EXERCISE 1.1
1. Using the Windows XP CD to Check System Compatibility
2. Set the boot order in the computer’s BIOS settings to recognize the CD-ROM drive before
the hard drives.
3. Insert the Windows XP CD into the CD-ROM drive.
4. Restart the computer.
5. When the screen says “Press any key to boot to the CD,” press a key.
6. The computer will then copy files from the CD-ROM to the hard drive and examine the configuration of the computer. At this point, you will be informed if any hardware fails the
7. compatibility test.
8. If all of your hardware is compatible, then you can then proceed with the installation of the
operating system.
Chapter 1
Installing a Windows Desktop Operating System
Windows Catalog is shown in Figures 1.1 and 1.2. It contains hardware and software in two main
categories as follows:
Designed for Windows XP
Compatible with Windows XP
FIGURE 1 . 1
The Windows Catalog Home Page
FIGURE 1 . 2
Designed for Windows XP vs. Compatible with Windows XP
Performing and Troubleshooting an Attended Installation of Windows XP
9. Hardware and software that carries the Designed for Windows XP logo is specifically
designed for use with Windows XP. The use of this hardware and software will reduce the number of problems and frustrations associated with using the Windows XP product. If your hardware or software is listed as Compatible with Windows XP, then it has not met all of the
requirements of the Windows Logo Program but it has been deemed compatible by Microsoft
and/or the manufacturer of the software. If your hardware or software is not listed, this does not always mean that it will not work with Windows XP. In this case, you should check with the manufacturer of the hardware or software to determine compatibility.
Preparing the BIOS
The basic input/output system (BIOS) of a computer is the most basic intelligence of a computer. The BIOS is a set of software that tests hardware at startup, starts the operating system, and supports the transfer of data among hardware devices, including date and time. If a BIOS is out of date for the software and hardware installed on the computer, it can cause problems with power management, peripheral configuration, disk partitioning, and other crucial functions. You should check with the computer or motherboard manufacturer to determine whether a BIOS update is available. You can often download a BIOS update and perform an electronic flash to update the BIOS of a computer. You should carefully follow the instructions provided by the manufacturer when updating a computer’s BIOS.
Obtaining Driver Updates
Drivers are software the allow hardware to communicate with the operating system. Because of
this, drivers are usually very specific to an operating system. You should therefore make sure
that you have obtained the necessary drivers for the hardware that is installed on your computer prior to installing the operating system. If your computer is equipped with
Plug and Play (which most new computers are), then it will ask for the drivers at the end portion of the setup. The Windows XP CD contains a cache of drivers that includes many of the most common drivers for network interface cards, video cards, sound cards, and other computer hardware. You can also obtain drivers from the website of the manufacturer of the hardware.
Preparing the Hard Disk for Installation
Since the operating system will be installed on a hard disk, its important to understand the organization of a hard disk in a computer and the file systems from which you can choose. You
should also be familiar with the tools that you can use to prepare the hard disk for installation
and begin to install the system. In this section, we will discuss the key terms relating to hard
disks, the tools used to prepare the installation, and the order of their use.
10 Chapter 1, Installing a Windows Desktop Operating System Partitions
When you purchase a new hard disk or buy a computer without an operating system installed,
the only formatting on the hard disk is a low-level format from the factory. This low-level format is the basis on which you can begin to build a working hard disk and install an operating
system. The first step that you should take to begin to prepare a hard disk is to partition
the hard disk. Partitioning the disk is logically setting aside a portion of the disk. A partition is sometimes referred to as a volume , but a partition is one area limited to one physical hard disk, whereasa volume can contain multiple partitions on the same disk or even on multiple disks.
There are three critical partition types of which you should be aware as a desktop support
technician.
Active Partition
The active partition on a disk is the partition from which an x86-based computer boots. It is the partition that contains the files required to boot the operating system that is designated as the default operating system in the computer. The active partition must always be on the first hard disk attached to the computer. This disk is referred to as Disk 0.
System Partition
The system partition is the partition that contains the bootstrap files that are required to display the boot menu and start the operating system. On most client computers this is the first primary partition on Disk 0. The bootstrap files that must be on the system partition on a computer running the Windows XP operating system include the following:
Ntldr: This is a hidden file.
Ntdetect.com: This is hidden file.
Boot.ini: This is a hidden file.
Bootsect.dos: This file is for dual configurations only.
Ntbootdd.sys: This file is for system partitions located on Small Computer System Interface
(SCSI) drives only.
Boot Partition
The boot partition is the partition that contains the Windows system files. The folder in which
the files are located is referred to as the systemroot folder. The files are by default located in
a folder within the systemroot folder named the systemroot/system32 folder. On most client
computers this partition is the same as the system partition. Typically this is the C: drive. On
client computers with multiboot configuration the boot partition may be assigned a different
drive letter.
Logically speaking, the names of the system and boot partitions seem backwards
based on what they contain and what they do. This naming was established
long ago with the first PCs. The best way to remember this is that they
are backwards!
11. Performing and Troubleshooting an Attended Installation of Windows XP 11
Formatting and File Systems
After you have created a partition on a disk, you must format the partition to prepare it to hold
data or, as in this case, an operating system. Formatting the partition places a file system on
which files can be stored and managed. File systems have evolved over time, and some file systems offer significant advantages over others. Table 1.1 illustrates the features of file systems and the Microsoft clients that can use each type of file system.
You should use the NTFS file system for all partitions on a computer with the
Windows XP operating system installed. This takes advantage of the additional
security and stability of the file system. The only exception is when you are
multibooting the computer with an operating system that does not support
NTFS, such as Windows 95, Windows 98, or Windows Me.
Tools for Hard Disk Preparation
There are many tools that you can use to prepare a hard disk. In this section, we will focus on
the tools that are inherent to Microsoft clients. These tools can be used to partition the disk and
then format the partitions with the various file systems. They have evolved over time and have
TABLE 1 . 1 File System Features
Feature FAT FAT32 NTFS
Microsoft clients
that support
Windows 95 OSR1,
Windows 95 OSR2,
Windows 98, Windows
Me, Windows NT
Workstation, Windows
2000 Professional,
Windows XP Home
Edition, Windows XP
Professional
Windows 98, Windows
Me, Windows 2000 Professional,
Windows XP
Home Edition, Windows
XP Professional
Windows NT Workstation,
Windows 2000
Professional, Windows
XP Home Edition, Windows
XP Professional
Maximum partition
size
4 GB 32 GB 2 terabytes
Sector size 16 KB to 64 KB As low as 4 KB As low as 4 KB
Security
File attributes File attributes File, folder, and encryption
attributes
Compression None None Files
12 Chapter 1 Installing a Windows Desktop Operating System
become easier to use with the latest operating systems, such as Windows XP. The tools that you
can use create partitions and format them include the following:
Fdisk
The fdisk tool is an MS-DOS–based tool that you can use to partition a hard disk. You can use
the fdisk tool to create, change, delete, or display the current partitions on a hard disk. You can
create primary partitions and extended partitions. You can then create logical drives on the
extended partitions.
Format
After you create partitions with the fdisk tool, you can then format those partitions with the
format tool. As mentioned before, the format tool places a file system on the disk on which
data can be stored and managed. You can use the format tool to apply FAT, FAT32, and
NTFS file systems.
The Windows XP CD
Another method of creating partitions is to use the Windows XP CD itself. You can create
and format partitions just prior to installing Windows XP using only the Windows XP CD.
Exercise 1.2 outlines the steps involved in this process.
E X E R C I S E 1 . 2
Creating and Formatting Partitions with the Windows XP CD
1. Set the boot order in the computer’s BIOS settings to recognize the CD-ROM drive before
the hard drives.
2. Insert the Windows XP CD into the CD-ROM drive.
3. Restart the computer.
4. When the screen says “Press any key to boot to the CD,” press a key.
5. The computer will then copy files from the CD-ROM to the hard drive and examine the configuration
of the computer.
6. At the Welcome to Setup page, press the Enter key to continue.
7. Press F8 to accept the Windows XP Licensing Agreement.
8. If another Windows XP installation is detected, you will be prompted to repair it. Press Esc.
Do not repair.
9. All existing partitions and unallocated space on the hard disk will now be listed. Use the
arrow keys to select a partition or unallocated space where you want to create a partition.
10. Press D to delete an existing partition or C to create a new partition using unallocated
space. If you press D, then you must press L to confirm that you want to delete a partition.
Performing and Troubleshooting an Attended Installation of Windows XP
13.Installing the Windows XP Operating System
Once all of the preparation is done, you are ready to install the operating system. Installing the
operating system includes running the setup program, configuring the options for networking,
choosing a Windows Update option, and activating the software. We will now discuss each of
these steps in greater detail, examining potential problem areas and the methods that you can
use to troubleshoot the problems.
Running the Setup Program
The setup program installs the operating system in four basic steps as outlined below:
1. File Copy: Windows Setup files are copied to a temporary folder on the partition where
they can be run when you restart the system.
2. Text Mode: In this step you select the partition to use to install the operating system. You
should press F6 at this step to load any custom drivers. If you have custom hardware for
which Windows does not have drivers and you do not press F6 at this step, then you may
experience a stop error. If this happens, restart and press F6 when prompted.
3. GUI Mode: This is the graphical portion of Windows Setup, which is also known as the
Setup Wizard. In this step, you can select regional settings, such as language and time zone,
and enter details, such as the product key, computer name, and administrator password.
4. Windows Welcome: This is the final portion of Setup, when you have the option to create
user accounts and activate Windows. Sometimes manufacturers use this step to customize
the installation, adding their own logos, custom registration screens, and other features.
In a successful installation, Setup will progress through each of these steps,
and the operating system will basically install itself. However, if Setup detects
any hardware for which it does not have appropriate drivers, it may ask you for
some help. If you have a custom piece of hardware in your system, you should
look for a prompt during the Text Mode portion of Setup and press F6 when
prompted. You can then install the custom drivers. If you do not press F6, the
installation may terminate with a stop error.
11. After pressing C to create a new partition, type the size in megabytes that you want to use
for the partition and press Enter, or just press Enter to create the partition using the maximum
available size.
12. Repeat Steps 10 and 11 to create additional partitions.
13. Select the format option that you want to use for the partition, and press Enter.
14. After the setup program formats the partition, you can follow the instructions to continue
installing the operating system.
EXERCISE 1.2 ( c o n t i n u e d )
14. Chapter 1 Installing a Windows Desktop Operating System
Installing Network Components
If the Windows XP operating system that you have just installed detects the presence of network
hardware on your system, the Installing Network Components window will appear automatically.
You should select either Typical Settings or Custom Settings. Your choice is determined by
how you are planning to use the computer. We will now discuss the guidelines for each setting.
Typical Settings
When Typical Settings is selected, the system will configure the computer to obtain its Internet
Protocol (IP) address and its Domain Name System (DNS) server address from the Dynamic Host
Configuration Protocol (DHCP) server. This setting should be used only if you know that that a
DHCP server is available in your organization or through your Internet Service Provider (ISP).
Custom Settings
When Custom Settings is selected, Setup displays screens to allow the user to enter the IP address and DNS server address manually. If you choose this setting, then you should obtain a proper IP address from your network administrator. If the IP address is not properly configured, the computer will not be able to communicate on the network and could potentially affect the communication of other computers on the network.
Setting Windows Update
Once you have your operating system installed and a network connection established, the next
step is to protect the operating system from unwanted intrusion. Periodically, Microsoft discovers a security threat to the operating system and publishes a patch on its website, making it available for download. The best way to keep up with all of the available patches is with the help of the Windows Update feature of Windows XP. Exercise 1.3 illustrates the steps to set the
Windows Update feature. Windows Automatic Update retrieves only the critical updates. To view, download, and install other Windows Updates and newly released drivers, you should
visit the Windows Update site at http://windowsupdate.microsoft.com.
Activating Windows XP.
A new feature has been added to Windows XP to combat software piracy and casual copying.
In addition to entering the 25-character product key during the setup process (as with previous
versions of Windows), you must also activate the software within 30 days of installation. This
new feature is referred to as Windows Product Activation (WPA).
In most cases, activation of the software is automatic. After the installation has completed
successfully and you have established a network connection, Windows XP will ask you if you
would like to activate the software. The system will use your Internet connection to connect to
Microsoft to activate the software. The whole process takes only a few seconds to complete.
You can also activate the software by calling Microsoft, giving the automated system the product key that came with the software, and following the instructions that you are given.
15. Performing and Troubleshooting an Attended Installation of Windows XP EXERCISE 1.3
Setting Windows Update
1. Open the System applet in Control Panel.
2. Click the Automatic Updates tab.
3. Select the Keep My Computer Up To Date check box.
4. Choose from the following options:
a. Notify Me Before Downloading Any Updates And Notify Me Again Before Installing
Them On My Computer
You should choose this option if you are using a dial-up connection and you do not
want to tie up the connection with the downloads.
b. Download The Updates Automatically And Notify Me When They Are Ready To
Be Installed
You should choose this option if you are using a high-speed, always-on connection
such as a cable modem or digital subscriber line (DSL) connection. An alert bubble will
pop up from the system tray area to let you know when the download has arrived. You
can accept or reject any download.
c. Automatically Download The Updates, And Install Them On The Schedule That I Specify
You should choose this option when you want to specify the time that Windows Update
runs. The default time is 3:00 A.M. every day. Windows Update will download and
install each critical update that is available when it runs.
16 Chapter 1 Installing a Windows Desktop Operating System
Activation and registration are very different. Activation does not require you
to divulge your name or any personal information. Your choice to register the
software is completely separate from your choice to activate it. Registration
does ask for some personal information.
As part of the activation process, Microsoft examines and registers key hardware components
in your computer system. Because of this, if you decide to reinstall the operating system
on the same computer, you can reinstall it without activating it again. However, if you
upgrade your hardware or replace your computer completely and then reinstall the operating
system, you might have to reactivate the Windows XP operating system as well. In this case,
the activation will not be automatic, and you will need to call your Microsoft customer representative at the telephone number listed on the software in the activation wizard. You will
need to explain the situation to the Microsoft customer representative and then follow the
directions given by the representative. There are some cases where you may not need to activate the Windows XP operating system software. These are as follows:
The manufacturer of the computer has activated the software: In this case, the software is
likely to be associated only with the computer BIOS. You can therefore reinstall the operating
system and upgrade the hardware as many times as you want as long as you don’t
change the BIOS of the computer.
Volume License Agreements: Businesses that purchase multiple copies of operating system
software might receive software and a product key from Microsoft that allows them to
install the software without requiring activation.
Using Log Files to Troubleshoot Installations:
Windows XP automatically generates log files that can help you determine the cause of a
failed installation. These files are automatically created in the folder that you designated as
the systemroot, usually the Windows folder. Depending on how far the installation progressed,
you can view these files on the computer on which you are installing the operating
system or copy them to another computer and view them there. You should open the files with
Notepad and examine them for clues as to what may have gone wrong in the installation process.
The following are log files created by the installation and a brief description of the clues
that they may contain:
Setuplog.txt: Describes the tasks performed during setup.
Setupapi.log: Lists hardware and driver detection and installation issues.
Setuperr.log: Created if errors occur during setup.
Setupapt.log: Records actions that are taken during setup.
PNPlog.txt: Lists Plug and Play hardware and driver detection issues.
17. Performing and Troubleshooting an Unattended Installation of Windows XP
Performing and Troubleshooting an Unattended Installation of Windows XP
If you install client operating systems infrequently, then you might be completely satisfied with
the attended installation method. On the other hand, if you are responsible for installing many
client operating systems, then you might like to know of ways to further automate that process
and answer the questions that the system asks on every installation.
Administrators who are responsible for many installations of operating systems might use
the Setup Manager Wizard or text editor to create special files called answer files and uniqueness database files (UDFs). As a desktop support technician, you should be aware of how these files are used in the installation of the operating system.
Another tool that administrators might use to install many client operating systems is Remote
Installation Services (RIS). In this case, the administrator might create and test a client computer and then image that client computer into a server so that it can be installed on future client computers.
This method requires specific hardware and configuration to function properly.
We will now discuss each of these methods of unattended installation in greater detail.
Answer Files
An answer file is a text file that provides configuration settings that would otherwise be entered
by the administrator during setup. The answer file provides answers that are common to all of
the computers that are to be installed using it. Each entry in the answer file is divided into two
parts, the section title and the settings. Figure 1.3 shows an answer file that was created using
the Setup Manager Wizard. We will now discuss each of these parts in this file.
Section Title
A section title indicates the category of the settings that follow it. Section titles in an answer file
might include Userdata, Identification, Networking, etc. The more complex the file, the more
section titles will be included in it. Each section title can contain many settings.
Settings
Within each section title, the configuration settings are created using keys and values. These
take the form of Key=Value, where the key represents the parameter and the value represents
the actual configuration setting for the computer. For example, Computer Name=Sybex1 is a
setting. As mentioned before, each section title can have many settings.
Uniqueness Database Files
Whenever more than one computer name is entered into answer file created by the Setup Manager Wizard, a uniqueness database file (UDF) named unattend.udb is automatically created. The UDF provides computer settings that are unique to each computer. It is created with syntax that is very similar to that used for an answer file.
18 Chapter 1 Installing a Windows Desktop Operating System
FIGURE 1 . 3 Example of unattend.txt file
A UDF is divided into two sections. The first section, named UniqueIDs, provides the computer
names and the sections of data to be replaced or merged with the answer file for each individual
computer. Figure 1.4 is an example of the first section of a UDF.
The second section contains the actual values that Setup will use for these sections. Figure 1.5
shows the settings in the second section of a UDF. Initially, the UDF contains only the computer
names to be used, but it can be modified to contain other settings that can be individually configured during setup.
In most cases the values in the UDF will be used instead of the values in the answer file for
the same computer. The only time that a value will be used from the answer file is when there
is no corresponding value in the UDF. In some cases, if there is a key specified but no value specified in a UDF, then no value will be automatically set and the user will be prompted to input
the information. If the UDF has an entire section that the answer file does not have, then Setup
will use the section and its keys and values. Table 1.2 illustrates the priority that Setup gives
answer files and UDFs.
FIGURE 1 . 4 Example of the first section of an unattend.udb file
19. Performing and Troubleshooting an Unattended Installation of Windows XP
FIGURE 1 . 5 Example of the second section of an unattend.udb file
Remote Installation Services
Remote Installation Services (RIS) allows network administrators who are in charge of many
computer installations to more easily deploy those installations through the network. The only
clients that can use RIS are Windows 2000 Professional and Windows XP Professional. As a
desktop support technician, you are responsible for understanding only the client portion of the
RIS setup. Since RIS requires significant setup on the server and the network as well, many
issues related to RIS will be escalated to the network administrator.
In order for computers to use RIS, they must have at least one of the following three
components:
A Net PC–compliant motherboard: A RIS-compliant network interface card built into the
motherboard of the computer.
A preboot execution environment (PXE)–enabled network interface card installed in the
computer.
TABLE 1 . 2 Priority and Use of Answer Files and UDFs
Answer File UDF Result
Key and value specified Key not specified Value in answer file used
Key not specified Key and value specified Value in UDF used
Key and value specified Key and value specified Value in UDF used
Key not specified Key specified without value No value set; user may be
prompted for input
Section and/or key not specified Key and value specified Section and/or key created
and used by Setup
20 Chapter 1 Installing a Windows Desktop Operating System
A network interface card that is compliant with the software but not PXE-compliant and
the special RIS boot disk created by the network administrator. The RIS boot disk must be
in the floppy drive of the client computer on which the software will be installed.
Once the computer has met one of these conditions and the network administrator has prepared
the image and made the connections to the computer, the client software can be installed
through the network as follows:
1. The user or administrator restarts the computer and presses F12 to perform a network boot.
2. The computer broadcasts on the network for the presence of a Dynamic Host Configuration
Protocol (DHCP) server.
3. The DHCP server responds with the address of the RIS server.
4. The computer connects to the RIS server, and the user or administrator is presented a selection
of operating systems from which to install. These can be in a user-friendly format, such
as “Windows XP for 3rd Floor Accounting.”
5. The user or administrator selects the appropriate image, and the installation proceeds
automatically.
Since RIS requires that the DHCP server, DNS, Active Directory, and all physical
connections be correct, many issues related to its installation will be escalated
to the network administrator. As an MCDST, you should be familiar with what
is required for the system to operate properly, so you know when to escalate
the issue.
Performing and Troubleshooting an Upgrade Installation of Windows XP
If a user currently has a working installation of Windows but wishes to upgrade the client software to Windows XP, she can begin the upgrade by simply placing the Windows XP CD into
the CD-ROM drive and closing it. The computer will likely detect the Windows XP CD and
offer to run the upgrade. As a desktop support technician, you should be aware that what
seemed to start out very simply can get much more complicated very quickly. Whether the computer can be successfully upgraded to Windows XP will depend upon the hardware installed in the computer. How well the upgrade will work will further be determined by the drivers and
other software that are to be upgraded. All client computers with Windows 95 or later operating
systems can be upgraded to Windows XP.
If a user is upgrading both her computer and her operating system (changing computers),
then the task is further complicated because she may want to make sure that she retains her settings and configurations from the current operating system. These can be very important to
some users.
21. Performing and Troubleshooting an Upgrade Installation of Windows XP
You can use the Upgrade Advisor to run a test and create a report that you can examine for
any inconsistencies with the Windows XP operating system. In this way, you can ensure that the
upgrade installation will go smoothly, without any surprises. In addition, if the user is changing
computers, you can use the User State Migration Tool and/or Files and Settings Transfer (FAST) Wizard to transfer configuration settings and files from the current computer to the new one. We will discuss these tools and their use in greater detail in this section.
Using the Upgrade Advisor.
The Upgrade Advisor is software built into the Windows XP operating system disk and/or available from Microsoft’s website at http://www.microsoft.com/windowsxp/pro/howtobuy/
upgrading/advisor.asp. The software checks a computer for compatibility and automatically
creates a report listing problems that you might encounter during the upgrade process. The report might even direct you to install a service pack or patch before continuing the installation. When upgrading from Windows 98 or Millennium Edition, the system may even suggest that you uninstall some programs before continuing an installation and then reinstall them after the installation is complete. Exercise 1.4 outlines the steps for using the Upgrade Advisor. This exercise can be performed on a computer running Windows 95, Windows 98, Windows Millennium Edition, Windows 2000 Professional, Windows XP Home Edition, or even Windows XP Professional.
Using the User State Migration Tool
A user state refers to the configuration settings applied to a user’s computer. These could
include settings such as background, screen saver, font, resolution, etc. In a large organization,
administrators might want to standardize and record these settings so that they can be reproduced
on computers throughout the organization. Administrators use the User State Migration
EXERCISE 1.4
Using the Upgrade Advisor for Windows XP
1. Insert the Windows XP CD into the CD-ROM drive and close it.
2. The system will recognize the CD, and you will see a screen that says “Welcome to
Microsoft Windows XP.” If you do not see this screen, then browse the disk and click on
the setup.exe file to access the Welcome screen.
3. Click on Check System Compatibility.
4. Click on Check My System Automatically.
5. The system will run an abbreviated version of Setup and produce a report that lists problems
that you might encounter regarding hardware and software. The report might contain
instructions to download upgrade packs or temporarily uninstall some software. You
should follow the instructions in the report.
22. Chapter 1 Installing a Windows Desktop Operating System
Tool (USMT) built into Windows XP to record and distribute a user state to multiple computers.
The USMT is located on the Windows XP CD in the VALUEADD\MSFT\USMT folder. You can
also copy the entire USMT folder to your computer to use the tools it contains.
The USMT consists of two main commands, each with multiple switches. We will discuss the
two main commands in the User State Migration Tool in this section.
Scanstate
Scanstate is used to create an “electronic recording” of the settings in a computer. You can use
scanstate to record the settings on all Microsoft clients later than Windows 95. Using the switches provided by the USMT, you can further configure scanstate to record registry settings or give more or less output. To see the syntax and switches for scanstate, you can type scanstate /? on the command prompt in the folder that contains the USMT files.
Loadstate Loadstate is used to configure a computer or computers with the settings that were recorded with scanstate. You can use loadstate with all clients later than Windows 95. Using the switches provided by the USMT, you can configure loadstate to migrate registry settings, log errors, and load only specified files. To see the syntax and switches for loadstate, you can type loadstate /? on the command prompt in the folder that contains the USMT files.
Remember that Scanstate gathers the information from the source computer
and Loadstate configures the information to the destination computer.
Using the Files and Settings Transfer Wizard.
The Files and Settings Transfer (FAST) Wizard can be used only on computers that are not a
member of a domain. On stand-alone computers or computers that are part of a workgroup, the
FAST Wizard can be used to make it easier to copy files and settings from an old computer to
a newer one. To locate the FAST Wizard, you should choose Accessories from the All Programs
menu and then choose System Tools.
The FAST Wizard refers to the two computers involved in the transfer as the Old computer
and the New computer. On the Old computer, the wizard walks the user through the process
that allows him to choose whether to transfer files, settings, or both. The user can even create
a custom list of files that he wants transferred from the Old computer to the New computer.
The files and settings are then stored on a shared drive or removable media or are sent to the
computer through a direct transfer. Figure 1.6 shows the options available in the FAST Wizard.
The computer that will receive the files must be configured with the FAST Wizard as the
New computer. Similar configuration settings are required for the Old computer. The user
chooses where the files and information will be read from and how the computer will be configured.
He can configure to read the shared drive, use removable media, or use direct transfer
to receive the data.
Performing and Troubleshooting a Multiboot Installation of Windows XP 23
FIGURE 1 . 6 Transfer method selection dialog box in FAST Wizard
The FAST Wizard transfers only data files to the new computers. You still have
to install the applications that run the data files.
You should be familiar with the basic workings of the Files and Settings Transfer
Wizard. You should also know that you are unlikely to have to troubleshoot
this tool in a corporate environment because it cannot be used on computers
that are members of a domain.
Performing and Troubleshooting a
Multiboot Installation of Windows XP
If the computer that you are using already has a Windows 32-bit (Windows 95 or later) operating system and you have at least two partitions defined, then you can install a clean copy of Windows XP without disturbing your current installation or any of the applications that it uses. If you do this properly, then the system will automatically change the boot.ini file, and you
will be prompted to choose the operating system that you wish to boot to at each new startup.
24. Chapter 1 Installing a Windows Desktop Operating System
You can use this multiboot installation method to run multiple and different Windows operating
systems on the same computer. You can also use this method to install multiple instances of
Windows XP on the same computer. In this way, you could use one instance for experimentation
and troubleshooting and another for your main operating system.
To run multiple virtual operating systems within one operating system, you can also use virtual operating system software such as VMWare or Microsoft's Virtual PC.
Creating Your Own Test Environment
One thing that has been invaluable to me is the hands-on experience that I’ve received through
network administration, consulting, and setting up classrooms. Even if you don’t get the
chance to work with a large number of computer installations, you can still benefit greatly from
the experience of setting up a multiboot computer test environment. If you have an old desktop
that is at least a PII 233 with 64 MB of RAM, it will do just fine. If you have an old laptop, that
might be even better.
Start out by obtaining as many types of operating system software as you can find. You can
often get free evaluation software by attending a Microsoft class or by browsing the Microsoft
website at www.microsoft.com/technet/downloads. Get a trial copy of some client and server
operating systems.
After you have the software in hand, completely format and repartition the computer that will
be your test computer. Of course, you should make sure that you have a backup of anything
that was on the computer that you might need later. Create partitions that are about 4 GB in
size, and create as many as you can on your disk.
Next, begin installing the operating systems that you have obtained in order of their hierarchy
from lowest to highest. As you install each system, you will test yourself on display drivers, network card drivers, USB drivers, and perhaps printer drivers. See if you can make everything
functional on one operating system before moving on to the next one. See how many operating
systems you can get working on one computer!
You will learn a tremendous amount from setting up a computer in this fashion. In addition,
you will then have a tool that you can use to test drivers and applications. Finally, you can also
load your certification study material on the computer and study for the test in the operating
system that you are learning. If you don’t know the answer to a question, you can often just
Alt+Tab out of the study material and find the answer within the operating system software. If
you find the answers that way, you are much more likely to retain the information for the test
and for real life.
25. Summary
If you are troubleshooting a multiboot installation that was attempted by a user, then you
should be aware of the following:
The operating systems should be installed in hierarchical order with the lowest first. For
example, if a user wants to multiboot Windows 98 and Windows XP Professional, then he
should install Windows 98 first.
Each operating system must be installed on its own partition. Microsoft recommends that
you install each operating system on a primary partition.
The active partition will contain the boot.ini file and must be formatted with a file system that
is common to both operating systems. For example, if you are dual-booting Windows 98 and
Windows XP Professional, then the active partition must be formatted with FAT or FAT32.
The boot.ini file will bring up the operating system selection screen when the computer
is booted. You can choose the operating system to boot to or let a 30-second timer run
down and accept the default.
You can change the operating system selection and timeout value in the Startup and Recovery
Settings within the Advanced tab of System properties.
Summary
It’s important that you understand how operating systems should be installed so that you can
troubleshoot failed installations. There are four main types of operating system installation:
Attended
Unattended
Upgrade
Multiboot
An attended installation is the most time-consuming to perform because the user or administrator has to “baby-sit” the installation and respond to all of the prompts and questions. The main concerns with an attended installation are the preparation before the installation. Compatibility issues with hardware and software can cause an installation to fail. You can reduce
failures and troubleshoot failed installations using the Windows Catalog and the hardware
manufacturer’s websites to obtain the latest information regarding compatibility.
An unattended installation uses either an answer file or Remote Installation Services. In the
case of an answer file, you should know how to examine the file for obvious errors and then
escalate the problem to the network administrator who created it. In regard to Remote Installation Services, you should be familiar with the client portion of the remote installation. The client requires connectivity to the network and some type of network boot provided by a Net PC–or a PXE-compliant card. You can also use a Windows XP–compliant card and a RIS boot disk on the client.
An upgrade installation is an attempt to gain greater benefits from the new operating system
features without losing anything else. The main concern regarding an upgrade installation is the
26. Chapter 1 Installing a Windows Desktop Operating System
compatibility of the currently working hardware and software with the new operating system.
Users will also be concerned about losing data and/or functionality as a result of the upgrade.
A multiboot installation means adding another operating system to a computer that is
already functioning with one or more. The trick is to keep both of the operating systems functional.
You should install operating systems in hierarchical order with the lowest first. The system
will automatically change the boot.ini file to accommodate the new operating systems.
You can use these new systems for fault tolerance and for testing and experimental purposes.
Exam Essentials
Know the minimum requirements to install Windows XP. Although you will probably never
install Windows XP on a computer that meets only the minimum requirements, it is still important to know these specifications for the test. You may need to define which components will need to be upgraded to install the operating system.
Understand the differences between file systems. You should understand the advantages and
disadvantages of the main file systems that Microsoft clients use. You should also know which
clients can use which file systems. Multiboot scenarios might require this knowledge.
Understand how answer files and UDFs operate. You don’t need to be an expert on the syntax
in answer files, but you do need to know what happens if a setting in a UDF conflicts with
a setting in an answer file. You should also know what will happen if there is a section in a UDF
that does not exist in an answer file for the same computer.
Know how to use the Upgrade Advisor. You should know how to use the Upgrade Advisor
by inserting the Windows XP CD and selecting the options to check compatibility. You should
also know the location of the file on the Windows CD and on the Internet.
Know what is required to create a successful multiboot. You should know the basics of what
is required to create a successful multiboot, for example, the order of installation of multiple
operating systems and your options for file systems on the system partition. You should be
familiar with the fact that the boot.ini file will be changed automatically by the operating system
when you create a multiboot installation.
27. Review Questions
Review Questions
1. You are the desktop support technician for a large company. Management is considering
upgrading some older Windows 98 clients to Windows XP Professional. The client computers
have PII 233-MHz processors with 16 MB of RAM. They all have at least 2 GB of free disk
space. In addition, they have 8X CD-ROM drives and SVGA display adapters. Which component(s) will require upgrading before installation can begin? (Choose all that apply.)
A. Processor
B. RAM
C. CD-ROM
D. Free disk space
2. You are the desktop support technician for your organization. One of the users who is
attempting to install Windows XP is encountering stop errors. You suspect that some of the
hardware in the computer is not compatible with Windows XP. You obtain a list of the hardware
installed in the computer. Which of the following resources should you use to determine
the compatibility of the hardware? (Choose two.)
A. The Windows Update website
B. Windows Catalog
C. The website of the manufacturer of the hardware
D. Microsoft TechNet
3. You are the desktop support technician for a large company. You are called in to assist on a
failed Windows XP installation. You want to make sure that the correct bootstrap files are on
the system partition. Which of the following files must be on the system partition in order for
Windows XP to load and start? (Choose three.)
A. autoexec.bat
B. ntldr
C. boot.ini
D. ntoskrnl.exe
E. config.sys
4. You are the desktop support technician for your company. You want to multiboot a computer
with Windows 98 and Windows XP Professional. Which of the following file systems could you
use for the system partition of the computer? (Choose all that apply.)
A. FAT
B. NTFS
C. FAT32
D. None of the above
28 Chapter 1 Installing a Windows Desktop Operating System
5. You are the desktop support technician for your company. You have installed a new (out of the
box) hard drive on a computer and you want to begin setting it up to store data. Which of the following
should be your first step?
A. Format the hard drive to create the partitions.
B. Ensure that the boot order in your setup reads the hard disk first.
C. Use fdisk to create the partitions on the drive.
D. Delete the low-level format installed at the factory.
6. You are the desktop support technician for your company. You are troubleshooting a failed
unattended installation. Upon examination of the answer file and UDF used for the installation,
you discover that there is a section in the UDF that is not mentioned at all in the answer file.
Which of the following should occur during installation?
A. The section and its keys will be created and used by Setup.
B. The installation should fail because the answer file is incomplete.
C. Setup should prompt the user for a response.
D. The section and its keys should be ignored by Setup.
7. You are the desktop support technician of a large company. You want to create a standard for
settings such as background, screen saver, and font size. You have configured the computer settings
on your test computer connected to your domain. You would like to save the settings to a
file and load them to other computers on your domain. Which tool should you use to capture
and save the configuration settings?
A. loadstate.exe
B. Files and Settings Transfer (FAST) Wizard
C. fdisk.exe
D. scanstate.exe
8. You are the desktop support technician for your company. You are troubleshooting a failed RIS installation. You suspect that the computer was unable to obtain an IP address. You wish to
escalate the problem to the network administrator. Which type of server should have assigned
the computer an IP address during the installation?
A. Domain controller
B. DHCP server
C. DNS server
D. RIS server
Review Questions 29
9. You are the desktop support technician for a large company. You are troubleshooting a failed
installation using the log files created by the installation. Which file describes all of the tasks performed during startup, whether they succeeded or not?
A. setuplog.txt
B. PNPlog.txt
C. setuperr.log
D. setupapi.log
10. You are the desktop support technician for your company. Security is always a key concern in your organization. You are creating a multiboot installation with Windows 2000 Professional
and Windows XP Professional on the same computer. Which of the following file systems should
you use for the system partition?
A. FAT
B. NTFS
C. FAT32
D. All file systems are equal in this case.
30 Chapter 1 Installing a Windows Desktop Operating System
Answers to Review Questions
1. B. The minimum RAM requirement for installing Windows XP is 64 MB. The installation will
fail if the client computer does not have at least the minimum requirement. The processor should
probably be upgraded as well, but it barely meets the minimum requirement. The 8X CD-ROM
(or any CD-ROM) meets the requirement. The minimum requirement for free disk space is
1.5 GB, so the client computers exceed the minimum requirement.
2. B, C. The Windows Catalog contains a list of hardware that is designed for and/or compatible
with Windows XP. You should check the catalog first. If you do not find the hardware
listed in the Windows Catalog, then you can also check the website of the manufacturer of
the hardware. The Windows Update and TechNet websites do not contain information
about hardware compatibility.
3. B, C, D. The system partition contains the files that are required to boot the Windows XP operating
system. The files that must be in the system partition in order for Windows XP to load and start are
ntldr, boot.ini, and ntoskrnl.exe. The autoexec.bat and config.sys files are configuration
files for Windows 9x operating systems, not for Windows XP.
4. A, C. You must format the system partition with a file system that is common to both operating
systems. Windows 98 cannot use the NTFS file system, but Windows XP can use all three of the
file systems; therefore, you should format the system partition with FAT or FAT32.
5. C. If you have a new hard drive from the factory, then the only formatting on it is low-level formatting.
Your first step should be to use the fdisk tool or the Windows XP CD to create partitions.
Formatting does not create partitions; you can format a partition only after you have
created it. You should not delete the low-level format installed at the factory.
6. A. When a section and/or key is mentioned in the UDF but not in the answer file for the same
computer, the section and/or key will be created and used by Setup. If this does not happen, then you should escalate the issue to the network administrator or the creator of the files. The installation should not fail because of this occurrence. Setup will not prompt the user for a response. The section and/or key should not be ignored by Setup.
7. D.You should use the scanstate tool from a command prompt to capture configuration settings
of a computer that is a member of a domain. You should use loadstate.exe to distribute the
settings to the other computers in the domain. You can use the Files and Settings Transfer
(FAST) Wizard only for stand-alone computers or for computers that are part of a workgroup.
Fdisk.exe is not the correct tool to use to collect computer settings.
8. B. In order for a Remote Installation Services (RIS) installation to succeed, the computer must obtain an address from the Dynamic Host Configuration Protocol (DHCP) server. Domain controllers, DNS servers, and RIS servers are all involved in the process of a RIS installation, but they do not assign IP addresses to the client.
9. A. The setuplog.txt file records all of the events in a startup. You can examine it to see what
occurred just prior to the failure of the installation. The PNPlog.txt file and setupapi.log file
record the detection of devices and drivers. The setuperr.log file is created only when errors occur and records only the errors.
Answers to Review Questions 31
10. B. Since security is always a key concern in your organization, you should use the file system that is the most secure and is common to both of the operating systems that you are installing. In this case, since both Windows 2000 Professional and Windows XP Professional can use NTFS and since NTFS has much greater security, you should use NTFS. All file systems are not equal; FAT and FAT32 do not offer the security features that NTFS offers.
10 Windows Tip and Tricks
Version 1.0 March 27, 2007 10 Windows XP tips and tools to simplify your work By Greg Shultz
Table of contents
Launch System Restore from a command prompt in Windows XP..............................................................2
Speed up Windows XP's Search Companion...............................................................................................2
Keep track of multiple Windows XP computers with BGInfo........................................................................3
Remove clutter with Windows XP SP2's Duplicate Finder tool....................................................................3
Launch Windows Explorer with administrative privileges on Windows XP Pro............................................4
Get a GUI for RoboCopy in Windows XP.....................................................................................................5
Take advantage of the Windows XP Start menu's pinned items list.............................................................6
Investigate Internet Explorer add-ons in Windows XP..................................................................................6
Determine whether USB 2.0 is on your Windows XP machine....................................................................7
Clear the Windows XP Run command's MRU list........................................................................................7
Additional resources....................................................................................................................................8
Page 1 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work.
Launch System Restore from a command prompt in Windows XP
If your Windows XP system begins acting strange, a typical fix is to use System Restore to remove any system changes made since the last time you created a Restore Point. However, what if the problem is so bad that you can't start Windows XP normally—or even start the system in Safe Mode?
The good news is you can run System Restore from a command prompt. Here's how:
1. Restart your computer and press [F8] during the initial startup.
2. When you see the Windows Advanced Options Menu, select the Safe Mode With A Command Prompt option.
3. Select the Windows XP operating system.
4. Log on to your computer with an administrator account or with an account that has administrator credentials.
5. Type the following command at a command prompt:
C:\windows\system32\restore\rstrui.exe
When you see the System Restore window, the graphics may look odd, but you can still follow the onscreen instructions to restore your computer to an earlier state.
Speed up Windows XP's Search Companion
One reason that Windows Vista's Search tool is so fast is that instead of searching your whole hard disk, it searches only the Documents folders. So the next time that you pull up Windows XP's Search Companion, click All Files And Folders and select My Documents in the Look In drop-down list. This prevents the Search Companion from searching the entire hard disk.
If you want to search documents stored in the root folder, you can still speed up the process by removing system folders from the search. Click All Files And Folders, open the More Advanced Options panel, and clear the Search System Folders check box. If the Search Hidden Files And Folders check box is selected, clear it too.
If you have a lot of ZIP files (or compressed folders, as Windows XP calls them) on your hard disk, the Search Companion will search through each of those as well, albeit more slowly. To prevent the Search Companion from searching through compressed folders, either move all your compressed folders to the root folder and then configure the Search Companion to search only the My Documents folder or disable Windows XP's support for compressed folders.
It's not unusual to use System Restore to fix strange Windows XP system behavior—but depending on how damaged your system seems to be, you may need to call for more advanced measures. Here's how to launch System Restore from a command prompt.
Note: This tip applies to both Windows XP Home and Windows XP Professional.
There's lots of buzz about Windows Vista's speedy search features, but what can you do to speed up Windows XP's Search Companion? Here's how to optimize your search with speed in Windows XP.
Note: This tip applies to both Windows XP Home and Windows XP Professional. Also remember that editing the registry is risky; so be sure you've performed a full backup
Page 2 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work
Working with multiple Windows XP computers from the same screen? Clear up potential confusion by using BGInfo, or Background Information. Here's a look at the benefits of this free program.
To disable this support, access the Run dialog box, type the command regsvr32 /u zipfldr.dll in the Open text box, and click OK. You'll need to restart the system for the change to take effect. (To re-enable Windows XP's support for compressed folders, use the command regsvr32 zipfldr.dll.)
What if the Search Companion is disabled?
If you've disabled Windows XP's Search Companion interface and are using the Windows 2000 Search interface instead, you'll need to make the following adjustments to this tip:
To search My Documents, select My Documents from the Look In drop-down list.
To remove system folders from the search, click Search Options, select the Advanced Options check box, and then clear the Search System Folders check box. (If the Search Hidden Files And Folders check box is selected, clear it too.)
To prevent the searching of compressed folders, you can use the same technique as you would for the Search Companion. Keep track of multiple Windows XP computers with BGInfo
Do you regularly work with multiple computers using a Keyboard Video Mouse (KVM) switch? If so, you know that it's easy to get confused about which computer you currently have on the screen. Of course, you can find out on your own, but doing so takes several steps and can be distracting—especially if you're in the middle of an important or lengthy task.
Fortunately, there's a solution in a program called BGInfo, which is short for Background Information. When Microsoft acquired Sysinternals, it also acquired a whole library of cool little utilities that fall along the lines of Microsoft's own PowerToys, and BGInfo is one of them.
Once installed, BGInfo displays relevant information about a computer on the desktop's background. For example, you can configure BGInfo to display the computer name, IP address, service pack version, boot time, amount of free space, and much more. You can even choose the font and background color. You can download BGInfo from Microsoft's TechNet site. You'll also find detailed instructions on how to install and use BGInfo. Remove clutter with Windows XP SP2's Duplicate Finder tool.
Even if you're a conscientious computer user (i.e., you regularly delete unnecessary files, empty the Recycle Bin, and run Disk Defragmenter), you may be unaware of a potentially big waster of hard disk space: duplicate files. Applications can litter your hard disk with duplicate files, and you can create duplicate files yourself by copying files from one folder to another.
Hidden clutter exists on your Windows XP machine in the form of duplicate files. Here's how to free up valuable hard disk space by doing some spring cleaning with the Duplicate Finder tool.
Note: This tip applies to both Windows XP Home and Windows XP Professional.
Page 3 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work
Windows XP's default installation doesn't provide you with a decent utility for tracking down duplicate files. However, Microsoft does have a tool called Duplicate Finder, which is part of the Windows XP Service Pack 2 Support Tools. Here's how to install and use the Duplicate Finder tool:
1. Download the Windows XP Service Pack 2 Support Tools and follow the instructions for installing the Complete installation version.
2. Open the Run dialog box by pressing [Windows]R.
3. Type Dupfinder in the Open text box and click OK.
4. Once DupFinder loads, simply select the drive or folder to search and then click the Start Search button.
5. When DupFinder completes its search, you can scan through the list and examine the duplicate files.
Here are some tips for working with the list of duplicate files:
1. Use either the Print Report or Export Data command on the File menu to create a permanent record of the duplicate files.
2. Use the Sort command on the View menu to reorganize the list for better analysis.
To get more detailed information about any file, select the file, pull down the File menu, and select the Info command.
3. Leave duplicate files in the Windows folder and its subfolders alone.
If you don't recognize the duplicate file, it's better to use the Rename or Move commands on the File menu rather than the Delete command.
4. Launch Windows Explorer with administrative privileges on Windows XP Pro
When you're working on a user's computer and need to perform an administrative task from within his or her Windows XP Pro limited user account, you can use the Run As command to launch certain utilities with administrative account privileges.
However, if you try to use Run As to launch Windows Explorer with administrative privileges, nothing happens. This is because Explorer.exe is already running and only one instance of Explorer can run at a time. More specifically, when you launch Explorer.exe, the first thing it does is check to see whether it is already running. When the second instance of Explorer.exe sees that the first instance of Explorer.exe is running, the second instance of Explorer.exe closes without any outward notification. Here's how you can work around it.
Internet Explorer 6
Internet Explorer 6 will work with Run As and will allow you to tap into Windows Explorer. Here's how:
1. Right-click on the Internet Explorer icon in the Quick Launch toolbar and choose Run As. (Keep in mind that you can't access Run As from the Internet Explorer icon that appears on the desktop or on the Start menu.)
Do you ever need to perform an on-the-fly administrative task when you're not on your computer? If the computer runs Internet Explorer 6 or 7, you can launch Windows Explorer with administrative privileges on a Windows XP Pro limited user machine.
Note: This tip applies only to Windows XP Professional.
Page 4 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work
2. Fill in the appropriate administrative account credentials in the Run As dialog box.
3. When Internet Explorer launches, type C:\ in the Address bar.
After you follow these steps, Windows Explorer will appear in the same window, and it will be running with administrative privileges.
Internet Explorer 7
If you're using Internet Explorer 7, the steps for Internet Explorer 6 won't work because, as part of the new security features in version 7, Internet Explorer is no longer integrated with Windows Explorer. You must use the standard method for launching Windows Explorer with administrative privileges. Here's how:
1. Log on to the computer with the Administrator account.
2. Access the Control Panel and launch Folder Options.
3. When you see the Folder Options dialog box, select the View tab.
4. Scroll down the Advanced Settings list and select the Launch Folder Windows In A Separate Process check box, click OK, and then log off.
The next time you work on that user's computer and need to perform an administrative task from within the limited user account, you can use Run As to launch Windows Explorer with administrative privileges.
Get a GUI for RoboCopy in Windows XP
If you're like most IT professionals, you probably use the Windows Server 2003 Resource Kit Tool called RoboCopy with Windows XP. RoboCopy is an extremely powerful copy tool that allows you to perform more advanced copy operations than you can with Windows XP's standard copy tools. For example, with RoboCopy, you can create mirror images of large folder tree structures on the same computer or on a network drive.
The only drawback to using RoboCopy is that you have to run it from the command line. This means that to use RoboCopy, you have to remember and type a lot of switches and parameters to really take advantage of all its features.
Fortunately, Derk Benisch, a systems engineer with Microsoft's MSN Search group, created an add-in called RoboCopy GUI. This six-tabbed user interface makes configuring and using RoboCopy a real snap. Not only does the interface provide you with a large set of configuration options via check boxes, radio buttons, text boxes, and Browse dialog boxes, but it also can save your settings, which makes reusing the tool that much easier. Furthermore, RoboCopy GUI comes with a Help file and an extensive reference guide to help you get a handle on all that RoboCopy can do.
You can download RoboCopy GUI. Keep in mind that you must have Microsoft .NET Framework version 2.0 installed prior to installing RoboCopy GUI.
Step up your copying operations with RoboCopy. This Windows 2003 Server tool is also at home on your Windows XP system. Learn why you'll want to tap into this free, powerful resource.
Note: This tip applies to both Windows XP Home and Windows XP Professional.
Page 5 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work
Note: This tip applies to both Windows XP Home and Windows XP Professional.
Take advantage of the Windows XP Start menu's pinned items list
The left panel of the Start menu consists entirely of a divided list of programs that Windows XP thinks will come in handy for you: the pinned items list above the separator line and the most frequently used programs list, displayed below the line.
By default, Windows XP places links to your Internet browser and your e-mail application in the pinned items list and will place as many as 30 shortcuts to the programs you've recently used in the most frequently used programs list. (The most frequently used programs list is, by default, six shortcuts long.)
To really take advantage of the Start menu as a launching area for all the programs you use most often, you can configure the entire left panel as a pinned items list. Here's how:
1. Right-click the Start button and select the Properties command to display the Taskbar and Start Menu Properties dialog box.
2. Click the Customize button adjacent to the Start Menu radio button to display the Customize Start Menu dialog box.
3. In the Programs panel, use the Spin button to set the Number Of Programs On The Start Menu setting to 0. Click the Clear List button.
4. In the Show On Start Menu panel, you can clear the Internet check box because the Internet Explorer icon already appears in the Quick Launch menu by default, and maybe even the E-mail check box, depending on how you launch your e-mail application.
5. Click OK twice—once to close the Customize Start Menu dialog box and once to close the Taskbar And Start Menu Properties dialog box.
6. Click the Start button and access the All Programs submenu.
7. Locate and right-click on the shortcut to a program you use often and select the Pin To Start Menu command.
You can pin as many as 30 of your most often used programs to the Start menu, depending on your screen resolution setting. With your actual favorite programs on the pinned items list, you can now really take advantage of the Start menu.
Investigate Internet Explorer add-ons in Windows XP
When you visit various Web sites, your Windows XP computer may download add-ons—usually ActiveX controls designed to enhance your use of that particular site. Add-ons can include toolbars, software installers, and multimedia file viewers. However, some add-ons may be spyware, which could have devastating effects on Windows XP's performance. So it's worth your time to periodically investigate add-ons in Internet Explorer to make sure that they are all legitimate.
You're probably familiar with Start's left-hand menu—but do you know why the program list is divided in two? Here's what you need to know about the pinned items list found in Windows XP and how you can customize it to easily access your favorite programs.
Note: This tip applies to both Windows XP Home and Windows XP Professional.
When you're on the Internet, your Windows XP computer may be picking up harmless as well as potentially unwelcome add-ons. Greg Shultz explains how to evaluate which IE add-ons you have and what purpose they serve.
Page 6 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work
Note: This tip applies to both Windows XP Home and Professional editions.
The most recently used list is designed to make it easier for you to launch the same Windows XP applications again and again—until the list gets so long you can't find anything. See how to set up a shortcut that clears the list from the Run command.
Before you connect a USB device to your Windows XP machine, learn how to determine whether a USB 1.1 or USB 2.0 controller is on your computer.
Note: This tip applies to both Windows XP Home and Professional editions.
Here's how:
1. In Internet Explorer, go to Tools Manage Add-ons.
2. In the Manage Add-ons dialog box, make sure the Show drop-down is set to Add-ons That Have Been Used By Internet Explorer.
3. Scan through the list and take note of each add-on's name, publisher, status, type, and file.
4. If you discover an add-on you do not recognize, select it and then select the Disable option. Click OK.
5. Point your browser to your favorite search engine and search for the add-on's name to see what you can learn about its origins. If you discover that it is indeed a legitimate add-on, simply return to the Manage Add-ons dialog box and re-enable the add-on.
Determine whether USB 2.0 is on your Windows XP machine
If you plug a USB 2.0 device into a USB 1.1 port, Windows XP will display a warning message indicating that it will drop back to the slower data transfer speed. (USB 2.0 clocks in with a data transfer speed of 480 Mbits/second to USB 1.1's 12 Mbits/second.) To find out what version of USB controller is on a computer before you connect a USB device to it, follow these steps:
1. Press [Windows][Break] to access the System Properties dialog box.
2. Select the Hardware tab and click the Device Manager button.
3. When Device Manager appears, click the + sign next to the Universal Serial Bus Controllers branch.
If you see an entry containing the words Enhanced USB Controller, the system has a USB 2.0 controller. If you see an entry containing the words USB Controller, the system has a USB 1.1 controller.
Clear the Windows XP Run command's MRU list
If you regularly use the Run command to launch applications, you know that Windows XP keeps a record in the registry, called the MRU (most recently used) list, of all the applications you recently launched. When you have the Run dialog box open, you can access the MRU list by clicking the drop-down arrow adjacent to the Open text box.
The MRU list is designed to make it easier for you to relaunch the same applications at a later date. However, this list can grow quite long, making it difficult to find what you want.
Page 7 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html 10 Windows XP tips and tools to simplify your work
Fortunately, you can create a registry shortcut that clears the Run command's MRU list. To do so, follow these steps:
1. Launch the Registry Editor (Regedit.exe).
2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU.
3. Right-click on the RunMRU key and select Export.
4. Name the REG file Clear Run MRU, click the Save button, and close the Registry Editor.
5. Open the Clear Run MRU.reg file in Notepad.
6. Add a minus sign to the beginning of the key name just inside the square brackets.
7. Delete all lines that follow the line containing the key path.
8. Save the file and close Notepad.
9. Reboot Windows (or at least log off and then log back on) for this change to become effective. Now, any time you want to clear the Run command's MRU list, simply locate and double-click on the Clear Run MRU.reg file. When you do so, the Registry Editor will display two dialog boxes: one that prompts you to confirm the operation and the other to let you know the operation was successful.
Additional resources
TechRepublic's Downloads RSS Feed
Sign up for TechRepublic's Downloads Weekly Update newsletter
Sign up for our Windows XP newsletter
Check out all of TechRepublic's free newsletters
"Hacking Windows XP: Answers from the experts" (TechRepublic download)
"Windows XP services that can be disabled" (TechRepublic download)
"10 things you can do when Windows XP won't boot" (TechRepublic download)
Version history
Version: 1.0
Published: March 27, 2007
Tell us what you think TechRepublic downloads are designed to help you get your job done as painlessly and effectively as possible. Because we're continually looking for ways to improve the usefulness of these tools, we need your feedback. Please take a minute to drop us a line and tell us how well this download worked for you and offer your suggestions for improvement.
Thanks!
—The TechRepublic Downloads Team
Page 8 Copyright ©2007 CNET Networks, Inc. All rights reserved. For more downloads and a free TechRepublic membership, please visit http://techrepublic.com.com/2001-6240-0.html
Subscribe to:
Posts (Atom)