O'Reilly logo

Getting Started with Nano Server by Charbel Nemnom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing a Nano Server image using DISM

DISM is the tool of choice for adding packages in online and offline modes. The following example uses the offline version of DISM to add a package:

  • Dism /Add-Package /PackagePath:.\packages\<package>
  • Dism /Add-Package /PackagePath:.\packages\en-us\<package>
For each package you want to add, you must run two DISM commands, one for the package path in the Packages folder, as shown in Figure 3 earlier. But underneath that, you will find another folder called en-US or whatever localization you have bought from Microsoft. In my example here, we are using en-US for English-United States; fr-BE is for French-Belgium, and so on.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required