Cannot Set Default Printer due to No Respone

Because the printer was replaced, I need to reconfigured all PC to remove the old printer and add the new printer. It is strange to find that out of 4 PC, 2 of them doesn’t work.


On Windows 7 PC:

  1. Unable to delete the printer
  2. Unable to change the default printer


After searching on the Internet and checking the difference between the working PC and not working PC, it looks like the 2 PC which has problem was inflected with malware before. The permission on the printer related registry was incorrectly set.


  1. Run registry editor regedit
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
  3. In the menu, select Edit > Permissions
  4. Click Advanced and make sure all permissions are inherited from CURRENT_USER

Configure NTP on Windows Time Service on Windows Server running Active Directory

Sometimes ago I needed to change NTP setting on a Windows Server which is running active directory (AD) service. Not sure why the usual way to set the NTP on Windows 7 or non-AD servers via GUI is not an option. It simply doesn’t have a GUI for you! Anyway after some Google here is the command I used. Assume the NTP server is

w32tm /config /update /manualpeerlist:,0x9 /syncfromflags:MANUAL /reliable:YES

Then force resync from the NTP source so that the source can be displayed correctly in the next command.

w32tm /resync

Finally double check if the NTP source is configured correctly

w32tm /query /source

The 0x9 flag is important as I can’t make it work without that. I still not sure what the flag does but according to the article Windows Time Service Tools and Settings this mark the server as Always time server and Automatic reliable time server.