top of page
  • Linkedin
  • bluesky
  • Instagram

Troubleshooting: A virtual machine with Windows Server 2019 running as Domain Controller is showing the wrong time

  • solbergtonje
  • 17 nov. 2024
  • 1 min läsning

Uppdaterat: 25 dec. 2024

  1. Do the host machine have the correct time and internet access? Yes

  2. Do the virtual machine have VirtualBox Guest Additions installed and internet access? Yes

  3. Find out which Domain Controller holds the PDC Emulator role: netdom query fsmo

    ree

  4. Disable guest-host time synchronization from Command Prompt on host machine, use the command "cd" to move into VirtualBox folder and then run command: VBoxManage setextradata "VM name" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1

    ree

  5. Configure the PDC Emulator to sync time with external time servers. In Domain Controller run the following command in Command Prompt:

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

    ree

  6. Make sure the new settings are registered: w32tm /query /status

    ree

  7. Let's shutdown the Domain Controller: shutdown /s

    ree

  8. Restart VirtualBox and the Domain Controller, check that the machine is set to synchronize with timeservers on pool.ntp.org: w32tm /query /status

    ree

  9. Do a resync if necessary after the shutdown: w32tm /resync

    ree

  10. Success!

    ree

Contact / Kontaktformulär

© 2024-2025 Tonje Solberg

bottom of page