Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » The schema version of the database is from a newer version of wsus
  • VMware vCenter Standalone
    Fix VMware vCenter converter standalone started but not running Virtualization
  • Windows Container
    How to Install a Windows Server Container Host Containers
  • VMware and HyperV are not compatible
    How to fix VMware and HyperV are not compatible Virtualization
  • Snapshot
    Create or delete snapshots on VMware Workstation Backup
  • Telegram
    Integrate a WordPress site with WP Telegram Network | Monitoring
  • Comprehensive guide on WSUS setup
    How to install WSUS on Windows Server 2022 Windows Server
  • a Multiple SPF Records  Issues and Examples@2x
    How to setup SPF and TXT Records in AWS AWS/Azure/OpenShift
  • veeam backup for aws Processing postgres rds failed
    Veeam backup for aws Processing postgres rds failed: No valid combination of the network settings was found for the worker configuration AWS/Azure/OpenShift

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.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to 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

  • Why you should not Upgrade Windows on an ePO Server
    Why you should not Upgrade Windows on an ePO Server Windows Server
  • Expired Evaluation Configuration Manager to Full Version
    Upgrade Expired Evaluation Configuration Manager to Full Version Windows Server
  • Windows Admin Center Apply Update
    How to Apply and Enable Automatic Windows Admin Center Update Windows
  • fghj
    MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed via PXE boot Windows Server
  • SA
    How to Create Service Accounts, Organisation Units and Active Directory Security Groups Windows Server
  • active directory faq 2016 1
    How to detect who disabled a user in Active Directory Windows Server

More Related Articles

Why you should not Upgrade Windows on an ePO Server Why you should not Upgrade Windows on an ePO Server Windows Server
Expired Evaluation Configuration Manager to Full Version Upgrade Expired Evaluation Configuration Manager to Full Version Windows Server
Windows Admin Center Apply Update How to Apply and Enable Automatic Windows Admin Center Update Windows
fghj MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed via PXE boot Windows Server
SA How to Create Service Accounts, Organisation Units and Active Directory Security Groups Windows Server
active directory faq 2016 1 How to detect who disabled a user in Active Directory 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

  • VMware vCenter Standalone
    Fix VMware vCenter converter standalone started but not running Virtualization
  • Windows Container
    How to Install a Windows Server Container Host Containers
  • VMware and HyperV are not compatible
    How to fix VMware and HyperV are not compatible Virtualization
  • Snapshot
    Create or delete snapshots on VMware Workstation Backup
  • Telegram
    Integrate a WordPress site with WP Telegram Network | Monitoring
  • Comprehensive guide on WSUS setup
    How to install WSUS on Windows Server 2022 Windows Server
  • a Multiple SPF Records  Issues and Examples@2x
    How to setup SPF and TXT Records in AWS AWS/Azure/OpenShift
  • veeam backup for aws Processing postgres rds failed
    Veeam backup for aws Processing postgres rds failed: No valid combination of the network settings was found for the worker configuration AWS/Azure/OpenShift

Subscribe to Blog via Email

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

Join 1,841 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.