The MSDT Preservation Tool is a PowerShell script with a graphical user interface (GUI) designed to manage the behavior of the Microsoft Support Diagnostic Tool (MSDT). As Microsoft transitions away from legacy troubleshooters to its "Get Help" application, this tool allows users to preserve and continue using the classic MSDT engine. It also provides functionality to back up the necessary troubleshooter files.
Built by: Zachary Whiteman & Google Gemini Ai.
This script helps you retain access to legacy Windows troubleshooters.
To run this script, you will need:
- Windows Operating System: (Windows 10 or 11).
- PowerShell 5.1 or newer.
- Administrator Privileges: The script requires administrator privileges to modify the registry and will attempt to self-elevate.
- Download: Download the
MSDT-Preservation-Tool.PS1script file. - Unblock: Right-click the file, go to Properties, and click
Unblockif the file was downloaded from the internet. - Run: Execute the script from a PowerShell console or by double-clicking it. The script will automatically request administrator elevation.
.\MSDT-Preservation-Tool.PS1
The application provides a simple interface with a status log that gives feedback on all operations.
- Actions:
- Enable Legacy Troubleshooters: Modifies the Windows Registry to prevent
msdt.exefrom redirecting to the "Get Help" app. This allows you to use the classic troubleshooters. - Use 'Get Help' App (Default): Reverts the registry changes, restoring the system's default behavior of using the "Get Help" app.
- Backup All Troubleshooters: Creates a comprehensive, timestamped backup of
msdt.exe, related diagnostic DLLs, and the entireC:\Windows\diagnosticsfolder onto your desktop. - Copy Troubleshooter Path: A convenience button that copies the path
C:\Windows\diagnosticsto your clipboard.
- Enable Legacy Troubleshooters: Modifies the Windows Registry to prevent
- GUI for Easy Management: Provides a user-friendly interface to manage complex registry settings and file operations.
- Automatic Administrator Elevation: The script checks for and requests administrator privileges automatically.
- One-Click Legacy Mode: Enables or disables the classic MSDT troubleshooters with a single button click.
- Comprehensive Backup: Creates a full, structured backup of all essential troubleshooter files and DLLs.
- Real-time Status Logging: A log panel within the GUI provides clear feedback on the success or failure of each operation.
- Scripting Language: PowerShell
- GUI Framework: .NET Windows Forms (WinForms).
- System Interaction: Uses PowerShell cmdlets to modify the Windows Registry and perform file system operations.
MSDT Preservation Tool interacts with core system settings and files.
- Administrator Privileges: This script requires administrator access to function. It is designed to self-elevate.
- Registry Modification: The script modifies keys in
HKEY_LOCAL_MACHINEto control the behavior ofmsdt.exe. It backs up the original registry key before making changes. - File System Backup: The backup function copies system files to a folder on your desktop. It does not modify or delete the original files.
Distributed under the MIT License. See LICENSE.txt for more information.
Zach Whiteman - elitesoftwarecolimited@gmail.com
HuggingFace - https://huggingface.co/EliteSoftware
HuggingFace (Personal) - https://huggingface.co/TheShadyRainbow
LinkTree - https://linktr.ee/zachrainbow