Creating Windows 10 Gold Image

I have been meaning to make a post about creating a windows 10 Golden image. Finally I got the chance to do that. Below there is a video you can watch ( I am new at making videos so if you want me to make it again, I will be more than happy to). 


Create a New VM in vCenter.

Go to VM Options – Edit Configurations – add devices.hotplug false

Check the Next Time the MV boots. Force it into BIOS.

Check your settings

In the Bios, go to Advanced

Disable I/O Devices.

Boot from windows 10 iso and press shift 10 to get the CMD and type in diskpart.

  • select disk 0
    • create partition primary
    • exit

Select Drive and install windows

After windows has installed, press shift + f3 enter audit mode.

Press cancel to the System Preparation box every time you reboot until ready to seal the image.

Install VMware tools.

Install windows updates and your software/applications.

Open turn windows features on or off.

Check .NET Framework 3.5.

Uncheck Print and Documents Services.

Click OK.

Enable verbose status and Run disk cleaner.

  • REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v verbosestatus /t REG_DWORD /d 1 /f
  • c:\windows\system32\cleanmgr /sageset:1 – Select the options you want to delete

Credits – –

Open gpedit.msc and enable/disable settings you dont need.

Disable hardware acceleration on Chrome and IE.

Create a power plan.

Desktop mode.

Turn off firewall if necessary.

Install printers.

Run thr Ngen tool.

  • cd Windows\Microsoft.NET\Framework\v4.x.x\
  • ngen executequeueditems

Run the Dism tool.

dism /online /cleanup-image /startcomponentcleanup /resetbase

for more info about the Dism tool go to

Remove unwanted built-in apps.

Set default applications for all users.

  • Dism /Online /Export-DefaultAppAssociations:c:\appAssoc.xml
  • Open the exported file “c:\appAssoc.xml” in notepad and copy its contents
  • Open file C:\Windows\System32\OEMDefaultAssociations.xml in notepad – select all and paste contents from “c:\appAssoc.xml” and save

Mount windows 10 installation ISO.

Create unattend (copyprofile) file using Windows SIM and it should look like the one below.

<?xml version=”1.0″ encoding=”utf-8″?>

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

<settings pass=”specialize”>

<component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”” xmlns:xsi=”[”&gt](”&gt)_; _




<cpi:offlineImage cpi:source=”wim:D:/install.wim#Windows 10 Enterprise” xmlns:cpi=”urn:schemas-microsoft-com:cpi” />


Open a poweshell window and run.

  • cd C:\Windows\System32\Sysprep\
  • Sysprep /generalize /oobe /shutdown /unattend:C:\CopyProfile.xml

Once the vm has rebooted, you will need to create a new user.

and since we customized the Default profile, every new user should get the same desktop customization.

And now we Optimize and Install View,UEM Agents.

And we run the VDIcleanup script provided by Lieven D’hoore. @

That’s It.

This Post Has 4 Comments

  1. Great article, could you post somewhere the copyprofile.xml file, copy and paste not working



  2. thanks Oscar! great work

    1. Sure, thanks!

Leave a Reply

Close Menu