---
title: How to remove Ghost SQL Instances
description: Remove Ghost SQL Server Instances
---

[Skip to content](https://help.niermanpm.com/internal/how-to-remove-ghost-sql-instances#main-content)

English

Show submenu for translations

![Nierman Practice Management](https://help.niermanpm.com/hs-fs/hubfs/NPM%20logo.png?width=1988&height=778&name=NPM%20logo.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Go to scopeinstitute.org

 Go to scopeinstitute.org

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Internal NPM](https://help.niermanpm.com/internal?hsLang=en)
2. [Troubleshooting](https://help.niermanpm.com/internal/troubleshooting?hsLang=en)
3. [SQL Server](https://help.niermanpm.com/internal/troubleshooting?hsLang=en#sql-server)

# How to remove Ghost SQL Instances

## These methods are to be verified by local IT and risks accepted by local IT. These are common procedures to remove ghost instances from SQL server and has nothing to do with DentalWriter or NPM software.

**Targeted Command Line Removal**

Run this command from an elevated (Administrator) Command Prompt. It targets the instance ID and only the Database engine feature (SQL), leaving shared tools alone.

**1. Open Command Prompt as Administrator.**

**2. Execute this command: change directory to the installation folder(where setup.exe exists):**

cd "C:\\Program Files\\Microsoft SQL Server\\120\\Setup Bootstrap\\SQLServer2014"

setup.exe /Action=Uninstall /InstanceID=DENTALWRITER /Features=SQL /Q

**(Legend):**

**/InstanceID=DENTALWRITER**: Tells the installer exactly which instance to kill.

**/Features=SQL**: Specifically removes the database engine only. By omitting Tools, Conn, or SDK, you ensure your shared Management Studio and connectivity drivers remain for your other instances.

**/Q**: Runs it quietly to avoid the blank GUI screen you encountered.

 **2.** **Manual Service Deletion (If the above fails)** 

If the installer continues to claim there is "nothing to remove," it’s likely just a "zombie" service entry. You can delete the specific service for DENTALWRITER without affecting your other SQL instances.

1. **Open PowerShell as Administrator.**
2. **Identify the specific service:** Get-Service -Name "MSSQL$DENTALWRITER"
3. **Remove only that service:** sc.exe delete "MSSQL$DENTALWRITER"

- *Note: Other instances (e.g., a default instance named MSSQLSERVER or another named instance like SQLEXPRESS) will not be affected because their service names are different.*

**3. Cleaning the Instance-Specific Registry Key**

To stop the **DENTALWRITER** name from appearing in setup menus or your migration scripts, you can remove its specific registry hive.

1. Go to: HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\Instance Names\\SQL
2. In the right-hand pane, look for the value named DENTALWRITER.
3. **Delete only that value.** This unregisters the name from the SQL Server browser without touching the shared components used by your other instances.

- [Troubleshooting](https://help.niermanpm.com/internal/troubleshooting?hsLang=en#main-content)

    - [SQL Server](https://help.niermanpm.com/internal/troubleshooting?hsLang=en#sql-server)
- [Internal Setup on Domain](https://help.niermanpm.com/internal/internal-setup-on-domain?hsLang=en#main-content)

    - [Internal Meetings Outside Organization](https://help.niermanpm.com/internal/internal-setup-on-domain?hsLang=en#internal-meetings-outside-organization)
    - [Name Change](https://help.niermanpm.com/internal/internal-setup-on-domain?hsLang=en#name-change)
    - [Security](https://help.niermanpm.com/internal/internal-setup-on-domain?hsLang=en#security)
    - [Machine-Workstation](https://help.niermanpm.com/internal/internal-setup-on-domain?hsLang=en#machine-workstation)
    - [Telecom](https://help.niermanpm.com/internal/internal-setup-on-domain?hsLang=en#telecom)
- [Client Setup](https://help.niermanpm.com/internal/client-setup?hsLang=en#main-content)

    - [SFAX](https://help.niermanpm.com/internal/client-setup?hsLang=en#sfax)

[![Nierman Practice Management](https://help.niermanpm.com/hs-fs/hubfs/NPM%20logo.png?width=1988&height=778&name=NPM%20logo.png "Nierman Practice Management")](http://niermanpm.com)

scopeinstitute.org Help Center

Copyright © 2026, Nierman Practice Management