Synchronize time with external NTP server on Windows Server 2008 (R2)

Time synchronization is an important aspect for all computers on the network. By default, the clients computers get their time from a Domain Controller and the Domain Controller gets his time from the domain’s PDC Operation Master. Therefore the PDC must synchronize his time from an external source. I usually use the servers listed at the NTP Pool Project website.

Continue reading

Windows Recovery–Load Registry

Ok, today I locked-out myself from one of my dedicated servers.. how? I changed the RDP-Port in the Registry:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

WindowsRegistryRDPPortKey

And then, I FORGOT to add the new Port to the so called ‘Windows Firewall with Advanced Security’ .. it was like a lighting strike in my body when I clicked ‘restart Server’

Logo_winlogo

Continue reading

Finding process that locks a DLL

You want to replace a dll on a system, but you get access denied, although you’re admin, have the necessary rights.. so which process is locking the particular file/library. I know, there is handles.exe from Sysinternal Suite, and plenty other tools that do the trick.But, you don’t need third-party tools to get the answer, just use tasklist.exe or PowerShell.  

Continue reading