السبت، 1 أكتوبر 2011

"Invalid Boot.ini" or "Windows could not start" error messages when you start your computer

When you start your computer after you upgrade to Microsoft Windows XP, you may receive one or both of the following error messages:
Invalid Boot.ini
Windows could not start because the following file is missing or corrupt:

Windows\System32\Hal.dll 
 
 
 
To resolve this issue, start the computer from the Windows XP CD, start the Recovery Console, and then use the Bootcfg.exe tool to rebuild the Boot.ini file. To do this, follow these steps:
  1. Configure the computer to start from the CD-ROM or DVD-ROM drive. For information about how to do this, see your computer documentation, or contact your computer manufacturer.
  2. Insert the Windows XP CD-ROM into your CD-ROM or DVD-ROM drive, and then restart your computer.
  3. When you receive the "Press any key to boot from CD" message, press a key to start your computer from the Windows XP CD-ROM.
  4. When you receive the "Welcome to Setup" message, press R to start the Recovery Console.
  5. If you have a dual-boot or multiple-boot computer, select the installation that you have to use from the Recovery Console.
  6. When you are prompted, type the administrator password, and then press ENTER.
  7. At the command prompt, type bootcfg /list, and then press ENTER. The entries in your current Boot.ini file appear on the screen.
  8. At the command prompt, type bootcfg /rebuild, and then press ENTER. This command scans the hard disks of the computer for Windows XP, Microsoft Windows 2000, or Microsoft Windows NT installations, and then displays the results. Follow the instructions that appear on the screen to add the Windows installations to the Boot.ini file. For example, follow these steps to add a Windows XP installation to the Boot.ini file:
    1. When you receive a message that is similar to the following message, press Y:
      Total Identified Windows Installs: 1

      [1] C:\Windows
      Add installation to boot list? (Yes/No/All)
    2. You receive a message that is similar to the following message:
      Enter Load Identifier
      This is the name of the operating system. When you receive this message, type the name of your operating system, and then press ENTER. This is either Microsoft Windows XP Professional or Microsoft Windows XP Home Edition.
    3. You receive a message that is similar to the following:
      Enter OS Load options
      When you receive this message, type /fastdetect, and then press ENTER.

      Note The instructions that appear on your screen may be different, depending on the configuration of your computer.
  9. Type exit, and then press ENTER to quit Recovery Console. Your computer restarts, and the updated boot list appears when you receive the "Please select the operating system to start" message.
 

How to access the Recovery Console

The Recovery Console is a set of tools which run from a Command prompt. If your system is formatted as NTFS then these tools can help you manage the  partition. You can learn more about the Recovery Console through Help and Support  or
Click here for information about the different commands and their functions .
To run the Recovery Console  from CD boot with the Windows XP CD (or with the optional 6 floppy disk set) and select "R" at the Welcome Screen.
The screen will switch to black and you will be asked which installation to log on to. If you only have one installation you will press "1". Remember that numlock is off at this time.
Next you'll be prompted to enter your Admin password. By default it is created blank so just press Enter.
At the C:\Windows command prompt type "Help" for a list of commands you can use.

How to Repair the Boot Sector:
If XP won't start it may be due to a damaged boot sector or a missing or corrupt ntldr  or ntdetect.com files. 
To replace damaged ntldr and ntdetect.com you can copy fresh files from the XP CD using  the COPY command. Boot with the XP CD and enter the Recovery Console (as above). At the Command Prompt type the following (where "X" is your CD-Rom drive letter) allowing the files  to overwrite the old  files
        COPY X:\i386\NTLDR C:
        COPY X:\i386\NTDETECT.COM C:

To repair a damaged Boot Sector at the command prompt type FIXBOOT and press Enter. Then answer "Y" 

How To Format using the Recovery Console (click for info on How To Access The Recovery Console)

format drive : /Q /FS:file-system
Use the above command (where /Q performs a quick format of the drive, drive is the drive letter of the partition to format /FS:file-system specifies the type of file system to use [FAT, FAT32, or NTFS]) to format the specified drive to the specified file system. For example the following quick formats C partition as NTFS
        FORMAT C: /Q /FS:NTFS 
 the following will do a full format of C as FAT32
        FORMAT C: /FS:FAT32
*** Note: If a file system is not specified, then the existing file system format is retained.
Type EXIT to quit the Recovery Console and restart your Computer

How Partition using the Recovery Console: (click for info on How To Access The Recovery Console)
At the command prompt type DISKPART and press Enter.


An interface is displayed which you can move through with the Arrow Keys. Press "C" to create a partition in unused space. Pressing "D" will delete the highlighted partition.

