Deploying Windows Vista

34
Deploying Windows Deploying Windows Vista Vista Lesson 2

description

Deploying Windows Vista. Lesson 2. Skills Matrix. Skills Matrix. Understanding Windows Vista Deployment. Some highlights of WIM images Single instancing Non-destructive imaging Ability to mount a WIM image and access via Windows Explorer Hardware abstraction layer (HAL) independence - PowerPoint PPT Presentation

Transcript of Deploying Windows Vista

Page 1: Deploying Windows Vista

Deploying Windows Deploying Windows VistaVista

Lesson 2

Page 2: Deploying Windows Vista

Skills MatrixSkills Matrix

Technology Skill Objective Domain Skill Domain #Understanding Windows Vista Deployment

Deploy Windows Vista from a custom image

1.3

Deploying Windows Vista from an Image

Deploy Windows Vista from a custom image

1.3

Creating a Windows PE Boot CD

Deploy Windows Vista from a custom image

1.3

Applying a WIM Image • Apply an image over the network• Apply an image from offline media

1.3

Page 3: Deploying Windows Vista

Skills MatrixSkills Matrix

Technology Skill Objective Domain Skill Domain #Troubleshooting Roaming Profiles

Troubleshoot deployment issues• Troubleshoot Roaming User Profiles and Folder Redirection issues

1.5

Troubleshooting Folder Redirection

Troubleshoot Roaming User Profiles and Folder Redirection issues

1.5

Page 4: Deploying Windows Vista

Some highlights of WIM images

Single instancing

Non-destructive imaging

Ability to mount a WIM image and access via Windows Explorer

Hardware abstraction layer (HAL) independence

Three compression options: fast, maximum, and none

Understanding Vista DeploymentUnderstanding Vista Deployment

Understanding Windows Vista Deployment

Page 5: Deploying Windows Vista

Two primary tools are used in capturing and deploying Windows Vista images.

ImageX is a command-line tool that enables you to capture, apply, and manage WIM images.

Windows PE is a minimal operating system that you can boot from CD or other media that enables you to run ImageX and other tools.

Understanding the Deployment Process

Understanding Vista DeploymentUnderstanding Vista Deployment

Page 6: Deploying Windows Vista

Understanding the Deployment Process (cont.)

Understanding Vista DeploymentUnderstanding Vista Deployment

`

Boot Master workstationwith Windows PE from

bootable media

Storage for the WIM

Bootable Media containingWindows PE

WIM

`

Install Vista on Master

`

Use ImageX tocapture WIM tonetwork share,offline media,

or locally.

`

Boot destination workstationwith Windows PE from

bootable media

Bootable Media containingWindows PE

Storage for the WIM

WIM

