Vous êtes sur la page 1sur 10

Module 1

Lab Answer Key: Installing, Upgrading, and Migrating to Windows 7


Contents:
Exercise 1: Installing Windows 7 Exercise 2: Migrating Settings by Using Windows Easy Transfer Exercise 3: Configuring a Reference Image Exercise 4: Deploying a Windows 7 Image

Lab: Installing and Configuring Windows 7


Computers in this lab
Before you begin the lab, you must start the virtual machines. The virtual machines used at the start of this lab are: NYC-DC1 NYC-CL1 NYC-CL3 NYC-CL4

Start the virtual machines

Note: To log on to a virtual machine in Microsoft Virtual PC, press <Right ALT> + DELETE. Note: If you have already logged on to a virtual machine, skip the logon task for that particular virtual machine.

Exercise 1: Installing Windows 7


Task1:
1. 2. 3. Start NYC-CL3. Perform a default installation of the operating system. Change the following parameter: a. ComputerName=NYC-CL3 b. IP Address=10.10.0.35 c. Mask= 255.255.0.0 d. DNS=10.10.0.10 e. Domain=WoodgroveBank.com

Exercise 2: Migrating Settings by Using Windows Easy Transfer


Task 1: Place Windows Easy Transfer on a network share
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Log on to the NYC-DC1 virtual machine as WoodgroveBank\Administrator with a password Pa$$w0rd. Create in D: a shared folder named Data. Log on to the NYC-CL1 virtual machine as WoodgroveBank\Dana with a password of Pa$$w0rd. Create on Desktop a new document with a name Text.txt. Log off. Log on to the NYC-CL1 virtual machine as WoodgroveBank\Administrator with a password of Pa$$w0rd. Click Start, point to All Programs, click Accessories, click System Tools, and then click Windows Easy Transfer. In the Windows Easy Transfer window, click Next Click Start a new transfer. Click My old computer. Click Use a CD, DVD, or other removable media. Click External hard disk or to a network location. In the Windows Easy Transfer, type \\NYC-DC1\data\SaveData.mig, and then click Next. Click and Advanced Option, and then click Next. On the Select user account, files, and settings to transfer, select only Dana, and then click Next. When the wizard is finished, then click Close.

Task 2: Import the configuration settings on NYC-CL3


1. 2. 3. 4. 5. 6. 7. Log on NYC-CL3 virtual machine as woodgrovebank\administrator with a password Pa$$w0rd. Click Start, point to All Programs, click Accessories, click System Tools, and then click Windows Easy Transfer. On NYC-CL3, in Windows Easy Transfer, click Next. In Windows Easy Transfer, select An external hard disk or USB flash drive. In Windows Easy Transfer, select This is my new computer. Click Yes to indicate that the settings from the old computer have been saved. In the Open an Easy Transfer File window, in the File name box, type \\NYCDC1\Data\SaveData.MIG and then click Open.

8. 9. 10. 11.

Click Transfer to begin importing Dons profile. Wait until the transfer completes. Click Close. Log off of NYC-CL3.

Task 3: Verify the migration


1. 2.
3.

On NYC-CL3, log on as WOODGROVEBANK\Dana with a password of Pa$$w0rd. Notice that Test.txt appears on My Documents. Shut down NYC-CL3.

Exercise 3: Configuring a Reference Image


Task 1: Install the DHCP role on NYC-DC1
1. 2. 3. Switch to NYC-DC1. On the taskbar, click Server Manager. In Server Manager, in the navigation pane, click Roles, and then in the right-pane, click Add Roles. 4. 5. 6. 7. 8. 9. In the Add Roles Wizard, click Next. On the Select Server Roles page, select the DHCP Server check box and then click Next. On the Introduction to DHCP Server page, click Next. On the Select Network Connection Bindings page, click Next. On the Specify IPv4 DNS Server Settings page, click Next. On the Specify IPv4 WINS Server Settings page, click Next.