How To Exit the Recovery Console:
You can not use Ctrl+Alt+Del to quit the Recovery Console. Instead type "EXIT" at the command prompt and Windows will be started.
Boot to Windows.

How to Repair Install:  ***Also removes Service Packs***
Sometimes the only way to repair XP is to reinstall. You do not have to wipe your partition and start over. Just as with previous versions of Windows you can reinstall right over top of an existing setup. This has the advantage of retaining your installed applications, data and settings. You will lose previously saved System Restore Points but System Restore will begin creating new restore points again immediately following the Repair Install. You will need to reinstall SP2 and any Critical Updates from the Windows Update Site. Be aware that a Repair Install will leave your system vulnerable to the Blaster and Welchia worms. Do not go on line until you have enabled XP's firewall first. Then visit the Windows Update Site to patch your system  It is always prudent to backup important data before you make changes to XP.
There are two approaches. The first one should be used if you can still boot to your Windows Desktop. Simply pop the XP CD into the CD-Rom drive and select Install->Upgrade[recommended]. This will install XP overtop of itself in the same way as upgrading from a previous setup. However if your version is an OEM version then you will not have this option. If you do not see the option to Upgrade[recommended] DO NOT choose New Install as that will either overwrite your current setup completely or give you a dual boot setup. Also if you have an older version of XP and have upgraded to a new service pack you will get a message stating that a newer version of Windows was found and you will not be able to run the Upgrade. Create a Slipstream version to solve this problem
If you cannot boot to the Desktop, or you have an OEM version of XP, or you want to remove a service pack then the following should be used to complete a Repair Install.
Boot with the Windows XP CD and at the Setup Screen press the Enter Key
You will be taken to the Windows XP Licensing Agreement. After reading the agreement press F8 to proceed.
The next screen gives you the option to do a fresh (clean) install or to repair the selected Windows XP installation. To run a Repair Install Press "R" at this time.
***CAUTION*** if you do not see the option to repair the selected Windows XP installation DO NOT choose the option to continue installing a fresh copy without repairing as that will overwrite your data and cause unrecoverable data loss.
Windows XP will copy the necessary files to your Hard Drive to begin the installation  and will then reboot. You will see the message that informs you to "Press any key to boot the CD". Do not press any keys this time just wait a few seconds and the Windows Startup Screen will be displayed. Following this you will be greeted by the Windows XP Setup Screens.
When Setup has completed you should find all of your previously installed apps and settings are intact.
How To Determine If XP was Activated?
You installed XP and then can't remember if you activated it. Go to Start->Run and enter the following
 oobe/msoobe /a

How to use the Automatic Recovery feature to recover your computer or your Tablet PC if the Windows XP Service Pack 2 Setup program is not completed successfully

This article discusses how to use the Automatic Recovery feature to restore your computer to its previous configuration if the installation of Microsoft Windows XP Service Pack 2 (SP2) is not completed successfully, and you cannot start your computer or Tablet PC. Follow these steps if your computer or Tablet PC does not start correctly after you try to upgrade from Windows XP to Windows XP SP2. This article also discusses how to collect information about the Windows XP SP2 installation and about your computer or Tablet PC to help troubleshoot issue. The Windows XP SP2 Setup logs, the System Information tool, and the event logs contain information that can help a Microsoft Product Support Services professional who may be working with you to diagnose the issue.

This article discusses how to use the Automatic Recovery feature to recover your computer to its previous configuration if the installation of Microsoft Windows XP Service Pack 2 (SP2) is not completed successfully. Use the procedure that is discussed in this article to recover your computer to a bootable state and to remove Windows XP SP2 if Windows does not start correctly after you try to upgrade your computer from Windows XP to Windows XP SP2. (On a Tablet PC, you upgrade to Windows XP Tablet PC Edition 2005.) This article also discusses how to collect information about the Windows XP SP2 installation and about your computer to help troubleshoot and diagnose the issue.

Recover your computer to a bootable state and remove Windows XP SP2
To recover your computer or Tablet PC to a bootable state and remove Windows XP SP2, follow these steps.

