Home » Posts tagged 'Windows Server 2012 R2'
Tag Archives: Windows Server 2012 R2
In this website you can get a Powershell Script that would do a WSUS server cleanup from the command line.
On Windows Server 2012 R2:
how to restart services related to the Shadow Services without restarting the server:
You have to clear the synchronization history from the Windows Internet Database (WID) if you selected it during your WSUS setup.
You can connect to the Internal Database with the SQL Express Management Studio using the following instance for Windows Server 2012 (R2): \\.\pipe\MICROSOFT##WID\tsql\query
Follow the instructions on: https://blogs.technet.microsoft.com/sus/2009/03/04/clearing-the-synchronization-history-in-the-wsus-console/
If you only want to delete certain records, you can do it with the query:
DELETE FROM tbEventInstance WHERE EventNamespaceID = ‘2’ AND EVENTID IN (‘381’, ‘382’, ‘384’, ‘386’, ‘387’, ‘389’) AND TimeAtServer < ’20yy-mm-dd’
this query will delete from that date back in time.
Need to open the following ports:
TCP: 47545 and 41380
Applies for Windows Server 2008 and up.
After operating system upgrade, how to delete the windows.old folder. Disk Cleanup is missing from windows Server 2008 and 2012 installation. It is necesarry to install the Desktop Experience feature to have Disk Cleanup available.
To get to Disk Cleanup after installation and reboot, open the properties of the disk where the windows.old file and click the Disk Cleanup button. In the window thata appears click the Clean up system files in the new window select Previous Windows Installation(s) and confirm.