In Windows Server 2012 R1/2, 2008 R1/2, 7, Vista, and 2003 SP2 and later, whenever time is out of sync, it’s good to run the following two commands in an administrative command prompt (an ordinary command prompt for 2003SP2+):
w32tm /config "/manualpeerlist:north-america.pool.ntp.org 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org" /syncfromflags:MANUAL /update
w32tm /resync
If the service has not been registered, the whole canole is:
w32tm /register
net start w32time
w32tm /config "/manualpeerlist:north-america.pool.ntp.org 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org" /syncfromflags:MANUAL /update
w32tm /resync
Under Windows 2000, we need to go a bit more archaic:
net time /setsntp:north-america.pool.ntp.org
net time /querysntp
Two addenda:
- We used to recommend just pool.ntp.org , but geoblocking has become quite common, so a more geographically appropriate setup is now the rule.
- Do the above for domain controllers, standalone PCs, and mobile laptops. Add the domain controller’s IP to “Time Server” in DHCP, to reach desktops.
Categories:
Internet Networking
LAN Networking
Categories:
Firewalls

There are QoS settings which can be made within Windows! They work with desktop and server OSes, to set priorities on either network traffic of specific binaries, or by port and type. If you see programs or services stopping unexpectedly, stuttering, et cetera, this is good to try. Here is a basic guide in PDF:
http://notes.ponderworthy.com/file_download/12/Basic_PC_QoS.pdf
The steps:
- Load up
MMC.EXE
.
- Open the File menu
- Choose Add/Remove Snap-In.
- Click Group Policy Object Editor on the left.
- Click Add.
- Click Finish.
- Click OK.
- Open up Local Computer Policy, Computer Configuration, Windows Settings, Policy-based QoS. You’ll see the following, with the policy list being blank if you haven’t done this yet.

- Right-click on Policy-based QoS, and choose Create new policy. Set a name, and then set the DSCP value:

The DSCP value is the priority level for the policy. The range is zero through 63. Here is one common DSCP value set:
0 …………………..General Traffic, unprioritized
10 …………………Backups, file transfers, non-business applications
25 …………………Mission-critical data, including SQL, video streaming
34 …………………Video conferencing
46 …………………VoIP
Another set, not quite the same, standardized within the WMM wifi standard:
8-23 ………………Background (BK)
24-31, 0-7 ………Best effort (BE)
32-47 …………….Video (VI)
48-63 …………….Voice (VO)
The above are far from a coherent standard everywhere; one can even find lists which peak at 30. For my needs within PCs, I have been setting my critical apps at 31, important apps at 24, and not bothering with anything else. And it is needful to be conservative. If you QoS some things too high, Windows won’t be able to do background things which keep it running…like, say, the Windows desktop ☺
- At this point you need to decide on the type of QoS policy you are creating. You create them to work by TCP/UDP port for all applications, for application binaries of specific names, and for HTTP/HTTPS URLs.

- You may now choose IP address(es) to which the policy applies.

- And then TCP and/or UDP ports to which the policy applies. Default is TCP only.

And now you’re done with that policy, and you can create as many more as desired.
Categories:
Performance
If you get PsTools, and do this:
psexec -i -s CMD.exe
you’ll get another CMD box, where the username is SYSTEM, that is to say, the hostname of the machine with a dollar sign on the right end. If the machine is on a domain, it is DOMAIN\hostname$
, have not tested it on a non-domain machine yet.
One software installer recently, required that the folder containing its installer package be TAKEOWNed and ICACLSed, as that system user, before it would run to completion, it must have some odd permissions bug in it.
There are likely to be quite a few circumstances in which this special CMD can be useful.
Categories:
Windows Installer, Updates, Patching
Windows OS-Level Issues

These steps change quite often, fair warning!
Steps below are as of 2021-01-04. Please note this has to be done in Internet Explorer or Edge.
First, set permissions.
- Browse to protection.office.com/homepage , log in as tenant administrator
- Click eDiscovery Manager.
- Open eDiscovery Administrator, and add your current admin user.
It takes one hour (as of Microsoft support 2021-01-04) for the permissions to take effect. Used to be up to 24. Afterwards, perform the export.
- Browse to protection.office.com/homepage , log in as tenant administrator
- In left pane, click Search, then click Content Search
- Click New Search
- At bottom, item Specific locations, click Modify
- At top left, Exchange email, click “Choose users, groups, or teams”
- Click “Choose users, groups, or teams” in the new window
- Enter mailbox email address, wait until the search results come
- Check the mailbox, and click Choose, then Done
- Click Save
- Click Save & run
- Name the query (and PST), click Save. The query will run. Don’t continue until it’s done. It will say “Status: completed” at the lower left.
- Click on the word “More” at the top, just to the left of the word “Sort”.
- Click on “Export results”. Choose options appropriately. Click Export.
- Click on “Exports” above that area, to the right of “Searches”. If the export does not appear, click on Refresh.
- Click on the export item.
- Click on “Download results”. A download applet will start, requiring an export key which can be copied from the browser. Paste it in, choose your download destination, and go! It can take a very long time to start, there is a long preparation phase.
Categories:
Exchange and Exchange Online
To see if there is cleanup to be done:
DISM /Online /Cleanup-Image /AnalyzeComponentStore
To remove obsolete and unused system files:
DISM /Online /Cleanup-Image /StartComponentCleanup
To remove obsolete and unused system files and also service pack uninstallation files:
dism /online /Cleanup-Image /SPSuperseded
To remove obsolete and unused system files and everything prior, making it impossible to reverse any patches:
dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
Categories:
Windows Installer, Updates, Patching
Windows OS-Level Issues
This:
wmic product where "name like 'Java%%'" call uninstall /nointeractive
appears to work very well for products whose names start with “Java” which are installed in Windows standard fashion.
Categories:
Windows Installer, Updates, Patching
If MMC for any Windows administrative tool gets stuck, delete everything here:
C:\Users\USERNAME\AppData\Roaming\Microsoft\MMC
Categories:
Windows OS-Level Issues
Categories:
Windows Installer, Updates, Patching
If (when) Outlook bogs down, especially when dealing with multiple accounts in a single profile, disable the existing Send/Receive Group and create a new one, make sure all accounts are included, then set that one to be checked every 30 minutes.
Categories:
Outlook