Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to delete ADFS Windows Internal Database without access credentials

Posted on 16/05/202006/09/2026 Christian By Christian No Comments on How to delete ADFS Windows Internal Database without access credentials
  1. Home
  2. Oracle/MSSQL/MySQL
  3. How to delete ADFS Windows Internal Database without access credentials
delete ADFS Windows internal database without access credentials

Windows Internal Database (codenamed WYukon, sometimes referred to as SQL Server Embedded Edition) is a varient of Microsoft SQL Server Express 2005, and is included with Windows Server 2008 and Windows Server 2008 R2. It is also included in Windows Sharepoint 3.0 and Windows Server Update Services (WSUS) 3.0, where a full version of Microsoft SQL Server may not be available. Please see the following guide: Install ADK, MDT, and WDS: How to deploy Windows images via Microsoft Deployment Toolkit and Windows Deployment Services.

Other services can also use this database engine if needed, such as Active Directory Rights Management Services, and Windows System Resource Manager. Once the Windows Internal Database has been installed, it can’t be uninstalled via the “add/remove features” wizard (it appears greyed out, so you can’t de-select it).

Windows Internal Database currently only comes as a 32bit application, and if installed on a 64bit operating system, it will be installed under “C:\Program Files (x86)\Microsoft SQL Server” by default. The tool used to connect to the Windows Internal Database is the same as used for the full version (and express editions) of Microsoft SQL Server, which is the SQL Server Management Studio (or SQL Server Management Studio Express).

Note: Windows Internal Database, is the fact that you can’t make remote connections to the database. The design is such that only the computer that has it installed, can access the databases.

As such, the only connection method you can use to connect to a Windows Internal Database, is to use the Named Pipes protocol. When connecting to a Windows Internal Database, you must use the fairly obscure named pipes syntax listed below, as the server/instance name in SQL Server Management Studio.

Deleting ADFS Windows Internal Database

There are 2 ways to get delete ADFS Windows internal database without access credentials or having issues overwriting the WID, simply perform either of the two steps.

Step 1: Install Microsoft SQL Server 2012 Express

– Connect to windows internal database using “\.\pipe\MICROSOFT##WID\tsql\query”

\.\pipe\MICROSOFT##WID\tsql\query

– Now delete AdfsArtifactStore and AdfsConfiguration database

Step 2: Uninstall Windows Internal Database feature

In case you do not have access to the windows internal database, use this second option.
– In my case I used this option below (Uninstall Windows Internal Database feature)

Go to Server Manager
– Click Manage
– Click on Remove Roles and Features

Screenshot of Windows Server Manager with the WDS section open, displaying a server 'TECHARCHIVE' with IPv4 address 192.168.0.43. The 'Manage' button is highlighted at the top, showing options to add or remove roles and features.

Walk through the steps and click on next

Screenshot 2020 05 16 at 14.15.00
Click on next
Screenshot 2020 05 16 at 14.15.55
Select a server and click on Next

– Under Server Roles, select “Active Directory Federation Service” and

Screenshot of the 'Remove Server Roles and Features Wizard' showing a list of server roles including 'Active Directory Certificate Services' and options to navigate to previous or next steps.

– Click next and select “Windows Internal Database” under features
– Click next and finish the uninstall.

Note: Before we can install roles and features back again we have to delete the database files.

Open a CMD and run the command below. Please see the following reference link.

del C:\Windows\WID\data\adfs*

That’s it for How to delete ADFS Windows internal database without access credentials. I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

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
Oracle/MSSQL/MySQL Tags:Database, Databases, MsSQL, Windows Server 2016

Post navigation

Previous Post: How to configure Windows Deployment Services on Windows Server
Next Post: AWS CLI Error: All commands return Unknown output type [None]

Related Posts

  • sql server installation
    How to Install all Editions of Microsoft SQL Server 2025 Oracle/MSSQL/MySQL
  • Screenshot 2020 06 23 at 10.52.52
    How to uninstall Microsoft SQL Server on Windows Oracle/MSSQL/MySQL
  • mysqlhero
    How to reset MySQL Root password Oracle/MSSQL/MySQL
  • image 19
    Download your MySQL database from Azure to a local PC with MySQL Workbench AWS/Azure/OpenShift
  • tredfghgfde3456578
    How to install Java Runtime Environment on Mac OS Mac
  • Oracle momory increase
    What to do after increasing the Memory of Oracle Database Oracle/MSSQL/MySQL

More Related Articles

create a new Azure SQL Database How to create a new Azure SQL Database [PaaS] AWS/Azure/OpenShift
image 19 Download your MySQL database from Azure to a local PC with MySQL Workbench AWS/Azure/OpenShift
Screenshot 2021 02 01 at 12.25.27 How to import a MySQL Database via the command line Oracle/MSSQL/MySQL
xp cmdshell MSSQL How to verify whether the xp_cmdshell feature is enabled or disabled in MSSQL Server Oracle/MSSQL/MySQL
Enable or disable SA acocunt How to enable an SA account that has been disabled Oracle/MSSQL/MySQL
sql server installation How to Install all Editions of Microsoft SQL Server 2025 Oracle/MSSQL/MySQL

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Specifiy the right credential for adding a domain
    Specify user account name when adding a DC to an existing Forest Windows Server
  • Enhancing Proactive Monitoring with Veeam ONE
    Enhanced Proactive Monitoring with Veeam ONE Backup
  • GoogleTimeError
    Google Chrome reports your clock is behind: How to fix clock synchronization issues in Windows Windows
  • 960x0
    How to resolve request timed out when pinging Windows Server
  • ads
    How to disable Ads in Windows 11 Windows
  • Capture 37
    How to Configure Network Load Balancing on Windows Server Backup
  • Windows Server 2019
    The virtual machine has terminated unexpectedly during startup with exit code 1 (1×0): Failed to open a session for the virtual machine Windows Server 2019 Virtualization
  • maxresdefault 2 6
    How to create an AMI from the Command line 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,747 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.