Note The Windows XP SP2 features and components are included in Windows XP Tablet PC Edition 2005.

    Start your computer by using the Windows XP Recovery Console or by using the Microsoft Windows Preinstallation Environment (WinPE), depending on your situation. To start your computer by using the Recovery Console, follow these steps:
        Insert the original release version of the Microsoft Windows XP CD in your computer's CD drive or DVD drive, and then restart your computer.

        Note Your computer must be configured to start from the CD drive or DVD drive. For more information about how to do this, see your computer's documentation or contact your computer manufacturer.
        When the "Press any key to boot from CD" message appears, press a key to start your computer from the Windows XP CD.
        When the "Welcome to Setup" screen is displayed, press R to start the Recovery Console.
        When you are prompted, type the number that corresponds to the installation of Windows that you want to access from the Recovery Console, and then press ENTER. For example, if you have one installation of Windows on your computer, type 1, and then press ENTER.
        When you are prompted, type the Administrator password, and then press ENTER.
    At the command prompt in Recovery Console, type the following lines. Press ENTER after each line.
    cd $NtServicePackUninstall$\Spuninst
    batch spuninst.txt
    exit
    Remove the Windows XP CD from your computer's CD drive or DVD drive, and then restart your computer.
    Run the Windows XP SP2 Removal Wizard to remove Windows XP SP2. To do this:
        Click Start, click Run, type cmd, and then click OK.
        At the command prompt, type the following lines. Press ENTER after each line.
        cd %Windir%\$NtServicePackUninstall$\Spuninst
        spuninst.exe
        Follow the instructions to remove Windows XP SP2.


Collect information about the Windows XP SP2 installation and about your computer or Tablet PC
You can gather information about the Windows XP SP2 installation and about your computer that can help troubleshoot the issue. This information includes the Windows XP SP2 log files, details about the configuration of your computer from the System Information tool, and information that is logged in the application event log and in the system event log in Event view. This information can help a Microsoft Product Support Service professional who works with you to diagnose the issue. To collect this information, follow these steps:

    Locate the Windows XP SP2 Setup log files. The Setup program logs information about the Windows XP SP2 installation to the following log files:
        Setupapi.log
        Svcpack.log
        Spuninst.log
    The log files are located in the %Windir% folder. For example, if Windows XP is installed to the C:\Windows folder, the log files are located in the C:\Windows folder.
    Use the System Information tool to gather information about the configuration of your computer. To do this:
        Click Start, click Run, type msinfo32, and then click OK.
        Click File, and then click Save.
        In the Save As box, click Desktop to save the file to your desktop, specify a name for the file, and then click Save.
    Collect the information that is logged in the application event log and to the system event log. To do this:
        Click Start, click Run, type control admintools, and then click OK.
        Double-click Event Viewer.
        In the left pane, click Application.
        Click Action, and then click Save Log File As.
        In the Save "Application" As dialog box, click Desktop to save the file to your desktop, specify a name for the file, and then click Save.
        In the left pane, click System.
        Click Action, and then click Save Log File As.
        In the Save "System" As dialog box, click Desktop to save the file to your desktop, specify a name for the file, and then click Save.


Method 1: Remove Windows XP SP2 by using the Add or Remove Programs tool in Control Panel

    Click Start, click Run, type appwiz.cpl in the Open box, and then click OK.
    In the list of currently installed programs, click Windows XP SP2, and then click Remove.
    Click Next, and then follow the instructions that are displayed on the screen to remove Windows XP SP2.


Method 2: Remove Windows XP SP2 by using the Spuninst.exe command-line command
To do this:

    Click Start, click Run, type cmd, and then click OK.
    At the command prompt, type the following lines. Press ENTER after each line.
    cd %Windir%\$NtServicePackUninstall$\Spuninst
    spuninst.exe
    Follow the instructions to remove Windows XP SP2.

For more information about how to use the Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:
307654  How to install and use the Recovery Console in Windows XP

For more information about how to obtain Windows XP SP2, click the following article number to view the article in the Microsoft Knowledge Base:
322389  How to obtain the latest Windows XP service pack

الأربعاء، 28 سبتمبر 2011

How to Restore Windows XP to a Previous State

Using System Restore to Restore Windows XP

If Windows XP does not start
  1. Start the computer and then press the F8 key when Windows begins to start. The Windows Advanced Options menu appears.
  2. Use the ARROW keys to select Last Known Good Configuration (your most recent settings that worked), and then press ENTER.
  3. If a boot menu appears, use the ARROW keys to select Microsoft Windows XP, and then press ENTER. Windows XP restores the computer to the most recent restore point.
If Windows XP does start
  1. Log on to Windows as Administrator.
  2. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click System Restore. System Restore starts.
  3. On the Welcome to System Restore page, click Restore my computer to an earlier time (if it is not already selected), and then click Next.
    Welcome to System Restore
    Figure 1. Welcome to System Restore
  4. On the Select a Restore Point page, click the most recent system checkpoint in the On this list, click a restore point list, and then click Next. A System Restore message may appear that lists configuration changes that System Restore will make. Click OK.
    Select a Restore Point
    Figure 2. Select a Restore Point
  5. On the Confirm Restore Point Selection page, click Next. System Restore restores the previous Windows XP configuration, and then restarts the computer.
  6. Log on to the computer as Administrator. The System Restore Restoration Complete page appears.
  7. Click OK.