`

Use ImageX toapply WIM fromnetwork share or

offline media

1 2 3 4 5

Page 7: Deploying Windows Vista

Windows Deployment Services (Windows DS) enables you to deploy Windows Vista remotely using Windows PE and Windows DS Server.

Windows System Image Manager (Windows SIM) manages WIM files and can be used to create an autounattend.xml file for use in unattended installations.

Understanding the Deployment Process (cont.)

Understanding Vista DeploymentUnderstanding Vista Deployment

Page 8: Deploying Windows Vista

Open the command prompt with administrator credentials and change the working directory to c:\program files\windows aik\tools\petools.

Type copype %Architecture designation% %Destination path% (for example, copype x86 c:\winpe) and then press Enter.

Creating a Windows PE Boot CD

Deploying Vista from an ImageDeploying Vista from an Image

Page 9: Deploying Windows Vista

Type copy “c:\program files\windows aik\tools\x86\imagex.exe” c:\winpe\iso\ and then press Enter.

Change the working directory to c:\program files\windows aik\tools\petools.

Creating a Windows PE Boot CD (cont.)

Deploying Vista from an ImageDeploying Vista from an Image

Page 10: Deploying Windows Vista

Type oscdimg -n -bc:\winpe\etfsboot.com c:\winpe\ISO c:\winpe\winpe.iso. This creates a bootable ISO image file from the contents of the C:\winpe\ISO directory.

Use third-party CD burning software to burn the winpe.iso ISO image to a writable CD.

Creating a Windows PE Boot CD (cont.)

Deploying Vista from an ImageDeploying Vista from an Image

Page 11: Deploying Windows Vista

Boot by using a bootable Windows PE CD.

In the command prompt window, type diskpart and then press Enter.

Type select disk 0 and press Enter.

Type clean and press Enter.

Type create partition primary and press Enter.

Preparing a Partition for an Image

Deploying Vista from an ImageDeploying Vista from an Image

Page 12: Deploying Windows Vista

Type select partition 1 and press Enter.

Type active. Partition 1 is set as the active partition.

Type format. Partition 1 is formatted in NTFS.

Type exit and then press Enter.

Preparing a Partition for an Image(cont.)

Deploying Vista from an ImageDeploying Vista from an Image

Page 13: Deploying Windows Vista

In the Windows PE command prompt window, type net use Y: \\ServerName\ShareName and press Enter.

Provide credentials in the form DomainName\UserName when prompted.

Type D:\imagex /apply y:\ImageFile ImageNumber ImagePath (for example, D:\imagex /apply y:\workstation1.wim 1 C:) and press Enter.

Applying an Image from a Network Share

Deploying Vista from an ImageDeploying Vista from an Image

Page 14: Deploying Windows Vista

D is the drive letter where the Windows PE CD is inserted.

workstation1.wim is the name of an example WIM image that ImageX is applying.

1 identifies which volume image within the WIM image that ImageX will apply.

C: is the path where ImageX will apply the image.

Applying an Image from a Network Share (cont.)

Deploying Vista from an ImageDeploying Vista from an Image

Page 15: Deploying Windows Vista

Applying an Image from a Network Share (cont.)

Deploying Vista from an ImageDeploying Vista from an Image

Page 16: Deploying Windows Vista

In the Windows PE command prompt window, type copy d:\imagex.exe x:\ and press Enter. This copies the ImageX program to the RAM drive so that it will be accessible without the Windows PE CD in the drive.

Type X:\imagex /apply y:\ImageFile ImageNumber ImagePath (for example, X:\imagex /apply y:\workstation2.wim 1 C:) and press Enter.

Applying an Image from Offline Media

Deploying Vista from an ImageDeploying Vista from an Image

Page 17: Deploying Windows Vista

Roaming profile problems are most commonly caused by the following:

Incorrect paths

Incorrect permissions

Connectivity problems

Troubleshooting Roaming Profiles

Post-Deployment TasksPost-Deployment Tasks

Page 18: Deploying Windows Vista

Troubleshooting incorrect paths

Troubleshooting Roaming Profiles (cont.)

Post-Deployment TasksPost-Deployment Tasks

Event 1525: User Profile Service

Page 19: Deploying Windows Vista

Check to see whether the profile path is correct.

Open Active Directory Users and Computers (ADUC).

Expand contoso.com and then select Users.

In the details pane, right-click the user and then click Properties.

Troubleshooting Roaming Profiles (cont.)

Post-Deployment TasksPost-Deployment Tasks

Page 20: Deploying Windows Vista

Check to see whether the profile path is correct (cont.)

Click the Profile tab.

Ensure that the entry in the Profile Path text box matches that of the intended profile path.

Troubleshooting Roaming Profiles (cont.)

Post-Deployment TasksPost-Deployment Tasks

Page 21: Deploying Windows Vista

Troubleshooting Roaming Profiles (cont.)

Post-Deployment TasksPost-Deployment Tasks

Profile Path

Page 22: Deploying Windows Vista

Troubleshoot incorrect permissions

If the permissions are not sufficient, you will see the following error in Event Viewer:

Troubleshooting Roaming Profiles (cont.)

Post-Deployment TasksPost-Deployment Tasks

Event 1521- User Profile ServiceWindows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you log off. This error may be caused by network problems or insufficient security rights. DETAIL - Access is denied.

Page 23: Deploying Windows Vista

Advanced NTFS permissions

Checking NTFS Permissions

Post-Deployment TasksPost-Deployment Tasks

Select the user or group for which you want to check permissions and then click Edit.

Page 24: Deploying Windows Vista

Checking Share-Level Permissions

Post-Deployment TasksPost-Deployment Tasks

Ensure that the permissions follow the best practice permissions scheme described in Table 2-4 or that they are correct for the scheme at your company.

Page 25: Deploying Windows Vista

Troubleshooting Folder Redirection is very similar to troubleshooting roaming profiles because the three most common causes of problems are nearly the same.

Incorrect paths

Incorrect permissions or ownership

Connectivity problems

Troubleshooting Folder Redirection

Post-Deployment TasksPost-Deployment Tasks

Page 26: Deploying Windows Vista

At least two instances of incorrect path errors can occur in Folder Redirection.

A network administrator changed the Folder Redirection policy to a non-existent target path (for example, a typo is made when changing target paths to a new server).

A new Folder Redirection policy contains a non-existent target path.

Troubleshooting Folder Redirection (cont.)

Post-Deployment TasksPost-Deployment Tasks

Page 27: Deploying Windows Vista

Editing the Target Path of a Folder Redirection Policy

Post-Deployment TasksPost-Deployment Tasks

Edit the target path in the Root Path text box as needed and click OK.

Page 28: Deploying Windows Vista

Checking Permissions

Post-Deployment TasksPost-Deployment Tasks

Group or User Name

NTFS Permission

Apply onto:

CREATOR OWNER Full Control Subfolders and Files Only

SYSTEM Full Control This Folder, Subfolder, and Files

Domain Admins Full Control This Folder, Subfolder and Files

Page 29: Deploying Windows Vista

Checking Ownership

Post-Deployment TasksPost-Deployment Tasks

The owner of the item is listed in the Current owner of this item box. The owner of the target folder should be the user. If the user is not the owner, click Other Users or Groups. To add the user to the list of possible owners, select the user in the list and then click Apply.

Page 30: Deploying Windows Vista

Folder Redirection can fail if connectivity to the server hosting the target path fails. When this happens, any data written to the folder will be stored on the local computer and will be synchronized with the server when connectivity is re-established.

Troubleshooting Connectivity

Post-Deployment TasksPost-Deployment Tasks

Page 31: Deploying Windows Vista

SummarySummary

Windows Vista deployment, whether automated for an entire enterprise or performed individually on a computer, can be completed using WIM images.

All Windows Vista deployments that are based on Microsoft technologies follow a similar pattern regardless of their scope: Windows PE is booted and a WIM image (captured manually or on a Vista DVD) is used to supply source files.

You Learned

Page 32: Deploying Windows Vista

SummarySummary

You learned how to create a Windows PE Boot CD.

You learned how to use the ImageX /apply command.

You learned how to prepare a partition for an image.

You learned how to apply an image from a network share.

You Learned (cont.)

Page 33: Deploying Windows Vista

SummarySummary

You learned how to apply an image from offline media.

Roaming profiles and Folder Redirection can fail for a number of reasons, including incorrect paths or permissions as well as connectivity problems.

You learned how to check to see whether paths are correct for roaming profiles or Folder Redirection.

You Learned (cont.)

Page 34: Deploying Windows Vista

SummarySummary

You learned how to check NTFS and share permissions for roaming profiles and Folder Redirection.

You learned how to edit the target path of a Folder Redirection policy.

You Learned (cont.)