Why change default download location in Windows 11?
Moving the Download folder from drive C to another drive on Windows 11 will help you reduce the capacity of drive C and will help your computer run smoother.
When you can't open, edit, or delete a file in Windows File Explorer, it's either still open in a program running in the background or something isn't closing properly. Luckily, you can force the file to be deleted, closed, or edited with a few simple tricks.
Table of Contents
Let's start with the obvious. Did you open a file and not close it? If the file closed but the program is still running, close the application and try again.
You should also check the system tray to make sure the file isn't just minimized there.
Task Manager can help manually end the process or application holding your file hostage. This is one of the most promising methods to fix the "File is open in another program" error, since you may not always realize that the file is not closing properly.
Press Ctrl + Shift + ESC on your keyboard to open Task Manager . Alternatively, you can press Ctrl + Alt + Del to get to the menu or right-click on the Taskbar and select Task Manager . If you are using Windows 11, right-clicking on the Taskbar will not work.
If you see the compact version of Task Manager, click More details in the lower left corner and make sure you're on the Processes tab .
Browse for the application you used to open the “file in use”. For example, if you were viewing a document, search for Microsoft Word .
Once you find the process, select it and click End task in the lower right corner. This will close all instances of the program.
By default, File Explorer launches all of its windows in a single process (explorer.exe). However, it's possible that your settings force File Explorer to launch separate processes, which can cause conflicts between different processes.
Press Windows key + E to open File Explorer . In Windows 10, go to View > Options > Change folder and search options .
In Windows 11, click the See more icon with three dots next to View , then select Options.
In the Folder Options window , switch to the View tab and look for the Launch folder windows in a separate process option . Make sure this option is not selected. Click Apply to save any changes.
If this option is not selected initially, you should check if this solves your problem.
Previews in File Explorer can also cause conflicts, such as the "File is open in another program" error.
In Windows 10, press Windows key + E , switch to the View tab , and press Alt + P to close the preview pane.
In Windows 11, open File Explorer ( Windows key + E ), then go to View > Show and if you see a check mark next to the Preview pane, click it to close the preview.
The screenshot below shows an open preview pane on the right.
After closing the preview pane, try the operation again and see if the "file in use" error is gone.
You can bypass File Explorer and force delete the file using Command Prompt .
First, we need to track down the file path folder in File Explorer. Press Windows key + E to open File Explorer, locate the affected file, and copy the file path from the address bar at the top of the window.
Now, right-click on the Windows Start button and select Command Prompt (Admin) or Windows Terminal (admin) . To navigate to the file folder of the file in use, type cd [the folder path you copied] and press Enter.
Before we can force-delete files in use, however, we need to temporarily kill the File Explorer process. This will cause your Taskbar, wallpaper, and open folders to disappear. But don’t worry, you can easily restart File Explorer and get everything back later.
del "file name"
Now, to restart File Manager, all you need to do is open Task Manager ( Ctrl + Shift + ESC ). Then, click File > Run new task , type explorer.exe and click OK. This will restore your desktop to its normal appearance.
If trying to delete the file manually doesn't work or you're not comfortable using the Command Prompt , you can always use Microsoft's Process Explorer.
This is a more powerful version of Task Manager that can show you which processes have taken up your files.
Open Process Explorer's Search window by clicking Find > Find Handle or DLL (or pressing Ctrl + Shift + F ), enter the file name, and wait for a list of processes accessing your file.
You can't close a process from the Search window, but you can use Process Explorer or Windows Task Manager to close the offending application. There are also alternatives, such as Unlocker and LockHunter , that can help you identify pesky processes.
Sometimes, the file you're trying to delete might be loaded automatically by another app. Apps like Unlocker might still work in that case. However, if there's malware involved or you don't want to deal with third-party tools, booting into Safe Mode is your next best option.
In Windows 10 or 11, press the Win key on your keyboard and click the power icon. Hold down the Shift key and select the Restart option . Your PC will boot into the Windows Recovery Environment (WinRE) page.
From the next screen, select Troubleshoot > Advanced Options > Startup Settings > Restart . When your computer restarts, you will see the Startup Settings screen. Select Safe Mode and wait for Windows to start.
While you are in Safe Mode, navigate to the file in question and try to access or delete it.
Now, the next time Windows tells you a file is in use, you’ll know how to free it up or force your PC to delete it. If you’re not comfortable with third-party tools, you can always use the Command Prompt or boot into Safe Mode to help clear up any issues with the file in question.
Good luck!
See more articles below:
Moving the Download folder from drive C to another drive on Windows 11 will help you reduce the capacity of drive C and will help your computer run smoother.
This is a way to harden and tweak your system so that updates happen on your own schedule, not Microsoft's.
You can use one of the following 6 methods to open Computer Properties (or System Properties) on Windows 10.
The problem of losing sound when updating Windows 11 can be related to the software, or from the sound driver on the computer. Below are instructions to fix the sound loss error when updating Windows 11.
Windows File Explorer offers a lot of options to change how you view files. What you might not know is that one important option is disabled by default, even though it's crucial to the security of your system.
With the right tools, you can scan your system and remove spyware, adware, and other malicious programs that may be lurking on your system.
The Recovery partition is a separate partition on your computer's hard drive or SSD and is used to restore or reinstall the operating system in case of system failure.
There are many ways to hide all the icons on the Windows desktop to get a clean, distraction-free interface. Here is a guide to hide icons on the Windows 11 desktop.
Microsoft enables password-protected sharing. If you find this setting unnecessary, you can disable password-protected sharing in Windows 11.
The default language change shortcut is Windows + Space which cannot be turned off by default, but you can also change the language shortcut according to the article below.
The Store has removed the persistent toggle and now only lets you pause app updates for 1–5 weeks. If you want to block forced app updates, you can try some of the settings below.
In case the settings you have changed affect the content on your computer, or there is a problem, you can reset Windows Settings, following the instructions below.
Windows 11 doesn't have a specific close all apps button but there are some methods to close all open apps at once on Windows 11.
One day, you turn on your computer, go to CMD and get the error is not recognized as an internal or external command, operable program or batch file. What should you do?
Moving the Download folder from drive C to another drive on Windows 11 will help you reduce the capacity of drive C and will help your computer run smoother.
This is a way to harden and tweak your system so that updates happen on your own schedule, not Microsoft's.
When you can't open, edit, or delete a file in Windows File Explorer, the file is still open in a program running in the background or something isn't closing properly.
You can use one of the following 6 methods to open Computer Properties (or System Properties) on Windows 10.
The problem of losing sound when updating Windows 11 can be related to the software, or from the sound driver on the computer. Below are instructions to fix the sound loss error when updating Windows 11.
Windows File Explorer offers a lot of options to change how you view files. What you might not know is that one important option is disabled by default, even though it's crucial to the security of your system.
With the right tools, you can scan your system and remove spyware, adware, and other malicious programs that may be lurking on your system.
The Recovery partition is a separate partition on your computer's hard drive or SSD and is used to restore or reinstall the operating system in case of system failure.
There are many ways to hide all the icons on the Windows desktop to get a clean, distraction-free interface. Here is a guide to hide icons on the Windows 11 desktop.
Microsoft enables password-protected sharing. If you find this setting unnecessary, you can disable password-protected sharing in Windows 11.
The default language change shortcut is Windows + Space which cannot be turned off by default, but you can also change the language shortcut according to the article below.
The Store has removed the persistent toggle and now only lets you pause app updates for 1–5 weeks. If you want to block forced app updates, you can try some of the settings below.
In case the settings you have changed affect the content on your computer, or there is a problem, you can reset Windows Settings, following the instructions below.
Windows 11 doesn't have a specific close all apps button but there are some methods to close all open apps at once on Windows 11.
One day, you turn on your computer, go to CMD and get the error is not recognized as an internal or external command, operable program or batch file. What should you do?