Top of page

Troubleshooting

You may inadvertently restore Windows XP to a previous configuration that you do not want.
To undo the restoration
  1. Log on to Windows as Administrator.
  2. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click System Restore. System Restore starts.
  3. On the Welcome to System Restore page, click Undo my last restoration, and then click Next. A System Restore message may appear that lists configuration changes that System Restore will make. Click OK.
  4. On the Confirm Restoration Undo page, click Next. System Restore restores the original Windows XP configuration, and then restarts the computer.
  5. Log on to the computer as Administrator. The System Restore Undo Complete page appears.
  6. Click OK.

How to Roll Back a Device Driver, for the IT Pro

Driver Rollback helps ensure system stability. When you update a driver, a copy of the previous driver package is automatically saved in a special subdirectory of the system files (for every driver that you back up, a new value is added to the Backup keys located in the appropriate section of the registry).
If the new driver does not work properly, you can restore the previous driver by accessing the Driver tab for the device in the Device Manager, and clicking Roll Back Driver.
Driver Rollback permits only one level of rollback (only one prior driver version can be saved at a time); this feature is available for all device classes, except printers.
To roll back a driver
  1. Login as Administrator and access the Device Manager: Click Start, and then click Control Panel. Click Performance and Maintenance, and then click System. On the Hardware tab, click Device Manager.
  2. Navigate to the driver you wish to roll back, right click the name of the driver and choose Properties, as shown in Figure 1 below.
    Choosing a driver to roll back
    Figure 1. Choosing a driver to roll back
  3. Click the Driver tab and then click Roll Back Driver, as shown in Figure 2 below.
    Rolling back a driver

Software Installation and Maintenance Scenarios

Scenarios Covered in this Document

This guide covers a few basic scenarios for Software Installation and Maintenance, including:
  • Assigning repackaged Microsoft Word 97 (to users).
  • Publishing Microsoft Excel 97 (using a .zap file).
  • Removing Excel 97.
  • Upgrading Word 97 to Microsoft Office 2000 (using an Office 2000 transform).
  • Assigning Windows 2000 to a computer (a new build).
As the packages for these applications are not included, you may have to modify the step-by-step guide. You may use applications that either natively support the Windows Installer or that you have repackaged for the Windows Installer.
Please note that this guide does not describe all of the possible Software Installation and Maintenance scenarios. You should use this guide to gain an understanding of Software Installation and Maintenance. Then think about how your organization might use software installation and the other IntelliMirror features to reduce TCO.
Note: If you completed the Group Policy step-by-step guide, it may be necessary to undo some of the Group Policy to complete this guide. For example, the Loopback policy disables the ability to access the Add/Remove Programs in the Control Panel.

Assigning Repackaged Word

Whether publishing or assigning software, the basic steps are fundamentally the same. This guide presents a scenario for assigning a repackaged version of Microsoft Word 97 for users.
This procedure assumes that you have already created a Word97 folder in the software distribution point created earlier, and that you are using a repackaged version of Microsoft Word 97.
Note: To assign to users, start in the Group Policy snap-in User Configuration node. To assign to computers, start in the Computer Configuration node.
To assign repackaged Word or other software:
  1. Log on to the HQ-RES-DC-01 server as an administrator.
  2. Click Start, point to Programs, click Administrative Tools, and then click SIM Tool.
  3. In the SIM Tool console, double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Accounts.
  4. Right-click Headquarters, and select Properties from the context menu. In the Headquarters Properties dialog box, click the Group Policy tab. Right-click HQ Policy in the Group Policy Object Links list box, and click Edit to open the Group Policy snap-in.
  5. In the Group Policy snap-in, under User Configuration, double-click Software Settings, right-click Software installation, and then select New from the context menu. Click Package.
  6. In the Open dialog box, click the Word97 folder.
  7. You need to substitute the folder for the software you are going to deploy, from the software distribution point you created earlier.
  8. Click Open. Click Word, and click Open. In the Deploy Software dialog, click Assigned, and then click OK.
