building an standard image for windows7

51
Installing a custom image is similar to installing the Windows® 7 operating system from the Microsoft® Volume Licensing or retail media, but it uses an operating system image that includes your customizations and applications. This process takes a bit more time to set up but can save you time in the end. The guidance in section is designed specifically for small and medium business that may not have prior experience with Windows deployment or do not have enterprise deployment infrastructure. Watch the companion video tutorial for more information. Also see the following related documents: Upgrading to Windows 7 for Small and Midsize Businesses Upgrading to Windows 7 with a Standard Image: Overview Manual Installation of Windows 7: Overview Automated Installation of Windows 7: Overview Automated Installation to Upgrade to Windows 7: Step-by-Step Guide Note For a complete view of Windows 7 resources, articles, demos, and guidance, please visit the Springboard Series for Windows 7 on the Windows Client TechCenter. For a downloadable version of this document, see Building a Standard Image of Windows 7: Step-by- Step Guide in the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=162740).

Upload: ammar-manzar

Post on 11-Apr-2017

420 views

Category:

Education


3 download

TRANSCRIPT

Page 1: Building an standard image for windows7

Installing a custom image is similar to installing the Windows® 7 operating system from the Microsoft® Volume Licensing or retail media, but it uses an operating system image that includes your customizations and applications. This process takes a bit more time to set up but can save you time in the end.

The guidance in section is designed specifically for small and medium business that may not have prior experience with Windows deployment or do not have enterprise deployment infrastructure.

Watch the companion video tutorial for more information.

Also see the following related documents:

Upgrading to Windows 7 for Small and Midsize Businesses

Upgrading to Windows 7 with a Standard Image: Overview

Manual Installation of Windows 7: Overview

Automated Installation of Windows 7: Overview

Automated Installation to Upgrade to Windows 7: Step-by-Step Guide

NoteFor a complete view of Windows 7 resources, articles, demos, and guidance, please visit the Springboard Series for Windows   7 on the Windows Client TechCenter.For a downloadable version of this document, see Building a Standard Image of Windows   7: Step-by-Step Guide in the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=162740).

Creating a custom image for the Standard Image method has seven major steps. You need two computers to build the custom image for this method: You configure your tools on the technician computer and customize your image on the reference computer. Table 1 has a column for each computer. You complete steps in the On the technician computer column on your own computer. You complete steps in the On the reference computer column on the computer that you are using to build the custom image.

Table 1. Steps for Creating a Custom Image

Page 2: Building an standard image for windows7

 

Step On the technician computer On the reference computer1. Install the Windows Automated Installation Kit (Windows AIK).

2. Create a Windows Preinstallation Environment (Windows PE) startup disk.

3. Install and customize Windows 7.4. Start the reference computer in Audit mode to clean the image.

5. Generalize the reference computer to prepare the image for duplication.

6. Capture the reference computer to an image file by using ImageX.7. Create new Windows 7 installation media for the custom image.

 

The following sections provide detailed instructions for each step. To use these instructions, you must have the Windows 7 Volume Licensing media, two USB flash disks (UFDs) that you can use to start computers (8 gigabytes [GB] or larger, depending on the size of the Windows 7 image you create), and a reference computer on which you can build and customize the standard image. You will be formatting the reference computer’s disk, so make sure you back up important files if you are using an existing computer for this purpose.

Install the Windows AIKThe Windows AIK provides the tools required to build custom Windows 7 images. In particular, it includes ImageX, which you use to capture an image of the reference computer, and the files necessary to build a Windows PE startup disk.

First, download the Windows Automated Installation Kit (AIK) for Windows 7 from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=136976).

The file KB3AIK_EN.iso is an International Organization for Standardization (ISO) image that you must burn to a DVD or mount to a virtual machine. Windows 7 can burn ISO files to DVDs. For more information, see Tip: Burn a Disc Image from an ISO or IMG file in Windows   7 in TechNet Magazine.

Page 3: Building an standard image for windows7

To install the Windows AIK from the Windows AIK DVD

1. Open the Windows AIK DVD in Windows Explorer.2. Perform one of the following tasks based on the computer on which you are installing the

Windows AIK:o If your computer is a 32-bit computer, right-click wAIKX86.msi, and then click

Install.

o If your computer is a 64-bit computer, right-click wAIKAMD64.msi, and then click Install.

3. Click Next.4. On the License Agreement page, click I Agree, and then click Next.5. On the Select Installation Folder page, click Next to install to the default installation folder

for anyone who uses the computer.6. On the Confirm Installation page, click Next to begin installation.7. Click Close to finish installation.

