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

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

  • How to pause updates and why
    How to Pause Windows Update via Windows Settings Windows
  • ADBA for Windows
    Configure Active Directory-Based Activation (ADBA) for Windows Windows Server
  • BitLocker
    BitLocker Drive Encryption architecture and implementation types on Windows Windows Server
  • Interactive logon Message for Users
    Display interactive logon messages for Windows PCs via GPO Windows
  • Windows Deployment Services
    How to migrate WDS and MDT to a new Windows Server Windows Server
  • Error 1069 Windows could not start
    Fix Error 1069: Windows could not start the Veeam backup service on local computer Backup

More Related Articles

How to pause updates and why How to Pause Windows Update via Windows Settings Windows
ADBA for Windows Configure Active Directory-Based Activation (ADBA) for Windows Windows Server
BitLocker BitLocker Drive Encryption architecture and implementation types on Windows Windows Server
Interactive logon Message for Users Display interactive logon messages for Windows PCs via GPO Windows
Windows Deployment Services How to migrate WDS and MDT to a new Windows Server Windows Server
Error 1069 Windows could not start Fix Error 1069: Windows could not start the Veeam backup service on local computer Backup

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

Veeam Vanguard

  • 1 ifg3ir3l 8ejus3pueqt0a
    Fix cannot find KDC for realm while getting initial credentials and kinit configuration file does not specify default realm Configuration Management Tool
  • dd featured 1
    How to delete obsolete drivers from the Driver Store in Windows Windows
  • Create an S3 Bucket
    Backup Repository: How to Create Amazon S3 buckets AWS/Azure/OpenShift
  • iCloud for Windows
    How to install and uninstall iCloud for Windows [Part 1] Mac
  • 71PSZcv0RL. AC SX425
    How to disable unused Cisco Access Ports Network | Monitoring
  • needthetools
    Fix no BitLocker Recovery tab in Active Directory Windows Server
  • Featured image MsTeams.
    How to share an app window on Microsoft Teams Windows
  • 111615smarthomeNG
    Unspecified GSS failure: How to fix Clock skew too great 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,821 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

Active Directory 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.