Note: If you are going to deploy a Windows Installer package with a transform, you have to select Configure package properties in the Deploy Software dialog so that you can associate the transform with the package. Make any other changes to the properties at this point, before you press OK to either assign or publish the software.
The application is added to the Software Installation snap-in as assigned. After the application is assigned, you can right-click the application entry in the details pane to view the assigned applications property pages.
The application is assigned to all the users managed by the Headquarters GPO.
Verifying the Effect of Assigning Word
To verify the effect of assigning Word 97 to the Headquarters GPO, you can log on to Windows 2000 Professional as a user who is managed by the Headquarters OU. (If you are using the common infrastructure, you could log on to the client as elizabeth@reskit.com, for example.)
When you log on to Windows 2000 Professional, you should see a Microsoft Word icon on the Start menu.
If you select Word, the Windows Installer installs Word for you. While the installation is proceeding, you should see a progress indicator from the Windows Installer. When the installation is complete, Word starts and you can edit a document.
If the software installation becomes damaged, then the next time the user selects Word from the Start menu, if all the key files as defined in the Windows Installer package for Word are present, Word starts. If a key file is missing or damaged, the Windows Installer repairs Word and then starts it.

Publishing Legacy Excel

To publish Excel 97 without repackaging it for the Windows Installer, you must first create a .zap file for Excel. Use the .zap file example in the appendix as a model. You also need to create a folder for Excel97 in the software distribution point you created earlier.
Open the Software Installation snap-in saved previously, and edit the Headquarters GPO. (See the steps in the preceding section.) When you are ready to publish Excel 97, the snap-in should look like it did when you assigned Word 97 in the previous section.
To publish Excel:
  1. In the SIM Tool console, double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Accounts.
  2. Right-click Headquarters, and click Properties.
  3. In the Headquarters Properties dialog box, click the Group Policy tab, click the HQ Policy GPO, and then click Edit to open the Group Policy snap-in.
    In the Group Policy snap-in console tree, under User Configuration, double-click Software Settings, right-click Software installation, and then select New from the context menu. Click Package.
  4. In the Open dialog box, click the Excel97 folder, and click Open.
    In the Files of type combo box, click the down arrow, and then click ZAW Down-level applications package (*.zap). Click Excel97, and click Open.
  5. In the Deploy Software dialog box, the Publish option is already selected, click OK.
Excel 97 is published to the users managed by the Headquarters GPO.
Because a ZAP file publishes the existing Setup, the Setup will not run with elevated privileges. Therefore, you will need to supply administrative privileges during the Setup. This can be done by using the Install Program as Other User dialog box. Accessing this dialog is controlled by policy. A policy called Request credentials for network installations is available in the Group Policy snap-in, under User Configuration\Administrative Templates\Windows Components\Windows Explorer. If enabled, this policy displays the Install Program As Other User dialog box even when a program is being installed from files on a network computer across a local area network. For more information, see the Explain tab on this policy property page.
To set the Request Credentials for network installations policy:
  1. In the SIM Tool console, navigate to the Headquarters OU, and then right-click Headquarters and click Properties.
  2. In the Headquarters Properties dialog box, double-click the HQ Policy GPO to open the Group Policy snap-in.
  3. In the Group Policy snap-in, under User Configuration, click the + next to Administrative Templates.
  4. In the Request credentials for network installations dialog box, click Enabled, and click OK. Close the Group Policy snap-in
    In the Headquarters Properties dialog box, click OK.
  5. In the SIM Tool console, click Save on the Console menu. Click Exit on the Console menu.
Verifying the Effects of Publishing Excel 97
To verify the effect of publishing Excel 97 to the Headquarters GPO, first log on to Windows 2000 Professional as a user who is managed by the Headquarters OU. (If you are using the common infrastructure, you could log on as elizabeth@reskit.com, for example.)
To confirm the effects of publishing Excel 97:
  1. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
  2. In the Add/Remove Programs dialog box shown in Figure 4 below, click Add New Programs.
    Note: Word 97, which was assigned, is listed in the Add/Remove Programs dialog box. This is so that users can add or remove the assigned program if they need to. Even if a user removes the assigned application, it is available for installation again the next time the user logs on.
    Bb742421.instma04(en-us,TechNet.10).gif
    Figure 4: Add/Remove Excel 97
  3. Select Microsoft Excel 97 from the Add programs from your network list, and click Add.
    You should see the Install Program As Other User dialog box shown in Figure 5 below because you are installing a non-Windows Installer based application.
    Bb742421.instma05(en-us,TechNet.10).gif
    Figure 5: Install Program as Other User
  4. In the Install Program As Other User dialog box, click Run the program as the following user, type Administrator in the User Name text box, and type the domain name (reskit) in the Domain box. If you have an Administrator password set for this computer, you must enter this as well.
  5. Click OK.
    Excel now installs using the original Setup program. You should follow the instructions in the original Setup UI to complete the installation. After you have installed Excel, you can close the application.
  6. Close Add/Remove Programs, and then close Control Panel.
  7. Log off Windows 2000 Professional.