Create a Bootable UFDYou use the bootable UFD that you create in this step to start the reference computer so you can capture an image of the hard disk after you install and customize Windows 7. Windows PE does not include ImageX, so these instructions include a step for copying ImageX.exe from the Windows AIK installation folder to the Windows PE source files before you create the Windows PE ISO file.

To create a bootable UFD with Windows PE

1. Click Start, point to All Programs, and then click Microsoft Windows AIK.2. Right-click Deployment Tools Command Prompt, and then click Run as administrator.3. Click Yes to open the Deployment Tools Command Prompt window with elevated

permissions.

Page 4: Building an standard image for windows7

Tip   You can copy and paste commands from these instructions into the Deployment Tools Command Prompt window. Doing so saves time and helps ensure that you run the command correctly.

4. In the Deployment Tools Command Prompt window, perform one of the following tasks, and then press ENTER:

o If the reference computer is a 32-bit computer, type copype.cmd x86 C:\winpe_x86.

o If the reference computer is a 64-bit computer, type copype.cmd amd64 C:\winpe_amd64.

5. In the Deployment Tools Command Prompt window, perform one of the following tasks, and then press ENTER:

o If the reference computer is a 32-bit computer, type copy C:\winpe_x86\winpe.wim C:\winpe_x86\ISO\sources\boot.wim.

o If the reference computer is a 64-bit computer, type copy C:\winpe_amd64\winpe.wim C:\winpe_amd64\ISO\sources\boot.wim.

6. In the Deployment Tools Command Prompt window, perform one of the following tasks, and then press ENTER:

o If the reference computer is a 32-bit computer, type copy "C:\Program Files\Windows AIK\Tools\x86\ImageX.exe" C:\winpe_x86\ISO\.

o If the reference computer is a 64-bit computer, type copy "C:\Program Files\Windows AIK\Tools\amd64\ImageX.exe" C:\winpe_amd64\ISO\.

7. Insert a UFD into the computer.8. In the Deployment Tools Command Prompt window, type diskpart, and then press ENTER.9. Perform the following tasks to prepare the UFD to start the reference computer:

1. Type list disk, and then press ENTER.

Page 5: Building an standard image for windows7

2. From the list of disks, identify the number of the UFD. It is important that you identify the correct disk, as you will be formatting the disk. Make sure the size and free space match what you expect for the UFD.

3. Type select disk number, where number is the disk number of the UFD, and then press ENTER.

4. Type clean, and then press ENTER.

5. Type create partition primary, and then press ENTER.

6. Type select partition 1, and then press ENTER.

7. Type format fs=fat32 quick, and then press ENTER.

8. Type active, and then press ENTER.

9. Type exit, and then press ENTER.

10. In the Deployment Tools Command Prompt window, type xcopy /s C:\winpe_x86\iso\*.* D:\, where D is the drive letter of the UFD. Alternatively, you can copy all the files in C:\winpe_x86 to the UFD using Windows Explorer.

Install Windows 7After completing the previous two steps—installing the Windows AIK and creating a bootable UFD—you have the tools necessary to capture a custom image. You will complete these steps on the reference computer. Now, you need your Windows 7 Volume Licensing media, which you will install on the reference computer.After installing Windows 7 on the reference computer, customize it by installing any applications, device drivers, and updates that you want to include in the custom image. Remember that anything you install in the custom image will be on each computer to which you install the image. Examples of applications and updates you might want to install in the image include:

Antivirus software

Page 6: Building an standard image for windows7

The 2007 Microsoft Office system

Windows Virtual PC

Virtual Windows XP

To install Windows 7 on the reference computer

1. Turn on your computer, insert the Windows 7 Volume Licensing media into the computer’s DVD drive, and then perform one of the following tasks:

o If you are asked to press a key to boot from the Windows 7 Volume Licensing media, press any key. If the Install Windows page appears, go to step 2.

o If the Install Windows page does not appear and you are not asked to press a key to start from the Windows 7 Volume Licensing media, you might have to specify that your computer uses its DVD drive as the startup device.

For more information, see the Windows Help and How-to article Start Windows from a CD or DVD. After you select your DVD drive as the startup device, restart your computer, and then start Windows 7 from the Volume Licensing media.

2. On the Install Windows page, shown in Figure 1, perform the following tasks, and then click Next:

1. In the Language to install list, click the language you want to install on your image.

2. In the Time and currency format list, click the location you want in your image.

3. In the Keyboard or input method list, click the keyboard layout you want in your image.

 

Page 7: Building an standard image for windows7

Figure 1. The Install Windows page

3. On the Install Windows page, click Install now.4. On the Please read the license terms page, if you accept the license terms, select I accept

the license terms. You must accept to continue the installation. Click Next.5. On the Which type of installation do you want? page, click Custom.6. On the Where do you want to install Windows? page, perform one of the following tasks:

