Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » The schema version of the database is from a newer version of wsus
  • Syncing Files  and photos with Synology Drive
    Sync file and photos from iOS and Mac with Synology Drive Backup
  • Hyper V VM creation
    How to Create a Windows Server VM on HyperV Windows Server
  • systemd services
    How to use Systemd Timers on Linux Linux
  • Enable Nexted Virtualization on VirtualBox
    ESXi VMB 411 Halting: Virtualbox Nested VT-X/AMD-V greyed out Virtualization
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • Implement Azure Bicep
    How to Deploy Azure Resources Using Azure Bicep Automation
  • multcloud
    Best Way to Backup Dropbox to Box JIRA|Confluence|Apps
  • CAL Removal
    How to Remove and Manage RDS Licenses Web Server

The schema version of the database is from a newer version of wsus

Posted on 02/05/202414/05/2024 Christian By Christian No Comments on The schema version of the database is from a newer version of wsus
WSUS-Post-deployment-Configuration-Failed

The WSUS installation from Server Manager fails with a fatal error stating, “The schema version of the database is from a newer version of WSUS than currently installed.” This error requires either patching the WSUS server to at least that version or dropping the database. Windows update indicates that the system is up to date. Please see how to delete ADFS Windows Internal Database without access credentials, and How to deploy WordPress on Azure App Service.

Note: Microsoft Does not recommend installing WSUS on a Domain Controller. Because of this, I tested to see what could possibly happen.

The first step in the deployment of Windows Server Update Services (WSUS) is to make important decisions, such as deciding the WSUS deployment scenario, choosing a network topology, and understanding the system requirements. Below is an example architecture for Endpoint Point Configuration Manager deployment. You can see, I will be deploying WSUS also on the Configuration Manager.

Lab-Architecture

Also, see “Post-Deployment (configuration) of Active Directory Federation Service (ADFS) in Windows Server“, and how to fix Windows 2016 Servers do not show up on the WSUS console.

WSUS Post Deployment Issue

When you try to install WSUS on Server 2022 using the Windows Internal Database (WID) or SQL Server. You may get a “WSUS Post-deployment Configuration Failed” error message as shown below.

WSUS-schema-error
Microsoft.UpdateServices.Administration.CommandException: The schema version of the database is from a newer version of WSUS than currently installed. You must either patch your WSUS server to at least that version or drop the database.

As you can see the post-install log is below. The process timed out. When WSUS is installed a domain controller. This will cause database access issues due to how the database is configured.

WSUS-Post-Install-Log

Also, when prompted to run the WSUS Post installation, it will timeout as well and not succeed. See how to Create New Users and Join Synology NAS to Active Directory.

complete-wsus-installation

Remove Windows Server Update Services [WSUS]

Uninstall the WSUS Role and reinstall it on a non-domain Controller. If you get WSUS to work on a DC which is possible as I have tested this in the past, this is not best practice.

Note: If you still want to install it on a DC, Uninstall WSUS from the domain controller, demote the server to a non-domain controller, and reinstall WSUS.

Remove WSUS via PowerShell

To remove WSUS from your server, you can run the PowerShell command below as an administrator.

Remove-WindowsFeature -Name UpdateServices,UpdateServices-DB,UpdateServices-RSAT,UpdateServices-API,UpdateServices-UI -IncludeManagementTools

We will discuss how to remove the Windows Internal Database (WID) after discussing how to remove WSUS Role via GUI.

Remove WSUS Role via the GUI using Server Manager

Launch the Server Manager, and click on Manage. Select Remove Roles and features

Remove-Roles-and-featuress

We only have one server in the pool. Click Next.

Select-server-from-pool

Unselect the WSUS Server Update Services, this will automatically uncheck the sub-roles. Click Next to continue.

Uncheck-WSUS-1

When prompted with the “Remove Roles and Features Wizard”, click Remove Features.

Remove Features

