Windows 2016 – Hyper-V CheckPoints Disk Space

December 4, 2018

Once you create VM checkpoints in Hyper-V it might start consuming a lot a disk space afterwards.

image

Because it will write data to the AVHDX files.

You can use PowerShell to investigate the current disk size.

Get-VM YourVM | Select-Object VMId | Get-VHD | Select-Object –Property path,computername,vhdtype,
@{label=’Size(GB)’;expression={$_.filesize/1gb –as [int]}}

image

As you can see the VHD Type is saying DIFFERENCING.

That is because you have a checkpoint pending. And this is NOT recommended in a production environment.

There are some tricky scenario’s where deleting checkpoints can corrupt your VM.

See here for more info

Enjoy !

Advertisements

Windows Server 2016 – Computer Browser Service Missing ?

August 8, 2017

Compared to older versions of Windows Server some services are missing like :

Computer Browser Service

Network Discovery Service

Making that you don’t see the computers available in your network by default …

image

Solution :

Make sure that the SHARING options for the DOMAIN profile is turned on !

image

Next check that the DNS Client Service is running

image

Next check that the Function Discovery Resource Publication Service is running

image

Next check that the SSD Discovery Service is running

image

Make sure the Firewall is allowing network discovery

netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

Go and check again to what is appearing now…

image

If it does not work you can try turning on the UPnP Device Host Service. Which I don’t recommend since UPnP can be a weak spot in your network…

Enjoy!


Windows Server – 2012r2 & 2016 – How to disable the SMBv1 Protocol

June 29, 2017

First check if the protocol is enabled, go to ROLES & FEATURES

image

As you can see it is enabled but greyed out…

So you need to use the famous Powershell :

image

Using :

CLS

Get-WindowsFeature FS-SMB1

Remove-WindowsFeature FS-SMB1

image

When Finished you will see this message :

image

After REBOOT you can see the SMBv1 is unchecked Smile

image

Success !