howto://disable hibernation in Windows

In case you don’t ever plan to have your computer hibernate, and would like to buy back the disk space wasted reserved by hiberfil.sys, it’s pretty simple to fix this.

  1. Open an administrative command prompt
  2. Run this command
    powercfg /hibernate off
  3. Profit 🙂

howto://set a Windows Server 2016 Hyper-V host to use SNTP for time sync

TL;DR
set your server to sync to NTP by running these commands.

w32tm /config /syncfromflags:MANUAL /manualpeerlist:pool.ntp.org /reliable:yes /update

net stop w32time && net start w32time

So I’m in the process of (re)setting up my lab, using a pair of multi-proc servers running Hyper-V to host my VMs. These will be member servers, which would normally get their time from a PDC in their domain. Of course, DCs normally need to get their time from a reliable time source, but as VMs, mine would get their time from the host servers on which they run. I could have changed the DCs of course, but instead opted to make those physical systems more reliable. That’s what this post is all about. Continue reading “howto://set a Windows Server 2016 Hyper-V host to use SNTP for time sync”