Install Windows Nano Server on Hyper-V

Spread the words

I used the VHD file available on Microsoft site for download.

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview

Use the New-VM cmdlet to create a new VM

I’m allocating 1024MB of memory and 2 processors for this server.

New-VM –Name NanoServer –path D:\VM –MemoryStartupBytes 1024MB

newvm

Use Set-VMProcessor cmdlet to configure 2 processors

Set-VMProcessor NanoServer –Count 2

setpro

Add network. I’m adding this server to the External VM switch.

Use Add-VMNetworkAdapter cmdlet

Add-VMNetworkAdapter –VMName NanoServer –SwitchName ‘External VM Switch’

addnet

Attach the nano VHD (already downloaded from Microsoft website) to the VM.

Use the Add-VMhardDiskDrive cmdlet

Add-VMHardDiskDrive –VMName NanoServer –path “D:\VM\NanoServer\NanoTP5.vhd”

addvhd

Start the VM.

Use the Start-VM cmdlet

Start-VM –Name NanoServer

startvm

Check the VM status

Use the Get-VM cmdlet

Get-VM –Name NanoServer

getvm

Now you can connect to the VM using a Hyper-V manager.

firstconnect

Change the password at the first login.

changepass

You are in

page1

Cheers 😉

Leave a comment

Your email address will not be published.


*