10.3 Windows installation processes & Post installation
Network installation
*To perform a network installation, the Windows installation files must first be copied to a network location. Then the installation process is run remotely over a network connection. This allows multiple systems to be installed at the same time using the same installation files. To do this, you must first:* -Configure a *Windows Deployment Services (WDS) server.* This server contains the files needed to install Windows on remote computer systems over a network connection. WDS functions in conjunction with the *Preboot Execution Environment (PXE)* to load a miniature version of Windows on network hosts known as the Windows Preinstallation Environment (Windows PE). Windows PE is a minimal version of the Windows operating system. Its purpose is to get a basic system up and running such that the host can connect to the WDS server and install a full version of Windows. -Boot the host computer where Windows is to be installed using a PXE boot. The computer will connect to the WDS server and boot into Windows PE. Once done, Windows can be installed locally from the WDS server.
Disk imaging installation
*With disk imaging, you install Windows on one computer and then copy that image to other computers. The imaging process is faster than installing Windows individually because all applications, configuration settings, and user accounts from the reference system are included in the imaging process. Imaging is an efficient way of installing Windows if you have a large number of computers that use the same hardware configuration.* *Be aware of the following facts when using disk imaging:* -All computers need to have the same hardware abstraction layer (HAL), ACPI support, and mass storage drivers. -Computers can have different peripheral hardware, because plug-and-play will detect peripheral hardware. -Your Windows licensing agreement must allow multiple installations using the same product key. -Computers must be manually renamed after imaging. Otherwise, you will experience duplicate computer name errors.
Repair installation
*You can perform a repair installation to fix a currently installed Windows implementation. A Repair Installation will restore corrupt or missing DLLs, fix registry problems, and fix startup files while preserving user accounts, data, applications, and installed drivers.* *To perform a repair installation, do the following:* 1) Insert your Windows installation media. 2) Run the Setup.exe file on the installation media. 3) Elevate privileges when prompted by UAC. 4) Accept the license agreement. 5) Specify how the repair installation should occur. *You can select from the following options:* -Keep personal files, apps, and Windows settings -Keep personal files only -Or do nothing 6) Wait while Windows is reinstalled.
After installation, you must activate your copy of Windows. Activation does not send personal information to Microsoft (it isn't the same as registration). Some things to remember about activation are:
-During activation, the product ID, hardware hash, and the product keys are verified through Microsoft. -You can activate over the Internet. The system will warn you if your activation is about to expire. If you reinstall Windows, it will need to be activated again. -As a best practice, consider not activating Windows until you are sure the system is stable. This allows you to use the system for several days without activation, letting you reinstall if necessary. -A significant hardware change, such as upgrading your motherboard, may require Windows to be reactivated. If this is the case, you might need to contact Microsoft to get a re-activation key. Configure the Windows Firewall and install anti-malware software. Be sure to update your anti-malware definition files.
Be aware of the following when migrating user settings:
-If you perform an in-place upgrade installation, user settings and data are automatically retained; you do not need to use these tools to transfer files. But you should verify that all installed applications run correctly. -If you perform a new installation on the existing system, run the transfer utility before performing the installation and save the resulting files to removable media or a network location. Following the installation, run the transfer utility to copy the data into the new installation. -If you are moving from an old computer to a new computer, you can transfer files directly between the two computers. -Migrating user settings and files does not migrate applications on the new computer, nor does it migrate system files such as fonts or drivers. -Once the installation is complete, install applications and add other Windows features. -Configure system backups and other data protection methods (such as System Protection and File History).
Use the following steps to install Windows from the installation media:
1) Prepare the system hard disk(s). If you are performing a clean install on a new hard disk, you can partition and format the disk during the installation process. However, you will need to prepare disks before the installation if you want to install Windows on a hardware RAID array (RAID 0, RAID 1, RAID 5, RAID 10, etc.). Some motherboards include an integrated RAID controller that allows you to build an array from multiple SATA hard disks installed in the system. You can also install a RAID controller board in an expansion slot to define a RAID array. *If you need to configure a RAID array prior to installation, do the following:* -Install the drives required to support the desired RAID level in the system. *Do one of the following:* -If using an *integrated RAID controller on the motherboard,* access the BIOS/UEFI configuration interface and enable RAID instead of traditional SATA operations. -If using a *RAID controller board,* install the board in an expansion slot and then boot the computer. During system boot, the RAID BIOS will load. Press the key combination specified in the RAID BIOS screen to enter the RAID configuration utility. -Define a new RAID array of the desired type using the disks installed in the system. *Adding a hard disk to a RAID array will destroy all existing data on that disk. Be sure to back up any data you want to keep before adding the disk to the array.* 2) Insert the installation media (such as a DVD or USB flash drive) and then boot from that media. 3) During the first part of the installation, Windows loads the necessary files it needs to start the installation. During this phase, you may need to load additional drivers to support your storage controller so that Windows can write to the disk. This commonly occurs when installing to a RAID array. Click the *Load Driver* link. You must have the necessary drivers available on a USB flash drive. 4) After the initial files and drivers are loaded, you select the disk where you want to install Windows. At this point, you can choose an existing partition (if one exists), or create a new partition. 5) After Windows prepares the disks, it starts copying files to the hard disk. When the file copy is complete, the system will reboot. Leave the installation media in the drive until prompted to remove it. 6) After the system reboots, Windows configures the system. You will be prompted for configuration information such as the region and language, the computer name, date and time, and network settings.
Unattended installation
A type of installation that requires no interaction from the user during the installation process. To do this, an XML file *(called an answer file or response file)* is pre-populated with all the answers to the standard Windows installation prompts. This file is named autounattend.xml and is copied to the root of the Windows installation media. *For this reason, it is typically easier to perform an unattended install from a USB flash drive instead of an optical disc.* During the installation, the answer file is used to respond to the prompts in the Windows installer. If you have included all of the necessary information in the answer file, the installation will proceed automatically without pausing for user input.
Complete the following tasks following a successful installation of Windows:
Edit the BIOS/UEFI settings to boot from the hard drive first. This prevents the system from accidently booting from the optical drive or the USB drive. Update device drivers for unrecognized devices. During installation, drivers for many devices are installed from drivers on the installation disc. However, Windows may not include device drivers for all the hardware in the system. Use Device Manager to verify the status of all hardware devices. If necessary, manually download and install drivers for any unknown devices. Configure Windows Update and download the latest updates. This may take some time to complete, so plan according to your deployment plan. When Windows clients are installed into a Windows domain, verify that they are in the right time zone and are configured to get time from the correct time provider. Use the w32tm command line utility as follows: w32tm /tz returns the current time zone settings on the client. w32tm /query /source returns the time source being used by the Windows Time service on the client. w32tm /query /status returns the status of the Windows Time service on the client. w32tm /? displays command line help for other w32tm parameters that can be used for configuring, monitoring, and troubleshooting the Windows Time service on the client.
Bootable USB flash drive installation
Instead of installing from the installation disc, you can create a bootable USB flash drive and copy the installation files to that drive. Microsoft provides a utility called the *Windows 7 USB/DVD Download Tool* that can be used to automate the process.
Migrate user configuration settings and data using the following methods:
Use *Windows Easy Transfer (WET)* to transfer files from the old computer to the new computer. Windows Easy Transfer was introduced in Windows Vista and is included in the Windows 7, Windows 8, and Windows 8.1 operating systems. It is not compatible with Windows 10. *You have several options for migrating the data between systems:* 1) Connect both computers using an Easy Transfer Cable (a special USB cable). 2) Transfer data using a network connection between the computers. 3) Save data to removable media and then load it on the new computer. *Use the User State Migration Tool (USMT).* USMT is commonly used for large-scale migrations, to migrate data to multiple computers, or to have greater control over the migration process. When using USMT: 1) Run *ScanState* on the existing computer to save user settings and files. 2) Run *LoadState* on the new computer to move the information to the new computer.