Update Image Process – In Hyper-V

1.  Open up Hyper-V Manager and find your reference images in the Virtual Machines panel. Click on the item that you want to update,  in this case we will update W7X64ENT01.

1

 2.  In the Checkpoints panel, right click on the Prior to Prepare for Sysprep checkpoint, click Apply.

2

3.  @ the Apply Checkpoint popup, click on Apply.

3

4.  Right click on your virtual machine and click Start, the Right click on your virtual machine, click Connect.

4

5.  You are now ready to update your machine with the latest updates, add/remove software, and customize the default administrator profile.

5

6.  Once you have completed the update of the virtual machine and have completed all of the pending reboots, you will need to take a snapshot of the machine, this will allow you to roll back to this for the next update cycle. Open up Hyper-V Manager and find your reference images in the Virtual Machines panel. Click on the item that you want to update, in this case we will update W7X64ENT01.

6

7.  Right click on the virtual machine, click on Checkpoint.

7

8. Once checkpoint has been created, right click on the checkpoint and click rename, we will rename this to “Prior to preparing for Sysprep – 4/1/2015.”

8

9. Once completed with the new sysprep you will return to the machine to proceed.

9

10. Mount the Build_Utils.iso file on your virtual machine, will be on the root of the H:\ Drive. @ the AutoPlay popup, click “Open folder to view files”

   NOTE: The Build_Utils.iso contains files that will be used to prepare the machine for Sysprep and Capture.

10

11. Browse the contents of the mounted ISO, go to the Build and Capture folder. We will execute the CleanUp.vbs and the CleanUpWSUS.bat files to clean up the machine.

11

12. Once the scripts have completed, browse to the Settings directory on the mounted ISO. You will need to copy the files in this folder to locations on the C:\ drive of the virtual machine. Copy the SETTASKBAR.VBS file to the following location: “C:\ Users \ Administrator \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ Startup”

12

13. Copy the unattend.xml file from the Build_Util.iso to C:\Windows\System32\Sysprep, then eject the Build_Utils.iso from the virtual machine.

13

14.  Execute c:\windows\system32\sysprep\sysprep.exe, check the box to Generalize and click on Shutdown for the Shutdown Options, click Ok. Sysprep will run and shutdown the machine.

14

15. Once the machine is shutoff, you will need to mount the Generic_x64.iso to the machine, then boot the Virtual Machine to mounted ISO, will be on the root of the H:\ Drive.

 NOTE: The Generic_x64.iso was created using the Microsoft Deployment Toolkit

15

16. Once your virtual machine has booted up to the command prompt, you will need to mount the Build_Utils.iso file again. Change the drive letters to find the letter of the OSDrive and the mounted ISO. We will be using D: for the OSDrive and E: for the mounted ISO. Execute the following command:

17.  Imagex /capture d: d:\W7X64ENTGOLD.WIM “Windows 7 x64 Gold Image”

16_17

18. Capture of the image begins

18

19. Once completed you will need to copy the WIM file to the SCCM server so it can be imported. Once you have imported it into SCCM and validated that the image is functional, remove the old checkpoints from the Hyper-V server as they won’t be necessary anymore.

19

Share:

Facebook
Twitter
LinkedIn
Picture of Matt Tinney

Matt Tinney

Professional IT executive & business leader having decades of experience with Microsoft technologies delivering modern-day cloud & security solutions.

Contact Us

=
On Key

More Posts

WME Cybersecurity Briefings No. 020
Cyber Security

WME Security Briefing 26 July 2024

Pro-Houthi Group Targets Yemen Aid Organizations with Android Spyware Overview A suspected pro-Houthi group, OilAlpha, is targeting humanitarian organizations in Yemen with advanced Android spyware. The operation is associated with the activity cluster codenamed OilAlpha. It

Read More »
WME Cybersecurity Briefings No. 019
Cyber Security

WME Security Briefing 23 July 2024

Samba File Shares Targeted by DarkGate Malware in Recent Cyber Offensive Overview Recent investigations by Palo Alto Networks uncover a brief but significant cyberattack campaign utilizing DarkGate malware. This malicious software exploited Samba file shares to

Read More »
WME Cybersecurity Briefings No. 018
Cyber Security

WME Security Briefing 15 July 2024

OVHcloud Mitigates Record-Breaking 840 Million PPS DDoS Attack Overview In April 2024, OVHcloud, a top French cloud computing firm, successfully stopped a massive DDoS attack. The attack hit a record-breaking rate of 840 million packets per second

Read More »
E-Commerce Security - Solutions for Online Retailers
Azure

E-commerce Security – Solutions for Online Retailers

Today’s hyper-charged e-commerce landscape demands top-notch cybersecurity measures. Cybersecurity for this bustling sector isn’t just about ticking a technical box; it’s the cornerstone of building trust. As businesses and consumers flock to the online space, the

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=