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>
Note
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.
To customize Nano Server using DISM so you can manage it remotely, you need to set an administrator password.
The simplest way is using an unattend.xml
file, as shown in the following example:
<?xml version='1.0' encoding='utf-8'?> <unattend xmlns="urn:schemas...