Page 8: Building an standard image for windows7

o If you do not want to specify a specific partition to install Windows 7 on or create partitions on your hard disk, click Next to begin the installation.

o If you want to create, extend, delete, or format a partition, click Drive options (advanced), select the option you want, and then follow the instructions. Click Next to begin the installation.

Windows 7 continues installing on the reference computer, as shown in Figure 2.

 

Page 9: Building an standard image for windows7

Figure 2. The Installing Windows page

7. On the Set Up Windows page, which you will see only after Windows 7 finishes installing on the reference computer, perform the following tasks, and then click Next:

1. In the Type a user name box, type a temporary user name. You can use any user name, as you will remove this user account before capturing the image.

Page 10: Building an standard image for windows7

2. In the Type a computer name box, type a temporary computer name. You can use any computer name, as you will change the computer name during deployment.

8. On the Set a password for your user account page, perform the following tasks, and then click Next:

1. In the Type a password box, type a password for the temporary user account.

2. In the Retype your password box, type the password again to verify it.

3. In the Type a password hint box, type a password reminder.

9. On the Type your product key for activation page, type your Windows 7 Volume Licensing product key, and then click Next.

10. On the Help protect your computer and improve Windows automatically page, click Use recommended settings to install important and recommended updates. You can choose a different setting after you install the image on each computer.

11. On the Review your time and date settings page, set the time and date, and then click Next.12. Optionally, on the Join a wireless network page, click a wireless network, type the security

key, and then click Next. You can also skip connecting to a wireless network by clicking Skip.

13. On the Select your computer’s current location page, shown in Figure 3, click Work network.

 

Page 11: Building an standard image for windows7

Figure 3. Select your computer’s current location

To customize Windows 7 on the reference computer

1. Use Windows Update to install recommended updates as well as the optional updates that you choose to include in the image. To start Windows Update, click Start; in the Search box, type windows update, and then click Windows Update in the search results under Programs.

2. Install any applications that you want to include in the custom image.

Page 12: Building an standard image for windows7

3. Install any out-of-box device drivers (device drivers that do not come with Windows 7) that you want to include in the custom image.

4. Configure any computer-specific settings that you want to include in the custom image.

NoteYou can configure computer-specific settings like hardware settings in the custom image, but you cannot configure user-specific settings using this method without using an answer file or writing a script. For example, you cannot configure a Windows Internet Explorer® 8 home page in the custom image, and then deploy that to all users in the organization. For more information about creating a default user profile, see article 959753 in the Microsoft Knowledge Base.

Clean Up the ImageWhen you set up Windows 7, you created a temporary user account to log on to it. In this step, you start the computer in Audit mode to remove that temporary user account and its user profile. This is also your last chance to install any applications, device drivers, and updates in your image.

To start the computer in Audit mode using the System Preparation Tool (Sysprep)

1. Click Start, type C:\Windows\System32\sysprep\sysprep.exe in the Search box, and then press ENTER to start Sysprep, shown in Figure 4.

 

Page 13: Building an standard image for windows7

Figure 4. The System Preparation Tool

2. In the System Cleanup Action list, select Enter System Audit Mode.3. Select the Generalize check box.4. In the Shutdown Options list, select Reboot.5. Click OK to restart the computer in Audit mode.6. After the computer restarts, Windows 7 automatically logs in as Administrator.

To remove the temporary user account’s profile

1. Click Start, type user profile in the Search box, and then click Configure advanced user profile properties in the search results.

2. In the User Profiles dialog box, click the name of the temporary user account you created when you installed Windows 7 on the reference computer, and then click Delete. Click Yes to confirm.

3. Click OK to close the User Profiles dialog box.

Page 14: Building an standard image for windows7

To remove the temporary user account

1. Click Start, right-click Computer, and then click Manage.2. In the console tree (left pane), click Local Users and Groups.3. In the details pane (middle pane), double-click Users.4. Right-click the name of the temporary account you created when you installed Windows 7 on

the reference computer, and then click Delete.5. Click Yes to confirm that you want to delete the temporary user account.6. Click OK to acknowledge that you are deleting an administrator account.7. Close the Computer Management window.

Generalize the ImageIn this step, you generalize the image and prepare it to start in Windows Welcome after you install it on each computer. Generalizing the image removes any hardware-dependent information from it, resets the activation timer, and cleans up Windows 7 so that you can duplicate the image on other computers.

To prepare the computer to start in Windows Welcome using Sysprep

1. Open Sysprep. (Windows 7 automatically runs Sysprep when you start the operating system in Audit mode.)