10. On the Add or Edit DHCP Scopes page, click Next. 11. On the Configure DHCPv6 Stateless Mode page, click Disable DHCPv6 stateless mode for this server and then click Next. 12. On the Authorize DHCP Server page, click Next. 13. On the Confirm Installation Selections page, click Install. 14. On the Installation Results page, click Close and then close Server Manager. 15. Click Start, point to Administrative Tools, and then click DHCP. 16. In DHCP, expand nyc-dc1.contoso.com. 17. In DHCP, in the navigation pane, expand IPv4, right-click IPv4, and then click New Scope. 18. In the New Scope Wizard, click Next. 19. On the Scope Name page, in the Name box, type DHCP Scope and then click Next. 20. On the IP Address Range page, complete the page using the following information and then click Next: Start IP address: 10.10.0.100 End IP address: 10.10.0.150 Length: 16 Subnet mask: 255.255.0.0

21. On the Add Exclusions and Delay page, click Next: 22. On the Lease Duration page, click Next. 23. On the Configure DHCP Options page, click Next. 24. On the Router (Default Gateway) page, click Next. 25. On the Domain Name and DNS Servers page, click Next. 26. On the WINS Servers page, click Next. 27. On the Activate Scope page, click Next. 28. On the Completing the New Scope Wizard page, click Finish.

Task 2: Configure a dynamic IP address to prepare a reference image for imaging


1. Start and then log on to the LON-CL3 virtual machine as WoodgroveBank\Administrator with a password of Pa$$w0rd. 2. Click Start and click Control Panel. 3. Under Network and Internet, click View network status and tasks. 4. Click Local Area Connection. 5. In the Local Area Connection Status window, click Properties. 6. In the Local Area Connection Properties window, click Internet Protocol Version 4 (TCP/IPv4) and then click Properties. 7. Click Obtain an IP address automatically, click Obtain DNS server address automatically, and then click OK. 8. In the Local Area Connection Properties window, click Close. 9. In the Local Area Connection Status window, click Close. 10. Close Network and Sharing CENTER

Task 3: Generalize a reference image with sysprep


1. 2. 3. 4. 5. 6. Click Start and then click Computer. Browse to C:\Windows\System32\sysprep and then double-click sysprep.exe. In the System Cleanup Action box, click ENTER System Out-of-Box Experience (OOBE). Select the Generalize checkbox. In the Shutdown Options box, click Shutdown. Click OK. LON-CL3 shuts down after several minutes.

Task 4: Prepare the virtual machine for imaging


1. 2. 3. 4. If necessary, on your host computer, click Start, point to Microsoft Virtual PC. On NYC-CL3 and click CD Menu and then Capture ISO Image. In the Select CD Image to Capture,Browse to C:\Program Files\Microsoft Learning\Drives, click winpe_x86.iso, and then click Open.

Task 4: Copy the reference image to a share Note: Steps 1 and 2 must be performed quickly

to ensure that you are able to boot from the virtual DVD rather than the hard disk. If the operating system starts to boot because you do not complete the steps quickly enough, then click the Reset button in the virtual machine window to try again. You may want to take a snapshot of the virtual machine before attempting to boot from the DVD. 5. Click in the virtual machine window, and press a key when prompted to press a key to boot from CD or DVD. 6. At the command prompt, type ipconfig and the press ENTER. Verify that an IP address in the 10.10.0.0 range is assigned. This confirms that Windows PE obtained an IP address from the DHCP Server. 7. At the command prompt, type the following command and press ENTER net use i: \\londc1\data /user:WoodgroveBank\administrator Pa$$w0rd 8. At the command prompt, type d: and press ENTER. This is a original C: drive on the reference computer. 9. At the command prompt, type dir and then press ENTER 10. At the command prompt, type e: and press ENTER. This is a drive created in memory by Windows PE. 11. At de command prompt, type dir and then press ENTER. 12. At the command prompt, type imagex /capture d: i:\Reference.wim Reference Image for Windows 7 /compress fast and then press ENTER.

Note: While the image creation completes, begin working on Exercise 4.

Exercise 4: Deploying a Windows 7 Image


Task 1: Capture configuration settings with USMT
1. Log on the NYC-DC1 virtual machine as WoodgroveBank\Administrator with a password of Pa$$w0rd. 2. Copy C:\Program Files\Windows AIK\tools\USMT to D:\Data 3. Log on the NYC-CL1 virtual machine as WoodgroveBank\Administrator with a password of Pa$$w0rd. 4. Click Start, type cmd, and press ENTER. 5. At the command prompt, type net use i: \\lon-dc1\data and then press ENTER. 6. At the command prompt, type i: and then press ENTER. 7. At the command prompt, type cd \usmt\x86 and then press ENTER. 8. At the command prompt, type md \usmtdata and then press ENTER. 9. At the command prompt, type scanstate i:\usmtdata and then press ENTER. 10. After the capture is complete, shut down NYC-CL1.

