How do I clean my WSUS database?

Open SQL Server Management Studio and connect to your WSUS instance. Expand Management, right-click Maintenance Plans, and then select New Maintenance Plan. Give your plan a name. Schedule this task to run about 30 minutes after you expect your cleanup to finish running.

What is WID database in WSUS?

Microsoft windows server and their components use the Microsoft WID database to store their data. It is used to store the relational data of the following services: Active Directory Right management service. Windows server update services (WSUS) Windows system resource manager.

How do I reduce the size of my WSUS database?

Right click on the database name (“SUSDB”) on the left. From ‘Tasks’, select ‘Shrink’=>’Files’ In the wizard, change the “Shrink Action” from “Release Unused Space” to “Reorganise pages before releasing unused space. This takes the holes out of the file.

How do I fix my WSUS database?

If your Windows Server Update Services WSUS is having problems there are five easy things to do to correct it:

  1. Restart the three WSUS related services:
  2. Run a clean up job on the WSUS database using a PowerShell Script Microsoft has written.
  3. Run a clean up job of the WSUS data using a PowerShell command.

How do I clean up WSUS content folder?

1) Correct any settings above or disapprove any unneeded updates. 2) Close any open WSUS consoles. 3) Go to Administrative Tools – Services and STOP the Update Services service. 5) Delete ALL the files and folders in the WSUSContent folder.

How do I remove unwanted updates from WSUS?

Answers

  1. Open the Windows Update Services MMC.
  2. Select the All Updates View.
  3. Display the Supercedence Column.
  4. Sort by Supercedence.
  5. Select and Decline the Superceded Updates.
  6. Run the Server Cleanup Wizard.
  7. OPTIONAL: Automatic Approval Options.

Is WSUS using SQL or WID?

Most Windows Server Update Services (WSUS) installations run on the Windows Internal Database (WID). If you prefer switching to SQL Server, you can do this relatively easily with the sqlcmd and wsusutil command-line tools.

Does WSUS need SQL?

WSUS requires one of the following databases: Windows Internal Database (WID) Any supported Microsoft SQL Server version.

How much space does a WSUS server need?

Local WSUS server storage at a minimum, WSUS requires 20 GB to store updates locally; however, we recommend 30 GB based on tested variables.

How do I reinstall WSUS database?

How do I rebuild my WSUS server? Remove-WindowsFeature -Name UpdateServices, Windows-Internal-Database -Restart. After reboot, delete EVERYTHING in the C: Windows WID folder (for Win 2012 r2). Then run the following command to reinstall WSUS: Install-WindowsFeature UpdateServices -Restart.

Can I delete files from WSUS content?

What is WID connectivity?

WID = SQL, just a different version that’s built into the OS as a feature, rather than an outside executable. WID is very similar to SQL Express, but express has hard limits and WID has no limits in space (as far as I know) but does have connectivity limits (local only via named pipes).

Categories: Other