This guide shows you how to hide specific background processes in Windows 11 by editing the registry, which can reduce taskbar clutter and prevent certain apps from running in the background. You’ll need administrator access and a basic understanding of the Registry Editor. Always back up the registry before making changes.
What You’ll Need
- A Windows 11 PC with administrator privileges.
- The exact name of the process or app you want to hide (e.g., “OneDrive.exe”).
- A backup of the registry (optional but strongly recommended).
Step-by-Step
- Open Registry Editor: Press Win + R, type
regedit, and press Enter. Click "Yes" when prompted by User Account Control. - Back up the registry (recommended): In Registry Editor, click File > Export. Choose a location, name the file (e.g., "registry-backup"), select "All" under Export range, and click Save. This lets you restore if something goes wrong.
- Navigate to the Run key: In the left pane, go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
This key controls programs that start when you log in. Processes launched from here can be hidden from the taskbar. - Find the process entry: Look in the right pane for a value whose data contains the name of the process you want to hide (e.g., "OneDrive.exe"). If you don't see it, the process may start from a different key (see Tips).
- Modify the value to hide the process: Double-click the value. In the "Value data" field, add a space and then
--hide(or-hide) at the end of the existing command. For example, if the original data isC:\Program Files\App\app.exe, change it toC:\Program Files\App\app.exe --hide. Click OK. - Repeat for other processes: If you want to hide multiple processes, repeat steps 4–5 for each one.
- Restart the process or log off: To see the effect, sign out and back in, or restart the specific app (close it and open it again). The process should now run without appearing in the taskbar.
- Verify the change: Open Task Manager (Ctrl + Shift + Esc) and go to the "Processes" tab. The hidden process should still be listed there (since it's still running), but it won't show a taskbar button.
Common Mistakes
- Editing the wrong registry key: The Run key under HKEY_CURRENT_USER affects only your user account. For system-wide changes, you'd need HKEY_LOCAL_MACHINE, but that's riskier.
- Using the wrong flag: Not all apps support
--hide. Some use-hiddenor/min. Check the app's documentation. - Forgetting to back up: A typo in the registry can cause errors. Always export before editing.
- Hiding a critical system process: Hiding core Windows processes can make them unmanageable. Only hide third-party apps you recognize.
- Not restarting the app: The change only applies when the process restarts. If you don't restart, the taskbar button remains.
Tips
- Use the StartupApproved key for more control: Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run. Here, you can disable startup items entirely by changing their value to03 00 00 00 00 00 00 00 00 00 00 00. This prevents them from launching at all, which is different from hiding but can reduce clutter. - Check Task Manager's Startup tab: Right-click the taskbar and select "Task Manager". Go to the "Startup apps" tab to see which processes launch at startup. This helps you identify which ones are in the Run key.
- Use the command line to test flags: Before editing the registry, open Command Prompt or PowerShell and run the command with the flag manually to see if it hides the window. For example:
"C:\Program Files\App\app.exe" --hide. If it works, then apply it to the registry. - Create a restore point: In addition to exporting the registry, create a system restore point (search "Create a restore point" in Start). This gives you another recovery option.
- Consider using Group Policy for enterprise: If you're an IT admin, Group Policy (gpedit.msc) offers a more controlled way to manage startup programs and process visibility across multiple machines.
Troubleshooting
- The process still shows in the taskbar: The app may not support the
--hideflag. Try other flags like-minimized,/min, or--minimized. If none work, the app may intentionally ignore such flags. - Registry changes don't take effect: Ensure you're editing the correct key. Check if the process is launched from a different location, such as the Startup folder (
shell:startup). Also, make sure you restarted the app or logged off. - Windows shows an error after editing: If you get an error like "Invalid value", you may have corrupted a data string. Double-click the value and check that the path is still valid. If you backed up, double-click the .reg file to restore it.
- The app won't start at all: You may have accidentally removed a necessary part of the command. Restore the original value from your backup.
- Can't find the process in the Run key: The process might be a service or launched from a scheduled task. Use Task Manager's "Details" tab to see the process path, then check the corresponding registry key (e.g.,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services).
Frequently Asked Questions
Is it safe to hide background processes?
Generally yes, if you only hide non-critical third-party apps. Hiding system processes can make them harder to manage and may cause instability. Always back up the registry first.
Will hiding a process stop it from running?
No, hiding only removes the taskbar button. The process continues to run in the background. To stop it entirely, you need to disable it in Task Manager or remove it from startup.
What if the app doesn't support the --hide flag?
Then this method won't work for that app. You can try alternative flags like -minimized or /min, but if the app ignores them, you'll need a third-party tool or a different approach.
Can I hide processes for all users?
Yes, by editing the HKEY_LOCAL_MACHINE Run key instead of HKEY_CURRENT_USER. However, this requires administrator privileges and affects all users on the PC.
How do I undo the changes?
Simply delete the added flag from the registry value, or restore the backup you made. You can also use the .reg file you exported to restore everything.
Does this work for UWP apps (from Microsoft Store)?
Usually not. UWP apps are managed differently and don't rely on the Run registry key. You'd need to use the app's own settings to disable background activity.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Search Safari Tabs on iPhone
- Fix Brightness Control Not Working on Windows 10
- Choosing a Gaming PC or Console for Open World Games
- Error Code 0x4005: Fixes for Windows Update
- Fix Remote Procedure Call Failed Error in Windows
- Samsung Galaxy S 8GB vs 16GB: Real Difference