2. In the System Cleanup Action list, select Enter System Out-of-Box Experience (OOBE).3. Select the Generalize check box.4. In the Shutdown Options list, select Shutdown.5. Click OK to run Sysprep and shut down the computer.

Capture the ImageAt this point in the process, you have installed Windows 7 on the reference computer, and you are ready to capture an image of it. You use the bootable UFD you created earlier to start the computer. Additionally, you will capture the image to this UFD. For this reason, you should use a UFD that has a capacity of 8 GB or more to ensure that there is room for both Windows PE and the image you capture.

Page 15: Building an standard image for windows7

To capture an image of Windows 7 on the bootable UFD

1. Insert the bootable UFD into a USB port on the reference computer.2. Turn on the reference computer, and then perform the following tasks:

1. When prompted, open the boot device list. (In most cases, pressing F12 during the basic input/output system [BIOS] splash screen opens the computer’s boot device list.)

2. From the list of boot devices, select the bootable UFD that you inserted in step 1 to start the computer using the bootable UFD.

NoteIf you do not see a prompt to display a boot device list, you must enable booting from UFD devices in the computer’s BIOS. For more information, see the computer’s documentation.

3. At the command prompt, identify which drive contains Windows 7—typically drive D in Windows PE. To verify this, type dir d:, and then press ENTER.

If you see the Program Files, Users, and Windows folders, drive D contains Windows 7. Otherwise, examine each drive to determine which drive contains Windows 7.

4. At the command prompt, identify which drive is the bootable UFD.

This drive contains Imagex.exe in the root of the drive. It will not be drive X. To determine the drive letter, run dir e:, dir f:, dir g:, and so on until you locate the drive that contains Image.exe in the root.

5. At the command prompt, type one of the commands shown in Table 2, depending on the edition of Windows 7 you are using, and then press ENTER. Substitute the actual drive letter containing Windows 7 for D: and the drive letter containing Image.exe for E: in Table 2.

 

Page 16: Building an standard image for windows7

Table 2. ImageX Commands

 

Edition ImageX Commands

EnterpriseE:\imagex /compress fast /check /flags “Enterprise” /capture D:

E:\install.wim “Windows 7 Enterprise” “Windows 7 Enterprise Custom”

ProfessionalE:\imagex /compress fast /check /flags “Professional” /capture D:

E:\install.wim “Windows 7 Professional” “Windows 7 Professional Custom”

6. Shut down the reference computer, and remove the UFD from its USB port.

Build Windows 7 MediaYou have successfully captured a custom Windows 7 image that includes applications, device drivers, and updates. It is on the root of the bootable UFD that you used to start the reference computer and capture the image. In this step, you create new Windows 7 installation media that use your custom image instead of the image that Microsoft provides on the media.

To create the custom Windows 7 media, you create another bootable UFD. Then, you copy the installation files from the original Windows 7 Volume Licensing media to the bootable UFD. Finally, you replace the install.wim file on the bootable UFD with the custom install.wim file you captured in the previous step.

To copy the custom Windows 7 image to your computer

1. Insert the UFD containing your custom Windows 7 image in to your computer.2. In Windows Explorer, copy the install.wim file from the UFD to C:\install.wim.3. Remove the UFD containing your custom Windows 7 image from your computer.

To create a bootable UFD containing your Windows 7 Volume Licensing media

Page 17: Building an standard image for windows7

1. Click Start, point to All Programs, and then click Microsoft Windows AIK.2. Right-click Deployment Tools Command Prompt, and then click Run as administrator. 3. Click Yes to open the Deployment Tools Command Prompt window with elevated

permissions.4. Insert a UFD in to the computer. Do not insert the UFD to which you captured the custom

Windows 7 image, however, as you will be formatting this UFD.5. In the Deployment Tools Command Prompt window, type diskpart, and then press ENTER.6. Perform the following tasks to prepare the UFD to start the reference computer:

1. Type list disk, and then press ENTER.

2. From the list of disks, identify the number of the UFD. It is important that you identify the correct disk, as you will be formatting the disk. Make sure the size and free space match what you expect for the UFD.

3. Type select disknumber, where number is the disk number of the UFD, and then press ENTER.

4. Type clean, and then press ENTER.

5. Type create partition primary, and then press ENTER.

6. Type select partition 1, and then press ENTER.

7. Type format fs=fat32 quick, and then press ENTER.

8. Type active, and then press ENTER.

9. Type exit, and then press ENTER.

7. Insert your Windows 7 Volume Licensing media into the DVD drive.8. In the Deployment Tools Command Prompt window, type xcopy /s D:\*.* E:\*.*, where D is

the drive letter of the Windows 7 Volume Licensing media and E is the drive letter of the UFD you previously formatted.

