Uninstalling DnsStream involves four steps: stopping the Windows service, stopping the ETW trace session, removing the service registration, and deleting the installation files and data directories. The included uninstall.ps1 script performs all of these steps in the correct order.
Uninstalling DnsStream has no effect on the Windows DNS Server service. DNS resolution continues normally throughout and after the uninstall process.
uninstall.ps1 script - located in the DnsStream installation directoryYou do not need to:
The DnsStream install.ps1 script creates the Telemity DnsStream Windows Event Log source during installation, however the uninstall.ps1 script does not remove it during uninstallation. This is intentional - removing the event log source would also remove all historical DnsStream log entries, including metrics history and any warning or error events that may be needed for post-uninstall review.
Use the following command to remove the event log source and all DnsStream entries from the Windows Event Log manually after uninstall:
Remove-EventLog -LogName "Telemity DnsStream"
This permanently deletes all DnsStream entries from the Windows Event Log. Export any entries you wish to retain before running this command.
The uninstaller modifies the system as follows:
| Location | Contents | Action |
|---|---|---|
%ProgramFiles%\Telemity\DnsStream\ |
DnsStream binary and supporting files | Deleted |
%ProgramData%\Telemity\DnsStream\ |
Configuration file and runtime data | Deleted |
| Windows service | Telemity DnsStream service registration |
Deleted |
| ETW trace session | Telemity DnsStream real-time ETW session |
Stopped |
| Windows Event Log | Telemity DnsStream event log source |
Retained - see Event log retention |
The uninstaller checks whether the Telemity DnsStream service exists and, if it is running, issues a stop command before proceeding.
DnsStream registers a named real-time ETW consumer session called Telemity DnsStream when it starts. Stopping the Windows service does not release the ETW session registration - the uninstaller explicitly stops it using logman to ensure the session is fully cleaned up and the ETW provider slot is returned to the system.
Open PowerShell as Administrator and run the uninstall.ps1 file found under the %ProgramFiles%\Telemity\DnsStream\ directory:
& $Env:ProgramFiles\Telemity\DnsStream\uninstall.ps1
Optionally delete the Telemity DnsStream Windows Event Log (as noted under Event log retention):
Remove-EventLog -LogName "Telemity DnsStream"