AD Time Sync issue with Guest OS


Active Directory Time Synchronization Problems with Hyper-V

We have two active directory domain controllers, one in the physical machine and another one in Windows Hyper-v guest. Recently I have noticed that virtual DC (eg. VDC01 – hyper-v guest) time is not syncing with physical DC (eg. PDC01 as indicated in registry @ ../HKEY_local _machine/system/CurrentControlSet/services/w32time/parameters) as a result drive letters mapping from SAN machine (CIFS) were not working.

C:\>netdom query fsmo

Schema master PDC01.group.local
Domain naming master PDC01.group.local
PDC VDC01.group.local
RID pool manager VDC01.group.local
Infrastructure master PDC01.group.local

The command completed successfully.

Check server was sync with which server. (eg. Internal DC or external time server)

c:\> w32tm /query /status

To prevent guest operating system from synchronizing its time from host machine, I unchecked Time synchronization from Hyper-V Manager Service under “Management>Integration Services”.

Here I ran “c:\>w32tm /resync /rediscover” from the virtual domain controller (VM DC with incorrect time):

Both the domain controller now is having same time and my CIFS share (drive letter mapping from login scripts) from SAN machine running fine.

Advertisements

About Robiul

Robiul has 15 years of continuous successful career experience in ICT with extensive background in System Engineering, IT infrastructure design, operations and service delivery, managing IT projects / MIS functions for local and multi-national companies with in-depth knowledge of multiple operating systems as well as construct / manage small to medium size Data Center. Proven ability to design and implement medium to semi-large scale LAN/WAN/WLAN and system infrastructures. Academic qualification: Master of Science in Information Systems. Professional certifications are: MCSE, CCNA, ITIL and FoundStone Security Professional, VCP, NetAPP, CISSP etc.
This entry was posted in Windows and tagged , , , . Bookmark the permalink.