Windows Error: "Not used. To be removed."
Description
The error message "Not used. To be removed." is a placeholder string used by Microsoft developers in the Windows source code. It usually appears when an outdated system component, device driver, scheduled task, or registry key was deprecated but not completely deleted from the operating system.
Users typically encounter this error in the following scenarios:
- Windows Task Scheduler: An old system telemetry or update task triggers a broken action.
- Device Manager: A driver for a disconnected or obsolete hardware device fails to initialize.
- Windows Event Viewer: The system logs a warning about a background service that no longer exists.
- Third-Party Software Uninstallation: A program leaves behind a corrupted registry entry during removal.
While this message sounds alarming, it does not mean your computer has malware or a fatal system failure. It simply indicates that Windows tried to execute a command that has been marked for deletion.
Step-by-Step Fixes
Follow these steps in order to resolve the error.
Step 1: Remove Broken Tasks from Task Scheduler
Most instances of this error are caused by obsolete background tasks.
- Press the Windows Key + R on your keyboard to open the Run dialog box.
- Type
taskschd.mscand press Enter to open the Task Scheduler. - In the left sidebar, click on Task Scheduler Library to expand the list.
- Expand the Microsoft folder, and then expand the Windows folder.
- Click through the folders (especially Application Experience, Customer Experience Improvement Program, and Servicing).
- Look at the center pane for any task that has
"Not used. To be removed."listed in its Name, Description, or Actions tab. - Right-click the problematic task and select Disable.
- Right-click it again and select Delete.
- Restart your computer.
Step 2: Clear Corrupted Registry Keys
If a broken registry entry is triggering the error, you can safely remove it.
- Press the Windows Key + R, type
regedit, and press Enter to open the Registry Editor. - Click Yes if the User Account Control (UAC) prompt appears.
- Click on Edit in the top menu bar, then click Find (or press Ctrl + F).
- Type
Not used. To be removed.into the search box. - Check the boxes for Keys, Values, and Data, then click Find Next.
- If the search finds a registry key or value with this exact text, verify that it belongs to an old, unused Windows component or uninstalled software.
- Right-click the value or key in the right-hand pane and select Delete.
- Press F3 to find the next occurrence. Repeat the process until the registry search completes.
- Close the Registry Editor and restart your PC.
Step 3: Run System File Checker (SFC) and DISM
If a core Windows update corrupted a system file, deployment tools can repair it automatically.
- Press the Windows Key, type
cmd, and right-click Command Prompt. - Select Run as administrator.
- Type the following command to repair the Windows system image and press Enter:
DISM.exe /Online /Cleanup-image /Restorehealth - Wait for the progress bar to reach 100% (this may take several minutes).
- Next, type the following command to scan and replace corrupted system files and press Enter:
sfc /scannow - Once the scan finishes, look at the output message. If it says it repaired files, restart your computer.
Step 4: Clean Up Ghost Devices in Device Manager
An obsolete driver entry can trigger this placeholder error during startup.
- Right-click the Start Menu button and select Device Manager.
- Click on the View menu at the top and select Show hidden devices.
- Expand all the categories and look for any device icon that appears translucent (greyed out) or has a yellow warning triangle.
- Right-click the greyed-out or warning device and select Uninstall device.
- If a checkbox appears asking to "Attempt to remove the driver for this device", check it and click Uninstall.
- Reboot your computer to apply the changes.
There may be some errors. Learn Microsoft