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

Enabling EMS using DISM

You can also use the DISM command-line tool to enable EMS in the image by running the following commands:

Dism /Mount-Image /ImageFile:.\NanoServer.wim /Index: 1 /MountDir:.\mountdirBcdedit /store \ mountdir \ boot \ bcd / ems {default} onBcdedit /store \ mountdir \ boot \ bcd / emssettings EMSPORT:3 EMSBAUDRATE:9600Dism \ dism / Unmount-Image /MountDir:.\mountdir / Commit

In the previous example, we mounted a Nano Server image toward a directory called mountdir using index 1, because NanoServer.wim holds two Windows images:

  • Index: 1: Windows Server 2016 SERVERSTANDARDNANO
  • Index: 2: Windows Server 2016 SERVERDATACENTERNANO

Then you can use the Bcdedit tool, the boot configuration data editor, toward the mounted ...

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