Page 18: Building an standard image for windows7

Alternatively, you can copy all the files on the Windows 7 Volume Licensing media to the UFD using Windows Explorer.

To copy your custom image to the UFD containing Windows 7

1. In the Deployment Tools Command Prompt window, type xcopy /r C:\install.wim E:\sources\install.wim, where E is the drive letter of the UFD you created in the previous step. If prompted, type Y to confirm that you want to overwrite the file.

Alternatively, you can copy C:\install.wim to E:\sources\install.wim using Windows Explorer. If prompted, click Yes to confirm that you want to overwrite install.wim on the UFD.

2. Safely eject the UFD containing your custom Windows 7 image.

Install the Custom ImageNow that you have created a bootable UFD that contains your custom Windows image, you can use the UFD to install Windows 7 on other computers. Consider backing up the contents of the UFD. In addition, you can create multiple UFDs to help speed up the installation on multiple computers.

To install the custom image from the bootable UFD

1. Insert the bootable UFD containing the custom Windows 7 image into a USB port on the destination computer.

2. Turn on the destination computer, and then perform the following tasks:1. When prompted, open the boot device list. (In most cases, pressing F12 during the

BIOS splash screen opens the computer’s boot device list.)

2. From the list of boot devices, select the bootable UFD that you inserted in step 1 to start the computer using the bootable UFD.

Page 19: Building an standard image for windows7

NoteIf you do not see a prompt to display a boot device list, you must enable booting from UFD devices in the computer’s BIOS. For more information, see the computer’s documentation.

3. Follow the instructions you see on screen to finish installing Windows 7. The process is similar to the process described in the Install Windows   7 section earlier in this document.

4. After installing the custom Windows 7 image on the destination computer, you must active the operating system with Microsoft. If your company does not use the Key Management Service (KMS), manually activate Windows 7 with Microsoft.

For more information, see Windows Volume Activation on the Microsoft Web site.

NoteInstalling the custom image for the Standard Image method is a manual process. You can automate much of this process. For more information, see Automated Installation of Windows 7: Overview.Was this page helpful?

Yes

No

Community AdditionsADD

Getting Error "The System cannot find the path Specified" after giving the capturing image command

I am on "Capture the Image". I have created the UFD bootable drive per the instructions in this article. The message I get on my screen when trying to make an image of my system "The System cannot find the path Specified" 

Page 20: Building an standard image for windows7

i have followed each and every step mentioned thoroughly My windows installation drive is D and my UFD drive is G in which imagex.exe file is existing. I'm using windows 7 ultimate for which i'm giving the below commands

G:\imagex /compress fast /check /flags “Ultimate” /capture D: G:\install.wim “Windows 7 Ultimate” “Windows 7 Ultimate Custom”

also tried

G:\imagex /compress fast /capture d: G:\install.wim “Windows7" but all in vein i've tried this many times more than 20 but no results afterall instead "The System cannot find the path Specified"

Page 21: Building an standard image for windows7

I have tried the same creating both NTFS & Fat32 File system UFD for 64 bit OS installed on my reference computer. Can Anyone please help and get me solve this error?

Regards Adit

Adit Pal 8/30/2014

Tips and Trick : Building Standard Image..

this the tricky when create standard image Windows 7 : 

when you'll running sysprep please take note below :

1. Don't install any driver

Page 22: Building an standard image for windows7

2. Don't activate your windows licensing

3. customize it by installing any program 

if you installed driver and activated windows it's should be facing error message "Fatal error....."

Resolution :

1. type "slmgr /dlv" without quote's on command prompt --> to check how many times of windows activation

2. edit GeneralizationState under HKLM\system\setup\sysprepstatus set to 7 and SkimRearm under HKLM\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform set to 1

3. Renaming or deleting "Panther" folder on c:\windows\system32\sysprep\

Page 23: Building an standard image for windows7

4. Kill Process wmpnetwk.exe with description is Windows Media Player Sharing Service 

then, Run sysprep and remember please check 4 point above before you run it....

Hope its help!

Panjul_Pea 12/13/2013

more issues

First, Thanks to all additional postings above.  Here are some issues and resolves that I've had:

Tip: Online research showed that the process WMPNetwork needs to be ended for Generalize to work properly.  Ending it with Task Manager works, but it comes back after 10 seconds.  Instead type "Services" from the start menu and select "Services" (can't for the life of me figure out

Page 24: Building an standard image for windows7

why component services gets listed first).  Stop the Windows Media Player Network Sharing Service.  Not sure if it's necessary on both, but I do this before the Clean operation as well as before the Generalize operation.

1. Received endless reboot cycle on the Reference machine after Generalize.  Online research indicated that leaving the Domain before Cleaning and Generalizing would prevent this. It did.

