virtualcenter


Our IT journal

Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’ – VHDX on Hyper-V

Sometimes we can mount a VHDX that had its checkpoints saved on another location. When trying to boot the VM we will have a “Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’.” This is because the disk properties has changed and the VM is linking the checkpoint back to its parent, making the chain corrupted. To remediate this, we will … Read More


Clean up records on Windows Server DNS using PowerShell

Create a script and execute it on your server. Set up a zone, the Windows Server running the DNS server, a date and the record type. Import-mode DNSServer $zone=”ZONE.TLD” $DNSServer=”DNSHOSTNAME” $beforedate=”12/20/2015″ $recordtype=”A” $records=Get-DnsServerResourceRecord -ZoneName “$zone” -ComputerName $DNSServer | Where-Object {$_.RecordType -eq “$recordtype” -and $_.TimeStamp -lt $beforedate} Foreach ($record in $records) { # Remove the DNS record by filtering Try { … Read More


Set up a dedicated SSL certificate for a RDS Host

Start by installing the certificate on the Local Machine Personal folder. Do an export to a PFX file including the private key. Access the certificate and retrieve its thumbprint from its properties. Download the following script and save it in the destination server. Use your thumbprint to enable the new certificate  


FQDN access RDWeb by default on Windows Remote Desktop Services

We want our default FQDN to go directly to the RD Web Access webpage. This also helps to remember just the domain name and no extra paths. In order to do a redirect, go to your IIS and put a redirect on your Default Web Site:   This will also redirect all HTTP traffic to HTTPS.  


Upgrading Windows Server 2012 2016 Evaluation to fully licensed

You can’t apply a license on top of a 2012/2016 Evaluation as is – you will receive a “Server 2016 Edition cannot be upgraded” message when putting the new key. List current edition dism /online /Get-CurrentEdition In order to apply the key for Standard, you will need to run this DISM command: dism /online /set-edition:ServerStandard /productkey:<yourkey> /accepteula For Datacenter: dism … Read More