- By William Stanek
Installing Windows 8
Windows 8 Pro and Enterprise are the main editions intended for use in Active Directory domains. When you install Windows 8 on a computer with an existing operating system, you can perform a clean installation or an upgrade. The major differences between a clean installation and an upgrade are the following:
Clean installation With a clean installation, the Windows Setup program completely replaces the original operating system on the computer, and all user and application settings are lost. You should use a clean installation when the operating system cannot be upgraded, the system must boot to multiple operating systems, a standardized configuration is required, or when no operating system is currently installed.
Upgrade installation During an upgrade, user accounts, user files, and user settings are retained, existing applications and their settings are kept, and basic system configuration is not required. An upgrade installation should be used when you have computers running the Windows operating system that support upgrading to Windows 8 and you want to minimize disruption by maintaining the existing settings, user information, and application configurations.
The way an upgrade works depends on the operating system being upgraded. When you are upgrading from Windows 7, Windows Setup performs an in-place upgrade that ensures the upgrade works as described previously. With Windows Vista and Windows XP, an in-place upgrade works differently. With Windows Vista, you can retain user accounts, user files, and user settings, as well as basic system configuration, but Windows Setup will not retain applications and their settings. With Windows XP, you can retain user accounts, user files, and user settings, but Windows Setup will not retain applications and their settings or basic system configuration.
Preparing for Windows 8 Installation
To install Windows 8, you can boot from the Windows distribution media, run Setup from your current Windows operating system, perform a command-line installation, or use one of the automated installation options.
There are two basic approaches to setting up Windows 8—interactively or as an automated process. An interactive installation is what many people regard as the regular Windows installation—the kind where you walk through the setup process and enter a lot of information. It can be performed from distribution media (by booting from the distribution media or running Windows Setup from a command line). The default Windows setup process when booting from the retail Windows 8 DVD is interactive, prompting you for configuration information throughout the process.
There are several types of automated setup, which actually have administrator-configurable amounts of user interaction. The most basic form of unattended setup you can perform is an unattended installation using only answer files. An answer file contains all or part of the configuration information usually prompted for during a standard installation process. You can create unattended answer files using Windows System Image Manager, which is provided in the Windows Assessment and Deployment Kit (ADK). To take unattended setup a step further, you can use Windows Deployment Services.
The standard setup program for Windows 8 is Setup.exe. You can run Setup.exe from the currently running Windows operating system to perform an upgrade or you can boot from the distribution media to perform a new installation of Windows 8. When you are working with Windows 8 on x86-based systems, you should be aware of the special types of drive sections used by the operating system:
Active The active partition or volume is the drive section for system cache and startup. Some removable media devices may be listed as having an active partition.
Boot The boot partition or volume contains the operating system and its support files. The system and boot partition or volume can be the same.
System The system partition or volume contains the hardware-specific files needed to load the operating system. As part of software configuration, the system partition or volume can’t be part of a striped or spanned volume.
Partitions and volumes are essentially the same thing. Two different terms are used at times, however, because you create partitions on basic disks and you create volumes on dynamic disks. On an x86-based computer, you can mark a partition as active by using the Disk Management snap-in.
Although the active, boot, and system volumes or partitions can be the same, each is required nonetheless. When you install Windows 8, the Setup program assesses all the hard disk drive resources available. Typically, Windows 8 puts boot and system files on the same drive and partition and marks this partition as the active partition. The advantage of this configuration is that you don’t need multiple drives for the operating system and can use an additional drive as a mirror of the operating system partitions.
There are a number of differences when installing to EFI-based hardware. The EFI starts up by loading a firmware-based boot menu. Normally, EFI disks have a partition structure, called a GUID partition table (GPT). This partition structure differs substantially from the 32-bit platform MBR-based partitions.
GPT-based disks have two required partitions and one or more optional (OEM or data) partitions (up to 128 total):
EFI system partition (ESP)
Microsoft reserved partition (MSR)
At least one data partition
The EFI boot menu presents a set of options, one of which is the EFI shell. The EFI shell provides an operating environment supporting the FAT and FAT32 file systems, as well as configuration and file management commands. To view a list of partitions on an EFI-based computer, use the Map command. In the output of the Map command, blk designates partition blocks and fs# designates readable file systems. You can change to a partition by entering the partition block number followed by a colon. Type dir to view files in the partition. EFI has a boot maintenance manager that allows you to configure the boot menu.
When you install Windows 8, the Setup program will automatically create a Windows Recovery Environment (Windows RE) partition and install additional components that can be used for recovery and troubleshooting in that partition. As a result, the Windows recovery tools are always available on computers running Windows 8. For more information, see the Recovering from a Failed Start section in Chapter 10.
As an administrator, you can use these tools to recover computers. If a remote user can’t start Windows, you can talk the user through the process of starting Windows RE and initiating recovery. You do this by having the user access the Advanced Repair Options menu, as discussed in the Recovering from a Failed Start section in Chapter 10.
Performing a Windows 8 Installation
Before you install Windows 8 on a computer, you should determine whether the underlying hardware meets the requirements for physical memory, processing power, and graphics capabilities. Microsoft provides both minimum requirements and recommended requirements. Requirements for memory and graphics are measured in megabytes and gigabytes; requirements for processors are measured in gigahertz.
Windows 8 requires:
A 1-GHz or faster 32-bit (x86) or 64-bit (x64) processor
At least 1 GB RAM (32-bit) or 2 GB RAM (64-bit)
A DirectX 9 graphics processor with a Windows Display Drive Model (WDDM) 1.0 or later driver
Touch UI requires a tablet or a monitor that supports multitouch.
Any computer that meets or exceeds these hardware requirements can run Windows 8. You can perform a new installation of Windows 8 by completing these steps:
Power on the computer and insert the Windows 8 distribution media into the computer’s DVD-ROM drive. Press a key to start the Setup program from the DVD when prompted. If you’re not prompted to boot from DVD, you may need to modify the computer’s boot or startup options in firmware.
You are prompted to choose your language, time, currency format, and keyboard layout, and then tap or click Next. Click Install Now.
With retail versions of Windows 8, you typically have to provide a product key. If prompted for a product key, enter the product key. Tap the onscreen keyboard button if you are working on a device without a keyboard and then use the onscreen keyboard to enter the product key. Tap or click Next.
Read the license terms. If you agree, tap or click I Accept The License Terms, and then tap or click Next.
The Which Type Of Installation Do You Want? page is displayed to ensure that you really want to perform a new installation rather than an upgrade. To continue with the new installation, select Custom: Install Windows Only (Advanced).
When prompted for an installation location, choose the drive partition on which you want to install the operating system, and then tap or click Next.
If the drive partition you’ve selected contains a previous Windows installation, you’ll see a prompt telling you that existing user and application settings will be moved to a folder named Windows.old and that you must copy these settings to the new installation to use them. Tap or click OK.
Setup will then start the installation. During this process, Setup copies the full disk image of Windows 8 to the disk you’ve selected and then expands it. Afterward, Setup installs features based on the computer’s configuration and any hardware that Setup detects. When Setup finishes the installation and restarts the computer, the operating system will be loaded and the system will be set up for first use. After the system is prepared, Setup will restart the computer again.
On the Personalize page, pick a background color for the Start page and desktop. Type a computer name, and then tap or click Next.
When prompted, choose your country or region, your time and currency format, and your keyboard layout. Tap or click Next.
With wireless connections, you’ll need to select the wireless connection to use. When you tap or click Connect, you’ll be able to enter the password for the wireless network. Then you’ll need to tap or click Connect again. If the computer has a wired connection to the Internet, you shouldn’t need to do this.
On the Settings page, you can tap or click Use Express Settings to accept the express settings or tap or click Customize to customize the settings. Express settings configure the computer and standard defaults:
Turn on sharing and connect devices, which may be suitable for home and work networks, though not necessarily domain environments.
Automatically install important and recommended updates, as well as updates for devices.
Help protect the PC from unsafe content, files, and websites by enabling the SmartScreen Filter for Internet Explorer and Windows.
Use Windows Error Reporting to check for solutions to problems.
Use Internet Explorer compatibility lists to help resolve website compatibility issues.
Let desktop apps use your name and account picture.
Enable Windows Location Platform so desktop apps can ask users for their location.
If the computer has an Internet connection, the Sign In To Your PC page allows you to set up either a Microsoft account or a local computer account. Otherwise, only a local computer account can be created. As you’ll typically want to use a local account for a computer in a domain or workgroup, tap or click Sign In Without A Microsoft Account and then confirm by tapping or clicking Local Account again. Next, type a user name. Type and then confirm a password. Enter a password hint. Finally, tap or click Finish.
Afterward, Windows 8 will prepare the computer’s desktop.
You can upgrade a computer to Windows 8 by completing these steps:
Start the computer and log on using an account with administrator privileges. Insert the Windows 8 distribution media into the computer’s DVD-ROM drive. The Windows 8 Setup program should start automatically. If Setup doesn’t start automatically, use File Explorer to access the distribution media and then double-tap or double-click Setup.exe.
Setup will copy temporary files and then start. If your computer is connected to the Internet, choose whether to get required updates during the installation. Either tap or click Go Online To Install Updates Now or tap or click No, Thanks. Tap or click Next.
With retail versions of Windows 8, you typically have to provide a product key. If prompted for a product key, enter the product key. Tap the onscreen keyboard button if you are working on a device without a keyboard and then use the onscreen keyboard to enter the product key. By default, the computer will automatically activate Windows the next time you connect to the Internet. Tap or click Next.
Read the license terms. If you agree, tap or click I Accept The License Terms, and then tap or click Accept.
The options you see on the Choose What To Keep page depend on the version of Windows currently running on your computer. Upgrade options you may see include:
Windows Settings If available and selected, Setup attempts to keep basic settings, including settings for your desktop background, display, Internet favorites, Internet history, and Ease of Access. Not all settings will be moved and available in Windows 8.
Personal Files If available and selected, Setup saves personal files from the Users folder. This means the personal files stored in each user’s Documents, Music, Pictures, Videos and other folders are moved and made available in Windows 8.
Apps If available and selected, Setup saves settings for desktop apps and makes them available after upgrade. Desktop programs, and some desktop apps, will need to be re-installed.
Nothing If selected, Setup moves folders and files for the previous installation to a folder named Windows.old, and the previous installation will no longer run.
Tap or click Next and then tap or click Install. Continue with steps 8 to 14 of the previous procedure.
You may have trouble installing Windows 8 for a variety of reasons. Possible solutions to common problems follow in problem/solution format.
You can’t boot from the Windows 8 installation media Although most computers can boot from DVD, sometimes this capability is disabled in firmware. Set the boot order in firmware so that the DVD drive appears ahead of hard disk drives and other bootable media. For more information, see Chapter 4.
You can’t select a hard disk during setup Although the Windows 8 installation media contains drivers for most disk controllers, you may have a disk controller for which a default driver isn’t available. Insert media containing the required drivers and then tap or click Load Drivers on the Where Do You Want To Install Windows? page. If the driver is on an internal hard drive, press Shift+F10 to access a command prompt and then use Xcopy to copy the driver files to a USB flash device or other removable media. You can then tap or click Load Drivers to load the drivers from the media.
You forgot to modify the hard disk configuration prior to starting the installation On the Where Do You Want To Install Windows? page, tap or click Drive Options (Advanced). You can then use the options provided to create, delete, and format partitions as necessary. If you need to shrink or extend a partition (even during an upgrade), press Shift+F10 to access a command prompt and then use Disk Part to work with the partition. You can extend and shrink partitions without having to delete them. You also can use Disk Part to change the disk type and partition style. For more information on Disk Part, see Chapters 10, 11, and 12 in Windows Command-Line Administrator’s Pocket Consultant, Second Edition (Microsoft Press, 2008).