Task 2: Start Windows PE on the new computer


1. 2. 3. 4. On your host computer, click Start, point to Administrative Tools, and click Microsoft Virtual PC. On NYC-CL4 and click CD Menu and then Capture ISO Image. In the Select CD Image to Capture,Browse to C:\Program Files\Microsoft Learning\Drives, click winpe_x86.iso, and then click Open. At the command prompt, type ipconfig and the press ENTER. Verify that an IP address in the 10.10.0.0 range is assigned. This confirms that Windows PE obtained an IP address from the DHCP server. At the command prompt, type the following command and then press ENTER: net use i: \\londc1\data /user:WoodgroveBank\administrator Pa$$w0rd.

5.

Task 3: Partition the disk on the new computer


1. 2. 3. 4. 5. 6. 7. 8. 9. On NYC-CL4, at the command prompt type diskpart and press ENTER. Type select disk 0 and then press ENTER. Type clean and then press ENTER. Type create partition primary size=15000 and then press ENTER. Type select partition 1 and then press ENTER. Type format fs=ntfs label=Windows quick and then press ENTER. Type assign letter=c and then press ENTER. Type active and then press ENTER. Type exit and then press ENTER.

Task 4: Apply the image to the new computer


1. 2. 3. On NYC-CL4, at the command prompt, type d: and then press ENTER. At the command prompt, type imagex /apply i:\reference.wim Reference Image for Windows 7 c: and then press ENTER. After applying the image is complete, type bcdboot c:\windows and then press ENTER.

Task 5: Perform initial operating system configuration for the new computer
1. Restart NYC-CL4 by closing the command prompt. Do not start from CD or DVD.

2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.

If prompted, select Start Windows normally and press ENTER. The computer will restart before asking for any input. In the Set Up Windows box, click Next to accept the default country, time and currency format, and keyboard layout. In the Type a user name box, type LocalAdmin. In the Type a computer name box, type NYC-CL4 and then click Next. In the Type a password and Retype your password boxes, type Pa$$w0rd. In the Type a password hint box, type Local Admin and then click Next. Clear the Automatically activate Windows when Im online checkbox and then click Next. Select the I accept the license terms checkbox and then click Next. Click Ask me later to delay the implementation of Windows updates. Click Next to accept the default settings for time zone and date. Click Work network to select your computers current location. Click Start, right-click Computer, and click Properties. Under Computer name, domain, and workgroup settings, click Change settings. In the System Properties window, click Change. In the Computer Name/Domain Changes window, click Domain, type WoodgroveBank.com, and then click OK. Authenticate as Administrator with a password of Pa$$w0rd. Click OK to close the welcome message. Click OK to close the message about restarting. In the System Properties window, click Close. Click Restart Now.

Task 6: Apply the captured setting to the new computer


1. 2. 3. 4. 5.
6.

7.

Log on to the NYC-CL4 virtual machine as WoodgroveBank\Administrator with a password of Pa$$w0rd. Click Start, type cmd, and press ENTER. At the command prompt, type net use i: \\lon-dc1\data and then press ENTER. At the command prompt, type i: and then press ENTER. At the command prompt, type cd \usmt\x86 and then press ENTER. At the command prompt, type loadstate i:\usmtdata and then press ENTER. Close the command prompt.

Task 7: Verify the application of user settings on NYC-CL4


1. 2. 3. 4. 5. 6. 7. Click Start, right-click Computer, and then click Properties. Click Advanced system settings. In the User Profiles area, click Settings. Read the list of user profiles and verify that several have been created, including one for WOODGROVEBANK\Dana. In the User Profiles window, click Cancel. In the System Properties window, click Cancel. Close the System window.

Task 8: Revert Virtual Machine


When you finish the lab, you should revert each virtual machine back to its initial state. To do this, complete the following steps:

1. On each virtual machine, on the Action menu, click Close.

2. In the Close dialog box, click Turn off and delete changes. 3. Click OK.

Vous aimerez peut-être aussi