2. Received a Fatal Error when trying to Generalize.  There is a limit of 3 rearms (re-arms) or generations of creating an image.  For example: Say I create an image, that's the first generation or arming.  Six months later, I decide to make a more up to date image with recent patches and updates.  If, for a reference machine, I use a machine whose Windows installation was made with original image from six months ago to make this new image (rather than from media), that becomes the second generation.  Therefore I can repeat this process only one more time.  When remaining rearms is 0, then I get the Fatal Error when trying to Generalize.  The resolve is to use original media, apply all updates and install necessary software and create a new fresh first-generation image. Or at least use a previous generation image and update it.  To find out what generation an installation is (how many rearms are remaining), type "slmgr /dlv" minus the quotes with a space before the "/" at the command prompt.  It will immediately give you another command prompt like nothing happened.  Wait 10 seconds and a report will appear showing Remaining Windows rearm count. 

Hope this helps.

Page 25: Building an standard image for windows7

Psyanic 7/9/2013

Installing on machine with UEFI and GPT Partition

We encountered a problem whereby our customised image was greater then 4GB so we had to format the UFD with NTFS. However UEFI does not recognise NTFS devices in its boot menu and if we select the UFD from the legacy boot menu we cannot install Windows 7 on a GPT enabled partition. To get round this problem we used two UFDs, one formatted with FAT32 and the other with NTFS.

1. Copy the Windows 7 DVD onto both UFD's.

2. Copy your customised install.wim to the sources folder on the NTFS formatted UFD only.

3. Boot the computer using the FAT32 UFD and stop when you get to the Install screen.

4. Remove the FAT32 UFD and insert the NTFS UFD into the same USB port.

5. Click install and continue as descibed in the article.

Page 26: Building an standard image for windows7

With UEFI and GPT enabled partitions it is important to select the UFD from the UEFI boot menu and not the legacy boot menu.

Regards,

Steve PerrinsSCP Computers.

scpcomp-Steve 12/16/2012

Please make correction to guide "To create a bootable UFD with Windows PE"

Item 10 under "To create a bootable UFD with Windows PE" omits instructions for x64 computers.  It should be corrected to read:

10.  In the Deployment Tools Command Prompt window, perform one of the following tasks, and then press ENTER:

If the reference computer is a 32-bit computer, type xcopy /s C:\winpe_x86\iso\*.* D:\, where D is the drive letter of the UFD.

If the reference computer is a 64-bit computer, type xcopy /s C:\winpe_amd64\iso\*.* D:\, where D is the drive letter of the UFD.

Page 27: Building an standard image for windows7

Thanks.

telecentricity1 10/23/2012

Error

While making boot from USB (WinPE) , the command prompt will come with drive letter X , how to change from this letter to USB letter to type the command ? as while typing the command F:\imagex/compress fast/check/flags "Ultimate" /capture D: F:\install.wim  "Window7 Ultimate" "Window7 Ultimate Custom" , i am getting error like "System cannot find specified path"

My USB drive letter is "F" and window image in machine is in D

An y help would be appreciated :-)

Maanya 10/18/2012

Error Capturing Image

I'm going throught the steps and I'm at the task in the step to capture the image where you have to type one of the commands from table 2 into the command prompt. It says scanning files and directories... and then after a couple minutes I get an error message as follows: [ERROR] C:\ProgramData\Microsoft\Microsoft Antimalware\IMpServiceEDB4FA23-53B8-4AFA-8C5D-99752CCA7094.lock (Error = 32) Error imaging drive [C:\] 

Page 28: Building an standard image for windows7

The process cannot access the file because it is being used by another process.   Can someone please help and get me past this error?

IT-Mouse 10/11/2012

Table 2

Would have saved me some time if i had known that the 2 lines were actually one line...

Kazoa 9/6/2012

Image Size

It would be helpful if there was a guideline as to how big the USB Flash Drive should be based on the amount of drive space used on the reference machine. I used an 8GB drive only to be told the drive was not large enough. The machine was using 21GB of hard drive space with very little software installed (although it did have the numerous updates since the last Service Pack).

How much does Imagex compress the files? May be if I had used NTFS instead of FAT32, as suggested above, it may have worked, but after 2 hours, I had to give up. I will have to try at another time.

bstep55 8/15/2012

Diskpart does not see UFD to be formatted

Under the Create a Bootable UFD section,  step 10 has me copy a directory structure that was never even created if I was installing the AIK for a 64 bit installation.  I assume that the instruction should have me copy the 64 bit structure.

Page 29: Building an standard image for windows7

