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
  • win 10 login screen
    How to Transfer User Profile to another User in Windows Windows
  • Feature image Password protect a virtual hard disk
    Create a Password-Protected VHD Using BitLocker on Windows Windows
  • shortcut
    How to make a desktop shortcut available for all users in Windows 7 and 10 Windows
  • VMware vSphere
    Differences between vSphere and ESXi and vCenter Virtualization
  • Screenshot 2020 05 19 at 02.50.47
    Fix Administrative templates retrieved from the local computer does not show up Network | Monitoring
  • Featured image
    Latest Improvement to File Explorer on Windows 11 Windows
  • how to bypass windows admin log in password 2
    How to disable Lock Screen on Windows 10 via Registry Editor Windows
  • remote desktop version and protocol
    Determine the Remote Desktop Client Version Windows

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

  • image 35
    How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
  • adfs training
    Post-Deployment of Active Directory Federation Service (ADFS) Windows Server
  • img 1686
    The trust relationship between this workstation and the primary domain failed Windows Server
  • article 1280x720.aa742702
    How to create a custom view in Windows Event Viewer Windows Server
  • Capture 37
    How to Configure Network Load Balancing on Windows Server Backup
  • HyperV VM disk size increase
    How to Increase Disk Size in Hyper-V Virtualization

More Related Articles

image 35 How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
adfs training Post-Deployment of Active Directory Federation Service (ADFS) Windows Server
img 1686 The trust relationship between this workstation and the primary domain failed Windows Server
article 1280x720.aa742702 How to create a custom view in Windows Event Viewer Windows Server
Capture 37 How to Configure Network Load Balancing on Windows Server Backup
HyperV VM disk size increase How to Increase Disk Size in Hyper-V Virtualization

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

  • win 10 login screen
    How to Transfer User Profile to another User in Windows Windows
  • Feature image Password protect a virtual hard disk
    Create a Password-Protected VHD Using BitLocker on Windows Windows
  • shortcut
    How to make a desktop shortcut available for all users in Windows 7 and 10 Windows
  • VMware vSphere
    Differences between vSphere and ESXi and vCenter Virtualization
  • Screenshot 2020 05 19 at 02.50.47
    Fix Administrative templates retrieved from the local computer does not show up Network | Monitoring
  • Featured image
    Latest Improvement to File Explorer on Windows 11 Windows
  • how to bypass windows admin log in password 2
    How to disable Lock Screen on Windows 10 via Registry Editor Windows
  • remote desktop version and protocol
    Determine the Remote Desktop Client Version Windows

Subscribe to Blog via Email

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

Join 1,836 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 AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.