Resource Not Owned Error in Windows: Fix Guide
In this article
The "resource not owned" error in Windows usually means a program or script tried to use a system resource — a file handle, a mutex, a window handle, or a device — that it does not have permission to access or that is already locked by another process. The quickest fix is to close the app, restart Windows, and run the program as administrator; if that fails, check for corrupted system files with the built-in System File Checker and DISM tools. This guide walks through the safe, official steps to clear the error without reinstalling Windows.
What You'll Need
- Administrator access to your Windows account (you'll be prompted for permission at several steps).
- Windows Update available — some fixes require current system files.
- About 15–30 minutes, including a restart.
- Your Windows installation media or a recovery drive is helpful but not always required.
Menu labels can differ slightly between Windows versions and editions, so if a label doesn't match exactly, look for the closest equivalent in the same area.
Step-by-Step
- Identify when the error appears. Note the exact program, game, installer, or script that triggers it, and write down the full error text. This tells you whether the problem is app-specific or system-wide. If it happens in one app only, focus on that app; if it happens across several, treat it as a system issue.
- Close the app and any related background processes. Open Task Manager with Ctrl+Shift+Esc, find the app and any helper processes with the same name, right-click each, and choose End task. Reopen the app normally. Many "resource not owned" errors are caused by a stale process holding a lock.
- Restart Windows. Use Start > Power > Restart rather than Shut down, because Restart clears more in-memory state. After signing back in, try the same action again.
- Run the program as administrator. Right-click the app's shortcut or .exe file and choose Run as administrator. Accept the User Account Control prompt. If the error disappears, the app needs elevated permissions — you can make this permanent in the shortcut's Properties > Compatibility tab by ticking Run this program as an administrator.
- Check file and folder permissions. Right-click the folder the app writes to (often in Documents, AppData, or the install directory), choose Properties > Security, and confirm your user account has Full control or at least Modify. If not, click Edit, select your account, tick Modify and Write, and apply. Only change permissions on folders you recognise.
- Run the System File Checker. Open Start, type cmd, right-click Command Prompt, and choose Run as administrator. Type
sfc /scannowand press Enter. Let it finish — it can take several minutes — and note whether it reports repaired files. Restart afterwards. - Run DISM to repair the system image. In the same elevated Command Prompt, type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This can take longer than SFC. When it completes, restart and test again. - Update Windows and the affected app. Go to Settings > Windows Update and install all pending updates, then check the app's own update option or reinstall it from its official source. Outdated components are a common cause of handle and permission mismatches.
- Perform a clean boot to rule out background software. Open Start, type msconfig, open System Configuration, go to the Services tab, tick Hide all Microsoft services, then click Disable all. Restart. If the error stops, a third-party service is involved — re-enable services in small groups to find the culprit. Remember to re-enable everything when you're done.
- Reinstall the affected app. Uninstall it from Settings > Apps > Installed apps, restart, then reinstall from the official source. This replaces any corrupted files or registry entries tied to the app. Your personal files are not removed, but app settings may reset.
Common Mistakes
- Changing permissions on the whole drive. Granting Everyone full control over C:\ is a security risk and rarely fixes the issue. Limit permission changes to the specific folder the app uses.
- Skipping the restart. Many fixes only take effect after a full restart, not after signing out or closing the window.
- Running SFC in a normal Command Prompt. Without administrator rights, the scan cannot repair protected system files.
- Disabling services permanently during a clean boot. If you forget to re-enable them, other features (printing, audio, updates) may stop working.
- Downloading "fixer" tools from unknown sites. Use only built-in Windows tools and official app downloads.
Tips
- Check Event Viewer (Start > type Event Viewer > Windows Logs > Application) for the exact error entry around the time the problem occurs — it often names the failing module.
- If the error appears in a game launcher, verify the game files through the launcher's own repair option before reinstalling.
- Keep at least 10–15% of your system drive free; low disk space can cause resource allocation failures.
- Create a restore point before making permission or system changes, so you can roll back if something breaks.
- If the error mentions a specific file, search for that file name online along with the app name to find app-specific guidance.
Troubleshooting
If the steps above did not resolve the error, work through these checks in order:
- Test with a new user account. Create a temporary local account in Settings > Accounts and try the app there. If it works, your original profile is damaged — migrate your files to a new profile rather than editing the registry.
- Check for disk errors. In an elevated Command Prompt, run
chkdsk C: /scan(safe, read-only). If it reports problems, runchkdsk C: /fand restart when prompted. This can take time and may require a reboot. - Run Windows Memory Diagnostic. Type Windows Memory Diagnostic in Start and choose Restart now. Memory faults can cause sporadic resource errors.
- Use System Restore. If the error started after a recent change, open Start, type rstrui, and restore to a point before the problem began. Installed apps and settings changed after that point are reverted.
- Reset Windows as a last resort. Settings > System > Recovery > Reset this PC lets you keep personal files while reinstalling Windows. Apps and settings are removed, so back up important data first.
Frequently Asked Questions
Is "resource not owned" a virus?
No. It is a standard Windows error indicating a program tried to use a resource it does not control or have permission for. It is not a malware signature, though malware can cause unusual errors — run a scan with Windows Security if you are concerned.
Does this error mean my hard drive is failing?
Not usually. It is most often a permissions, locking, or corrupted-system-file issue. Disk problems are possible but less common; run chkdsk if the error repeats frequently.
Will reinstalling Windows fix it?
In most cases, yes, because it replaces system files and resets permissions. However, try SFC, DISM, a new user account, and an app reinstall first — they are faster and less disruptive.
Can I fix it without administrator rights?
You can try closing the app, restarting, and reinstalling the app if it installs per-user. System repairs (SFC, DISM, permission changes) require administrator access.
Why does it only happen in one program?
That points to an app-specific issue: a corrupted install, a stale background process, or a folder the app cannot write to. Reinstalling the app and checking its folder permissions usually resolves it.
Is it safe to disable services during a clean boot?
Yes, temporarily, as long as you tick Hide all Microsoft services and re-enable everything afterwards. Disabling Microsoft services can prevent Windows from starting correctly.