To remove Excel 97:
  1. In the SIM Tool console, double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Accounts.
  2. Right-click Headquarters, and click Properties.
  3. In the Headquarters Properties dialog box, click the Group Policy tab, click the HQ Policy GPO, and then click Edit to open the Group Policy snap-in.
  4. In the details pane, right-click Microsoft Excel 97, and select All Tasks from the context menu.
  5. Click Remove.
  6. In the Remove Package dialog box, click Yes.
    Note: Because Excel 97 was installed using a .zap file, you do not have the option to force the removal as you would with a Windows Installer file.
    Microsoft Excel 97 no longer appears in the details pane.
  7. Log on to the Windows 2000 Professional as the Local Administrator (remember, Excel was installed as Administrator in the preceding scenario).
  8. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
  9. In the Add/Remove Programs dialog box, click the Microsoft Excel 97 entry in the Change or Remove Programs frame, and then click Change/Remove.
  10. The Excel 97 Setup program starts. In the Microsoft Excel 97 Setup dialog box, click Remove All.
  11. When Setup prompts you about removing Microsoft Excel 97, click Yes. Click OK.
  12. Close Add/Remove Programs, and then close Control Panel. Log off Windows 2000 Professional.

Upgrade Microsoft Word 97 to Office 2000 With a Transform

Office 2000 comes with a Windows Installer package natively authored. Before performing this upgrade, use the Office 2000 Customization Wizard to create a transform. You must substitute the name of your transform in this scenario.
This procedure assumes that you have placed the necessary files (.msi, .mst, and so on) in a folder called Office in the software distribution point.
To upgrade Word 97 to Office 2000
  1. In the SIM Tool console, double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Accounts.
  2. Right-click Headquarters, and click Properties.
  3. In the Headquarters Properties dialog box, click the Group Policy tab, click the HQ Policy GPO, and then click Edit to open the Group Policy snap-in.
  4. In the Group Policy snap-in, under User Configuration, double-click Software Settings, right-click Software installation, click New, and then click Package.
  5. In the Open dialog box, click the Office folder, and click Open. Select the Office 2000 Windows Installer package (data1.msi), and click Open.
  6. In the Deploy Software dialog box, click Advanced published or assigned, and click OK.
  7. In the Microsoft Office 2000 Properties dialog box, click the Modifications tab, and click Add.
  8. In the Open dialog box, click Office, and then click Open. Select the Office 2000 transform (.mst), and click Open.
    Note: It is important that you do not click OK until you have set all the options for the modifications.
  9. In the Microsoft Office 2000 Properties dialog box, click the Upgrades tab, and click Add.
  10. In the Add Upgrade Package dialog box, Microsoft Word 97 should be highlighted in the Package to Upgrade list box. If not, click it to select it. Click Uninstall the existing package, then install the upgrade package, and then click OK.
  11. In the Microsoft Office 2000 Properties dialog box, click the Required Upgrade for existing packages checkbox. Do not click OK yet.
  12. In the Microsoft Office 2000 Properties dialog box, click the Deployment tab, click Assigned in the Deployment type field, and accept the default option (Basic) in the Installation user interface options field.
    Review all the tabs to make sure you have edited all the properties and you are ready to assign the upgrade. Click OK.
Office 2000 with the transform is added to the Software Installation snap-in. The snap-in should now show Office 2000 as assigned, and it should show an upgrade relationship between Word 97 and Office 2000.
At this point, if you log on to Windows 2000 as a user in the HQ Policy GPO, you should see Word 97 being removed, the start of the upgrade. When you select any of the Office icons from the Start menu, you install Office 2000 to complete the upgrade.

Assigning Windows 2000 to a Computer Upgrading Windows 2000