I also can not get the UFD formatted using the instructions as Diskpart does not see the UFD even though Windows explorer does see the flash drive that I will be reformatting and partioning.  Has anyone else run into that?

Southerner 6/28/2012

Remove disks or other media

I am on "Capture the Image". I have created the UFD bootable drive per the instructions in this article. The message I get on my screen when trying to boot to the USB drive is

"Remove disks or other media

Press any key to restart"

When I press any key, I get

"Reboot and Select proper Boot device

or Insert Boot Media in selected Boot device and press a key"

I have follwed all the instructions to the tee. I've also done some web searches on this particular problem but none of the results directly address this issue.

Page 30: Building an standard image for windows7

Any help/guidance would be appreciated. Thank you.

Steverinos 6/13/2012

Device drivers not found

when i try to install the image on a laptop, just before the select partition bit it says "device drivers not found" and will not let me progress with the install.this image did however work on other computers. do you have any idea why?

Thanks in advance David

David Microsoft apprentice 5/2/2012

Process works on my small test image but not the actual large image

If my image is made from Windows 7 and a few changes to make about a 4GB image then this process is working for me.If I make my image from Windows 7 with SP1 and security patches applied (and the full company settings) it is 23 GB and  I get the error:  "Windows could not apply unattend settings during pass (offline serving)"

I have googled this error and found it to relate to version settings in an unattend.xml file.  But this process does not involve an unattend.xml file so I could use some help.

Scott

Page 31: Building an standard image for windows7

Milkboy 3/16/2012

Required device is inaccessible.

After following these directions, when booting from the UFD, I get error "0xc000000f - The boot selection failed because a required device is inaccessible." Has anyone encountered this previously?

The Training Associates 3/8/2012

HI i need to make my Bootable UFD to be Burned to DVD how can i burn the same

HI

 i need to make my Bootable UFD to be Burned to DVD how can i burn the same and it shuld work as bootable DVD.

Please Help in this and all your steps are really helped me a lot to make a customized image.

Thanks a lot

Regards,

Manoz

Page 32: Building an standard image for windows7

Manoz Denial 2/18/2012

User Prompts

Hi,I work for a small business who provide practise management software for our clients on small business networks.We provide them with all their hardware and currently run through the windows enviroment disabling services and features that cause conflicts.Really we would like the boot disk to prompt us which version of word to install, install our own client or server software, set the IPs of that workstation and the terminal server they connect to.

1. Can I set exe files to run as part of the windows installation?2. Can I select which services and folder options are disabled?3. Can I add other program installs as part of the installation and still prompt users for info

required during the installation? i.e Serial keys, IP addresses, user names and passwords, etc

Thanks

Thomas Lee 1/6/2012

imagex command

Ran into a problem when copy/pasting the commands.

To create a bootable UFD with Windows PESection 6

For 64 bit, the "copy" part of the command is not bold and therefore may be missed. Verify your files (imagex in this instance) was copied correctly to the UFD.

Page 33: Building an standard image for windows7

Otherwise went as outlined.Thanks

Hillbilly Hooker 1/6/2012

imagex command problem

the command that are discribed here did not work for me. instead I usedE:\imagex /compress fast /capture d: E:\install.wim “Windows7"

Answer... You probably don't have your UFD in drive E:\ ... it would be different on your PC... Another drive could already be using it.

Joshua Woodcraft 11/29/2011

SOLVED: Problems with UDF capturing the Image.

when i attempt to boot into my UDF on the reference computer, it tells me to remove disk and other media and press any key to restart. I formatted using FAT32 and i made sure in the BIOS that i could boot from a USB. i also tried formatting my USB using NTFS and i would get an error stating the "bootmgr is missing". I'm not sure why my reference computer (Dell Optiplex 780) isn't reading my USB (with the files from step where you create a bootable UFD). If anyone could help me out I would really appreciate it.

Thanks

Page 34: Building an standard image for windows7

SOLVED:

when you use a UDF for capturing the system image with FAT32 format, it has an individual file limit of 4GB. meaning if any given file is over 4GB it won't be able to capture it to the FAT32 formatted UFD. solved my issue by using a ntfs quick format and it captured no problem.

Vroomie 9/21/2011

SOLVED the Disk Space Problem

Okay, I followed the direction for creating a UFD to the letter and had the same "Not enough disk space error" so I tried a new approach.

I created a second UFD using format fs:ntfs quick for the file system format. After starting my lapotp with the FAT32 UFD build I replaced the it with the NTFS formatted UFD. I was able to create the image without any problems. I used a 16Gb UFD, however I will make my next attempy using a smaller FAT32 UFD since it will only b e used for startup.

As a note I attempted to boot with the NTFS formated UFD, however my systems do not like the NTFS versin for startup.

