9
Windows 8.1 taught by Jawad Safari Anthony Arecchi Brady Galbraith Bachir NurDahir Ratan Mohapatra 1. Install Windows 8.1 Enterprise on one desktop with MS Office 2. Create an image of the Windows Installation 3. Store the Image on a network share on the Laptop 4. Install the OS on the second desktop using the image from network share Lab Report – 1. WIM creation and deployment using DISM

groupProject-1-Win8

Embed Size (px)

Citation preview

Windows 8.1 taught by Jawad Safari

Anthony Arecchi

Brady Galbraith

Bachir NurDahir

Ratan Mohapatra

1. Install Windows 8.1 Enterprise on one desktop with MS Office

2. Create an image of the Windows Installation3. Store the Image on a network share on the Laptop4. Install the OS on the second desktop using the image

from network share

Lab Report – 1. WIM creation and deployment using DISM

1. Set up the reference system on Hyper-V

Install the reference computer

• Create a VM on Hyper-V using 25GB HD and 1024 MB RAM

• Boot from an ISO of Win 8.1 Enterprise and install OS

• Install MS Office

2015-July-17 ABBRA- a Windows 8.1 deployment Project 2

2. Prepare for the Image capture

Use SYSPREP

• SYSPREP ($systemroot/system32/sysprep/sysprep.exe)

• A tool that prepares an installation of windows OS for duplication, auditing

and end-use delivery

• Note the above will also leave any user data in the reference installation. If

you need to remove them you can select the “Auditing” in stead of OOBE,

Reboot (in stead of shutdown) and cleanup any pre-existing user traces

2015-July-17 ABBRA- a Windows 8.1 deployment Project 3

Command line: SYSPREP /OOBE /Generalize /Shutdown /Quiet

Edit virtual machine settings

2015-July-17 ABBRA- a Windows 8.1 deployment Project 4

1. Attach the WinPE media (iso). Select the boot order to boot from DVD drive

2. Attach an empty Virtual hard drive to store the image that was used for testing on a physical machine by transferring it to a USB media

Boot from the WinPE media

2015-July-17 ABBRA- a Windows 8.1 deployment Project 5

1. Start the machine2. Make sure to boot from the cd/dvd when prompted. If you miss this you have to

SYSPREP again and get into troubles of file corruption as some of you experienced it

Set up the disk in DISKPART

2015-July-17 ABBRA- a Windows 8.1 deployment Project 6

Use DISKPART for disk management

• Format the hard drive of the VM (e.g., Disk 0, partition1):

• Assign it a drive letter and make a note of it e.g., C:\

• identify the drive letter for the main hard drive of the VM (C:) for example using list volume command

• See Joe’s Windows 7 Hand Out for all the commands used in disk management

(Ping a network location)

Image management using DISM

• Apply the image on Disk 0, Partition 1 from the external VHD drive – Disk 1

• Recheck the drives by dir e.g., dir c:\ (Fig. 2)

• The new image program is called DISM (Deployment Imaging System Management). The command is as explained below.

2015-July-17 ABBRA- a Windows 8.1 deployment Project 7

dism /apply-image /imagefile:d:\win8Ent1.wim /index:1 /applydir:c:\

program switch: do what? switch: where is the image file? switch: an index for the OSWin ent. = 1

Where do you install it

(Capture and Saving Image to a network location)

(Retrieving image from a network location & Apply)

dism /apply-image /imagefile:d:\win8Ent1.wim /index:1 /applydir:c:\

program switch: do what? switch: where is the image file? switch: an index for the OSWin ent. = 1

Where do you install it

• Remove the WinPE media and reboot to boot with the OS which will do the final stages of customization.

• Some of the things at this step can be automated in an answer file, which will be explored later.

• Following is a screenshot of the transferred machine (ABBRa) in Hyper-V environment. This has been tested on a physical machines in the lab.

Finalising Installation

2015-July-17 ABBRA- a Windows 8.1 deployment Project Page 8

Appendix

Creating a WinPE media:

1. Install Microsoft ADK

2. Open the Deployment & Imaging Tools Environment

3. COPYPE AMD64 C:\WINPE_64\

4. If you need a 32 bit version replace amd64 by x86

5. Creating the WinPE Media”

6. ISO file for CD/DVD:

MAKEWINPEMEDIA /ISO C:\SHARE\WINPE64.ISO (I SAVE IT IN SHARE)

7. To make a Flash drive:

MAKEWINPEMEDIA /UFD C:\WINPE_AMD64 F: (f is usb)

CMD line adjusting network adapter:

• netsh interface ip set address name=”Local Area Connection” static 192.168.0.1 255.255.255.0 192.168.0.254

• netsh interface ip set address name=”Local Area Connection” source=dhcp

• netsh interface ip set dns name=”Local Area Connection” static 192.168.0.250

• netsh interface ip add dns name=”Local Area Connection” 8.8.8.8 index=2

• netsh interface ip set dnsservers name=”Local Area Connection” source=dhcp (dns settings are assigned from DHCP)

Fixing Boot Problems in MBR partition @ the recovery console

Win 7: bootrec /rebuildbcd bootrec /fixmbr bootrec /fixboot

Win 8: bootrec /fixmbr bootrec /fixboot bootrec /ScanOs bootrec /RebuildBcd

2015-July-17 ABBRA- a Windows 8.1 deployment Project 9