You can upgrade Windows 2000 to the release version.
Note: The operating system build being upgraded must be older than the build you are upgrading to.
If you completed the Group Policy guide before this, you may have turned off applying Group Policy to computers. If this is the case, you need to change this before this Software Installation policy can be applied on the computers.
In this scenario, you assign the upgrade of Windows 2000 to computers managed by a policy created for the Desktops OU under Resources. You could just as easily publish it for users.
The RES-WKS-01 computer should be in the Desktops OU. If it is not, you need to move it to one of the OUs under the Resources OU. You can move the computer by highlighting it in the details pane of the Active Directory Users and Computers Snap-in and then selecting Move from the context menu.
Note: To deploy the Winnt32.msi package, you need to modify the Unattend.txt file to include the Windows 2000 CD key information. Otherwise, the Setup program would ask for this information in a non-interactive desktop and wait indefinitely.
  1. Open the SIM Tool console you created earlier.
  2. Double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Resources.
  3. Right-click Desktops, and click Properties.
  4. Click the Group Policy tab, click New, and type Desktop OS Upgrades. Press Enter. Click Edit.
  5. In the Group Policy snap-in, under Computer Configuration, double-click Software Settings.
  6. Right-click Software installation, click New, and then click Package.
  7. Browse to the network to the software distribution point that has the Windows 2000 files.
    Note: You may want to place the Windows 2000 CD in the CD drive of the server, and share the CD-ROM drive as the software distribution point for these files. This saves having to copy all the files to the software distribution point, although if the CD-ROM drive is not fast, the install may take longer.
  8. Click the i386 folder, click Open, click WINNT32 (.msi file), and then click Open.
  9. In the Deploy Software dialog box, the Assigned option on the Deploy Software dialog box is already selected. Click OK.
  10. Close the Group Policy snap-in, then in the Desktop Properties dialog box, click Close in the Group Policy page.
  11. In the SIM Tool console, click Save on the Console menu, and then click Exit on the Console menu.
At this point you should restart the RES-WKS-01 computer. When you do, the normal shutdown and startup messages are displayed.
Eventually, in the Windows 2000 Professional startup dialogs you should see the following messages:
Applying Software Installation settings…
Followed by:
Windows Installer installing managed software Windows 2000 Professional…
The computer restarts and continues the upgrade.

Important Notes

The example company, organization, products, people, and events depicted in these guides are fictitious. No association with any real company, organization, product, person, or event is intended or should be inferred.
This common infrastructure is designed for use on a private network. The fictitious company name and DNS name used in the common infrastructure are not registered for use on the Internet. Please do not use this name on a public network or Internet.
The Microsoft Active Directory™ structure for this common infrastructure is designed to show how Microsoft Windows 2000 Change and Configuration Management works and functions with the Active Directory. It was not designed as a model for configuring an Active Directory for any organization—for such information see the Active Directory documentation.

Creating a Software Installation Snap-in Tool

Creating a Software Installation Snap-in Tool

To create the Software Installation snap-in:
  1. Log on to the HQ-RES-DC-01 server as an administrator.
  2. Click Start, click Run, type mmc, and then click OK.
  3. In the MMC console, click Add/Remove Snap-in on the Console menu.
  4. In the Add/Remove Snap-in dialog box, click Add.
  5. In the Add Stand-alone Snap-in dialog box, click Active Directory Users and Computers on the Available Standalone Snap-ins list, and then click Add. Click Close, then click OK.
  6. In the console tree, double-click Active Directory Users and Computers to expand the tree, double-click the reskit.com domain, double-click the Accounts organizational unit (OU).
  7. Click the + next to the Headquarters OU.

Saving the Software Installation Snap-in Tool

As you go through this guide, you may want to save changes to the MMC console.
To save your changes:
  1. In the MMC console, click Save on the Console menu.
  2. In the Save dialog box, type SIM Tool in the File name text box, and then click Save.
Your snap-in will look similar to Figure 1 below.
Bb742421.instma01(en-us,TechNet.10).gif
Figure 1: Software Installation Snap-In

Creating a Group Policy Object

If you have already completed the Group Policy step-by-step guide, then you may have already created the necessary Group Policy objects (GPOs).
To create a Group Policy Object (GPO):
  1. In the Software Installation snap-in tool you just saved (SIM Tool console), in the console tree, double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Accounts.
  2. Right-click Headquarters, and select Properties from the context menu.
  3. In the Headquarters Properties dialog box, click the Group Policy tab, and then click New.
  4. Type HQ Policy.
    This creates a new Group Policy object called HQ Policy.
    At this point, you could add another GPO—giving each one that you create a meaningful name—or you could choose to edit a GPO, which starts the Group Policy and Software Installation snap-ins. If you have more than one GPO associated with an Active Directory folder, verify the order; a GPO that is higher in the list is processed first.
  5. Click Close.
Best Practice Consider using security descriptors (DACLs) on the GPO to increase the granularity of software management for your organization.
To close the Software Installation snap-in:
  1. In the SIM Tool console, click Save on the Console menu.
  2. Click Exit on the Console menu.