mafogle 9/20/2011

Page 35: Building an standard image for windows7

Windows could not complete the installation

ColorodoRuss went into this issue vaguely. I had the same problem with a smaller network, thinking the local Administrator account was enabled and working. Here is what you need to do in order to get it to work.

Once you get the error "Windows could not complete the installation" press Shift+F10 and bring up your command prompt. Type mmc and hit enter. Go to file > add snap-in and add Computer Management & Group Policy Object. Hit OK and once you're in the MMC expand Computer Management > Users and Groups > Users and double-click on Administrator. Make sure the account is not disabled and that the password is set to never expire. If you get a message about the password not meeting complexity cancel out of the Administrator window and right-click on the Administrator account and Set Password to something that meets criteria. Once the password is set double-click the Administrator account again and make sure it's not disabled. Click OK and you're done with that.

Expand the Group Policy Object and browse to Local Computer >Computer Configuration > Windows Settings>Security Settings>Local Policies>Security Option and changed "Accounts: Administrator Accounts status" to enabled.

Restart and you're golden. You may get an error when you get to the logon screen about a password being incorrect but just enter the Administrator password you set and you're in.

SkillTech

Page 36: Building an standard image for windows7

7/13/2011

Hardware Independence

Hey Guys,

I followed the steps outlined and successfully made an image which I can install to computers similar to the reference computer. My question is, I was under the impression this process is supposed to produce a hardware independent image? I blue screen with the 7B error (driver problem) every time I install it on a different computer. (For example, my reference computer was an atom/nvidia ion and I want to install it to a P4/ati radeon)

How can I remove the hardware specific drivers from the reference computer and make Windows always use basic/default ones or find applicable ones when I install it to each computer?

Thanks.

Page 37: Building an standard image for windows7

guardianx5 7/3/2011

video drivers

I have one problem. After I run the sysprep process and the laptop shutsdown. I start the laptop back up, it goes through services and driver install process, but the video drivers roll back to the origenal version, not the updated one that I installed before I ran sysprep.can anyone help me with this?

Hello - You need to set the persist option to true in your unattend.xml.

Taken from http://technet.microsoft.com/en-us/library/cc766514(WS.10).aspx

"Persisting Plug and Play Device Drivers during generalize

You can persist device drivers when you run the sysprep /generalize command by specifying the PersistentAllDeviceInstalls setting in the Microsoft-Windows-PnPSysprep component. During the specialize pass, Plug and Play scans the computer for devices and installs device drivers for the detected devices. By default, these device drivers are removed from the system when you generalize the system. If you set PersistAllDeviceInstalls to True in an answer file, Sysprep will not remove the detected device drivers. For more information, see the Unattended Windows Setup Reference."

Cheers! -jlester3

jlester3 6/17/2011

UFD not accessible after formatting and making active .

Page 38: Building an standard image for windows7

I faced issue after completing UFD formatting ,drive was not accessible . So you have enter command: " assign " to assign the drive letter to UFD then only you can copy the files on it . ..

Ravikaran 6/14/2011

Capture problem

For anyone who receives the error "There is not enough space on the disk." when performing the capture to a UFD, reformat the flash drive to NTFS instead of FAT32. Worked for me.

Trey Carlee 6/10/2011

RE: imagex command problem

If any one is having issue with imageX command, the command lines shown in Table 2 aren't supposed to be two lines;it's one long command line.

ProUndeniable 4/22/2011

Local Administrator account

I learned this the hard way. You have to set a password and enable the local "Administrator" account or the system grinds to a halt after running sysprep. There may be an easier way, but I had to start from scratch.

ColoradoRuss

Page 39: Building an standard image for windows7

12/7/2010

Re Video Drivers

You have to provide an XML file for the unattend switch on sysprep.

This is mine

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="generalize">

        <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

            <SkipRearm>1</SkipRearm>

        </component>

        <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

     <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>

     <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

Page 40: Building an standard image for windows7

    </component>

    </settings>

    <cpi:offlineImage cpi:source="wim:c:/mystuff/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

NathanSimpson 10/7/2010

NTFS/Fat32

If your image is big or UFD>32GB use NTFS instead of FAT32 formating. Worked well for me.

Tudi-Imprezzio 8/12/2010

important

While doing the process of sysprep you must end the task named wmpnetwork in task manager to run correctly

Thomas Lee 8/2/2010

Device not ready

Page 41: Building an standard image for windows7

as soon as I look for E: after inserting the UFD into the computer I'm trying to capture an image of, it keeps coming up "Device not ready". I've gone through all the other drives and they came up along the line as destination not available so this leads my to believe E: is the correct drive. anyone else have this problem?

Thomas Lee 8/2/2010