MS reveals why Windows 11 says a file is in use after closing app, plus the fix

thunderbong1 pts0 comments

Microsoft reveals why Windows 11 keeps saying a file is in use after you close the app, plus the fix

Facebook

Mail

RSS

Twitter

Youtube

Windows 11

Windows 10

Windows 10 PC Apps & Games

Privacy Policy

Contact Us

About us

Select Theme:

System

Light

Dim

Dark

Search

Sign in

Welcome! Log into your account

your username

your password

Forgot your password? Get help

Create an account

Create an account

Welcome! Register for an account

your email

your username

A password will be e-mailed to you.

Password recovery

Recover your password

your email

A password will be e-mailed to you.

Windows Latest

Windows 11

Microsoft reveals why Windows 11 keeps saying a file is in…

OEMs reveal Windows 11 Secure Boot fix after deadline passes, here’s…

Microsoft reveals Windows 11 taskbar feature that Windows 10 never had,…

Windows 11’s Low latency performance boost rolls out to more PCs,…

Microsoft begins rolling out a faster File Explorer on Windows 11,…

Windows 10

AllWindows 10 PC Apps & Games

Windows 10 support quietly extended until Oct 2027, as users reject…

Windows 11 Taskbar vs Windows 10: What’s still missing in 2026?

Windows 10 KB5094127 improves File Explorer search, direct download links for…

Windows 10 KB5087544 out with Secure Boot status update, direct download…

Privacy Policy

Contact Us

About us

Select Theme:

System

Light

Dim

Dark

Trending:Remove Recall AI

New Start menu

Windows 11 25H2

New Windows 11 ISO

Windows 11 24H2

Windows 11 AI requirements

Restore WordPad

Home Windows 11

Windows 11

Microsoft explains why File In Use error occurs even after the application is closed

If you are an avid Windows user, there might’ve been times when you tried to delete or rename a file in Windows and saw the message "The action can’t be completed because the file is open in another program”.

Well, as it turns out, Windows has been showing this error for decades, and it does not always mean what it says. Mark Russinovich , the now Azure CTO and Technical Fellow at Microsoft, recently addressed this issue. Russinovich, who first ran into this problem in the 1990s, created two tools specifically to deal with it.

What does ‘file in use’ error mean in Windows?

Yes, it is exactly what it sounds like, but here is a more technical explanation. Every time a program opens a file, Windows creates what is called a file handle .

A file handle is essentially a reference that Windows uses to track which program has access to which file at any given moment. Windows will not let you delete or rename a file while an open handle to it exists, because doing so could corrupt data that the program is still working with.

Normally, when you close an app, Windows releases those handles. But, as we have all experienced, closing the visible application does not always mean every handle is gone.

https://www.windowslatest.com/wp-content/uploads/2026/06/WINWORD.EXE-gets-removes-after-closing-Word.mp4

Why closing an app does not always release the file

Russinovich identifies three common reasons why a file stays locked after you think you’ve closed the program using it.

First, your antivirus software may be scanning the file. When antivirus runs a scan, it opens a file handle at the system level. Even if Media Player or Word has fully closed, the antivirus process can be scanning the same file in the background and holding it open.

Second, the file might be referenced from another PC on your network. If another device on the same network performed an operation that opened the file, that remote process may still hold a handle to it.

Third, and the trickiest, is the DLL scenario. If the file in question is loaded into a process as a DLL (Dynamic Link Library), it does not show up as a file handle at all. Instead, it shows up as an in-memory reference. You won’t see any open handles listed by standard tools, but the file is still locked because it is mapped into an application’s address space. To release that lock, you have to terminate the entire application that has it mapped.

How to find which process is responsible for "file in use" error

Back in the 1990s, Russinovich built a command-line tool called Handle specifically because he ran into this problem himself. Handle is part of the Sysinternals suite, a set of advanced Windows utilities that Microsoft now maintains.

Running Handle from an administrator command prompt shows every open file handle on the system, along with the process name and ID responsible for each one. You can search for a specific file name to cut straight to the answer.

https://www.windowslatest.com/wp-content/uploads/2026/06/Handle-tool.mp4

Process Explorer is the graphical companion. It was also built by Russinovich, and as we noted in our earlier coverage of Microsoft’s admission that Windows 11 is still built on 90s-era Win32, Russinovich himself said he would have bet against his own Sysinternals tools still being relevant in 2026. Yet here we are, and...

windows file handle microsoft after password

Related Articles