To edit a Group Policy Object (GPO):
  1. Log on to the HQ-RES-DC-01 server as an administrator.
  2. Click Start, point to Programs, click Administrative Tools, and then click SIM Tool.
  3. In the SIM Tool console, double-click Active Directory Users and Computers, double-click reskit.com, and then double-click Accounts.
  4. Right-click Headquarters, and select Properties from the context menu. In the Headquarters Properties dialog box, click the Group Policy tab. Right-click HQ Policy in the Group Policy Object Links list box, and click Edit.
    This opens the Group Policy snap-in.
  5. In the Group Policy snap-in, under Computer Configuration node, double-click Software Settings.
  6. In the console tree, under the User Configuration node, double-click Software Settings.
You have opened the Software Installation snap-in for the HQ Policy GPO. Your snap-in should look like Figure 2 below.
Bb742421.instma02(en-us,TechNet.10).gif
Figure 2: Group Policy Snap-In
You can use the Software Settings node in the console tree under HQ Policy and Computer Configuration to assign an application to computers that are managed by this GPO. You use the Software Settings node under the User Configuration node to assign or publish an application to users who are managed by this GPO.

Configuring the Software Installation Defaults for a Group Policy Object

You can configure default settings for Software Installation on a per-Group Policy Object (GPO) basis.
To specify software installation defaults for the selected Group Policy object, you use the Software Installation Properties dialog box, shown below in Figure 3. This section explains some of the available options.
Bb742421.instma03(en-us,TechNet.10).gif
Figure 3: The Software Installation Properties page
Setting Options for New Packages and Installation User Interface
To control what happens when you add a new package to the selected GPO, you use the General tab in the Software Installation Properties dialog box, and set options in the New packages frame. The default behavior is that the Deploy Software dialog box appears each time, and the administrator can select one of the choices from that dialog box.
If you are going to deploy several packages to a GPO as published without transforms, you can select Publish in the New Packages frame, and every package that is deployed is automatically published. If you are going to add a package with a transform (customization or .mst file), you must select Advanced published or assigned.
Note: You cannot add or change transforms (.mst files) after the software is deployed.
This setting is most useful when an administrator is adding several applications at one time. For example, if an administrator is adding five applications to this GPO and they are all to be published with no transforms, then the administrator could set this to Publish.
Similarly, the options in the Installation user interface options frame allow the administrator to set how much of the user interface (UI) the Windows Installer presents to a user during installation. The Basic UI (the default option) only presents progress bars and messages; no user choices are presented other than Cancel. The Maximum UI option shows the UI that the author of the Windows Installer package defined.
Setting Options for Categories
When an organization has a large amount of software to manage, administrators can create categories for software. These categories can then be used to filter the software in the Add/Remove Programs in Control Panel. For example, you could create a category called Productivity Applications and include software such as word processing and database management applications.
Although there is a Categories tab on the Software installation Properties dialog box, categories are established on a per-domain basis. This means the domain administrator can create and edit the categories from any of the Software installation Properties pages for any GPO in the domain. Administrators can then use these categories with software they are managing within any GPO in the domain. There are no default or supplied categories.
Best Practice Because Categories are established per domain rather than per GPO, an organization should standardize the Categories and create them in a centralized manner.
To configure the default settings:
  1. In the Group Policy snap-in console tree, right-click Software installation under User Configuration, and then click Properties. This opens the Software Installation Properties dialog box. You use this dialog box to set defaults for software installation in the current GPO. You can set the default package location to the network location of the software distribution point you created earlier. Then you do not have to browse for each package that you add.
  2. In the Software installation Properties dialog box, click Browse.
    You need to browse for the software distribution point you created in the previous section relative to the network share location, rather than the local drive on the server. This ensures that you are managing software from the network share location that users can access. Users cannot access the package from the local drive of the server.
  3. In the Browse for Folder dialog box, click the plus sign (+) next to My Network Places, double-click Entire Network, double-click Microsoft Windows Network, and then double-click reskit.com.
  4. Double-click HQ-RES-DC-01, click Managed Applications, and then click OK.
    Note: The exact navigation above may differ on your network. Be sure that you are pointing to the software distribution point relative to the network rather than relative to the local drive on the server.
  5. In the Software Installation Properties dialog box, click the General tab, select the Display the Deploy Software dialog box (default) in the New Packages field, and select Basic (default) in the Installation user interface options field.
  6. In the Software installation Properties dialog box, click the Categories tab. Click Add.
  7. In the Enter new category dialog box, type Productivity Applications in the Category text box, and then click OK. In the Categories tab, click Add.
  8. In the Enter new category dialog box, type System Applications in the Category text box, and then click OK. Click OK.
Later, if you want to change these defaults or add additional categories for the organization, you can return to the Software installation Properties dialog box. As mentioned previously, categories are per-domain, not per GPO.
At this point you can either close the Software Installation snap-in or proceed with the scenarios described next.