Add latest CU when building Nano Server
Add latest CU when building a Nano Server image.
John Savill
April 14, 2017
1 Min Read
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 http://windowsitpro.com/windows-server-2016/patch-nano-server-wim-file) the -ServicingPackagePath parameter is used while passing the cab file (to extract CAB from MSU see http://windowsitpro.com/windows/how-can-i-extract-cab-file-msu-file). For example:
New-NanoServerImage -MediaPath 'S:OS ImagesWindows Server 2016 RTMExpanded' `-ServicingPackagePath 'D:NanoBuildUpdatesWindows10.0-KB4010672-x64.cab' `-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
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like