Windows Server 2016 versus 2019 WMI Filtering

Microsoft let us get soft for a while with WMI filtering.  WIndows 2008, 2008 R2, 2012, and 2012 R2 were all WHERE Version like “6.%” in WMI filtering.  Our WMI filters kept plodding along without anyone having to care.  Then Windows 2016 hit and we had to start updating our filters for a new WHERE Version like “10.%” so we could target these new systems and so our filters would continue to work.  Well now we have Windows Server 2019 which is also 10.0 version string so we can’t easily do like we did in the 2008-2012 era of 10.1, 10.2, etc.  Now we have to care about WHERE Version like = “10.0.XYZ”

Continue reading “Windows Server 2016 versus 2019 WMI Filtering”

Windows 2019 Hyper-V fails to send initial replica…

We’ve been having a very odd issue with new Windows 2019 server running Hyper-V in that some of them will fail to enable Replication for VMs.  You get to the very end and and click the last button to start and the Replica VM is created on the other system and all the place holder files exist but then it errors  with an message about not being able to send the initial replica.  We’ve tried all kinds of suggestions on the web related to ACLs and firewall configuration but none of them worked.  I found a solution though.  If you make a Checkpoint of the system having issues and then delete the Checkpoint after its completed you can now enable Replication.  It seems the issue resides on the system where the VM currently lives and not the location it’s going to and forcing a Checkpoint corrects whatever is going wrong during Replication configuration.

Test.VerifyDcPromoCore.DCPromo.General.103 WTF is 103…

We were working on migrating our Domain Controllers from Windows 2008 R2 to Windows 2019 and I got to the point where I was running the PowerShell “Test-ADDSDomainControllerInstallation -DomainName MyDomain.Name” command to test migration requirements.  The process was  kicking out an error for part of it with a context of Test.VerifyDcPromoCore.DCPromo.General.103 so I started the hunt for what that meant.  Well both the Bings and Googs came back with no results at all for the exact search value.  Plenty of other items with different numbers at the end but not specifically 103.

Continue reading “Test.VerifyDcPromoCore.DCPromo.General.103 WTF is 103…”

Convert MAK licensed Windows system back to KMS

The back and forth Windows licensing from KMS to MAK can be so frustrating.  Today I had to take a system that had been KMS and then made MAK back to KMS again.  Of course this process involves searching for a variety of various scripts to run but you have to put a KMS key in even if you’re going to network provided KMS.  Continue reading “Convert MAK licensed Windows system back to KMS”

Fixing broken replication after changing a Hyper-V host’s name

Changed the host name of a Hyper-V server and now all of your VM’s replication status is Critical?  In the past you’d have to break replication and then rebuild it for every single VM letting them resynchronize which is just an absolute pain and resource/time consuming.  Now we can use the PowerShell Set-VMReplication to fix the Replica Server’s changed name.  Continue reading “Fixing broken replication after changing a Hyper-V host’s name”