Add latest CU when building Nano Server

Add latest CU when building Nano Server

Q. I'm creating a Nano Server image. How do I add that latest CU when building it?

A. To include the latest CU in a new Nano Server image during creation (remember another option is to bake the update into the source WIM file which is a better option long term as documented at the -ServicingPackagePath parameter is used while passing the cab file (to extract CAB from MSU see For example:

New-NanoServerImage -MediaPath 'S:\OS Images\Windows Server 2016 RTM\Expanded' `
-ServicingPackagePath 'D:\NanoBuild\Updates\' `
-BasePath .\Base -TargetPath $NanoVHDPath -ComputerName NanoVM2 `
-DeploymentType Guest -Edition Standard `
-Storage -Defender -EnableRemoteManagementPort `
-Package Microsoft-NanoServer-DSC-Package `
-UnattendPath .\unattend.xml `
-AdministratorPassword $adminPass -DomainName savilltech -ReuseDomainNode


Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.