Presentation is loading. Please wait.

Presentation is loading. Please wait.

Free, online, technical courses Take a free online course. Microsoft Virtual Academy.

Similar presentations


Presentation on theme: "Free, online, technical courses Take a free online course. Microsoft Virtual Academy."— Presentation transcript:

1 Free, online, technical courses Take a free online course. http://www.microsoftvirtualacademy.com Microsoft Virtual Academy

2

3

4

5

6

7

8 Nano Server folder has a Packages sub-folder Dism /Add-Package /PackagePath:.\packages\ Dism /Add-Package /PackagePath:.\packages\en- us\ Role or featurePackage file Hyper-V roleMicrosoft-NanoServer-Compute-Package.cab Failover ClusteringMicrosoft-NanoServer-FailoverCluster-Package.cab File Server role and other storage componentsMicrosoft-NanoServer-Storage-Package.cab Windows Defender Antimalware, including a default signature fileMicrosoft-NanoServer-Defender-Package.cab Reverse forwarders for application compatibility, for example common application frameworks such as Ruby, Node.js, etc. Microsoft-OneCore-ReverseForwarders-Package.cab

9

10 1 On a Windows 10 or Windows Server 2016 Technical Preview installation, mount the Technical Preview ISO, and, assuming the drive letter for the mounted image is D:\, run the following: Copy "D:\NanoServer" "C:\NanoServer" -Recurse 2 Generate a VHD from NanoServer.wim by using Convert-WindowsImage.ps1 from TechNet Script Center.TechNet Script Center C:\ Cd \NanoServer..\Convert-WindowsImage.ps1 Convert-WindowsImage –SourcePath C:\NanoServer\NanoServer.wim –VHDPath C:\NanoServer\NanoServer.vhd –VHDFormat VHD -Edition CORESYSTEMSERVER_INSTALL

11 Create a “Panther” folder (used by Windows systems for storing files during setup). Copy the Unattend.xml file to it with these commands: md.\mountdir\windows\panther copy.\unattend.xml.\mountdir\windows\panther 3 1 From an elevated command prompt, run: dism /Mount-Image /ImageFile:.\NanoServer.vhd /Index:1 /MountDir:.\mountdir 2 Then apply the unattend.xml file: dism /image:.\mountdir /Apply-Unattend:.\unattend.xml 4 Unmount the VHD: dism /Unmount-Image /MountDir:.\mountdir /Commit

12

13

14

15 3 1 From an elevated command prompt, run: dism /Mount-Image /ImageFile:.\NanoServer.vhd /Index:1 /MountDir:.\mountdir 2 Then copy in the setupcomplete.cmd file: md.\mountdir\Windows\Setup md.\mountdir\Windows\Setup\Scripts copy.\SetupComplete.cmd.\mountdir\Windows\Setup\Scripts

16 Harvest a data blob from a domain machine that is already running Windows Server Technical Preview djoin.exe /provision /domain /machine /savefile.\odjblob Add the contents of the “odjblob” file to the unattend file Inject the unattend file into the Nano Server image Can also domin join online: Harvest a data blob as above, copy to the Nano Server machine, use PS-Remoting to connect and run: djoin /requestodj /loadfile c:\Temp\odjblob /windowspath c:\windows /localos shutdown /r /t 5 Exit-PSSession

17 To dual boot Nano Server and another version or installation option of Windows Server Run these commands, replacing {GUID} with the copied GUID (including the curly brackets): bcdedit /set {GUID} device vhd=[c:]\NanoServer\NanoServer.vhd bcdedit /set {GUID} osdevice vhd=[c:]\NanoServer\NanoServer.vhd bcdedit /set {GUID} path \windows\system32\boot\winload.exe (or winload.efi for EFI systems) 3 1 Open an elevated command prompt, copy the current boot loader entry on the computer where Nano Server is running, and then use that to create a new entry with this command: bcdedit /copy {current} /d “Nano Server” 2 Type bcdedit again and copy the GUID that appears in the ID field of the newly copied boot loader entry, including the curly brackets.

18 If you want to use EMS you can enable it in your boot configuration 1 From an elevated command prompt, run: bcdedit /ems {GUID for Nano Server boot option} ON bcdedit /emssettings EMSPORT: EMSBAUDRATE:115200

19

20 Deep technical content and free product evaluations Hands-on deep technical labs Free, online, technical courses Download Microsoft software trials today. Find Hand On Labs.Take a free online course. Technet.microsoft.com/evalcenterTechnet.microsoft.com/virtuallabsmicrosoftvirtualacademy.com TechNet Virtual Labs

21


Download ppt "Free, online, technical courses Take a free online course. Microsoft Virtual Academy."

Similar presentations


Ads by Google