As you can see, the WSUS Role has been unselected. Click Next to continue

Role-unchecked

On the Confirmation page, click “Remove”.

Remove-wsus

It is safe to close the “Remove Roles and Feature Wizard” right now. You can view the status from the server manager.

WSUS-removal-result-page

Learn how to configure Windows server update services, and Uninstall WDS: How to remove Windows Deployment Services role via the GUI and PowerShell.

Remove WSUS Windows Internal Database

Remove WSUS Role if you do not plan to reinstall WSUS on this server. Navigate to the path C:\Windows\WID\Data and delete the following files “SUSDB.mdf and SUSDB_log.ldf).

SUSDB.mdf-and-SUSDB_log.ldf_-1

If the WID was only used for WSUS. You can remove the entire WID Folder: C:\Windows\WID folder.

Remove WSUS WID

You can also remove the WSUS website and application pool or IIS Role all together on the Domain Controller.

Remove-WSUS-Website-and-Application-Pool

Restart the Server and reinstall WSUS on another Server.

See ‘Add and remove IIS Web Server on Windows Server 2019 via the Server Manager and PowerShell“, and how to Start, Stop and Restart Windows Server Update WSUS Services via PowerShell and CMD.

Reinstall WSUS

Launch the Server Manager, and Click on Add Roles and Features. On the Role Server Role, select WSUS Server.

Add Roles

When prompted to add features, Click on Add features, and then on Install.

Features install

Once the WSUS Role installation is complete, you can click on “Launch WSUS “Post-Installation Task”.

WSUS Post Configuration

As you can see, the installation succeeded on a non-Domain Server.

Installation-Succeeded-1

Now you should be able to access the Update Services Console. See How to target WSUS clients with the registry keys.

WSUS-dashboard

I hope you found his article useful on “The schema version of the database is from a newer version of wsus”. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Microsoft Windows, Windows Server 2016

Post navigation

Previous Post: Fix the request to add or remove features failed 0x00400d
Next Post: How to install Endpoint Configuration Manager on HyperV VM

Related Posts

  • VBscript fixed and working in WinPE
    Windows PE working for Windows 11 and Windows Server 2022 Windows Server
  • Fix Boot Failed UEFI SCSI Device on HyperV
    How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
  • the remote procedure call failed
    Error 0xc1420117: The directory could not be completely unmounted Windows Server
  • Harica cert request and CSR
    Generate CSR and Request a Certificate from Herica CA Windows
  • Determine GPO from GUID or Name
    How to determine GPO from GUID or Name Windows
  • 33
    The wim file needs to be remounted: Fix error 0xc1510114 Windows Server

More Related Articles

VBscript fixed and working in WinPE Windows PE working for Windows 11 and Windows Server 2022 Windows Server
Fix Boot Failed UEFI SCSI Device on HyperV How to Fix Boot Failed UEFI SCSI Device on HyperV Virtualization
the remote procedure call failed Error 0xc1420117: The directory could not be completely unmounted Windows Server
Harica cert request and CSR Generate CSR and Request a Certificate from Herica CA Windows
Determine GPO from GUID or Name How to determine GPO from GUID or Name Windows
33 The wim file needs to be remounted: Fix error 0xc1510114 Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Syncing Files  and photos with Synology Drive
    Sync file and photos from iOS and Mac with Synology Drive Backup
  • Hyper V VM creation
    How to Create a Windows Server VM on HyperV Windows Server
  • systemd services
    How to use Systemd Timers on Linux Linux
  • Enable Nexted Virtualization on VirtualBox
    ESXi VMB 411 Halting: Virtualbox Nested VT-X/AMD-V greyed out Virtualization
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • Implement Azure Bicep
    How to Deploy Azure Resources Using Azure Bicep Automation
  • multcloud
    Best Way to Backup Dropbox to Box JIRA|Confluence|Apps
  • CAL Removal
    How to Remove and Manage RDS Licenses Web Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.