There are times when you might find it difficult to delete folders or files in File Explorer and it could be due to many reasons. One of these reasons can be attributed to the failure that can lock down the folders or files which prevents you from deleting them. In this kind of situation, you can utilize the Command Prompt to delete the folders, sub-folders, and files on your computer, and in this post, you will be guided on how exactly you can do that.
Before you proceed, keep in mind that when you use the Command Prompt incorrectly, it might affect your computer and render it inoperable, thus, you must be extra careful when executing the steps given below and it would also be better if you create a System Restore Point. After that, refer to the following instructions.
Step 1: First, in the Start Search, type “command prompt” in the field and from the search results, right-click on Command Prompt and then select the “Run as administrator” option to open Command Prompt with admin privileges.
Step 2: After opening Command Prompt as admin, navigate to the folder where the file you want to delete is located. Note that you have to execute the “cd” or the change directory command.
Step 3: Next, execute the following command in Command Prompt:
DEL /F /A <file path with extension>
Note: In the given command, “/F” is the force delete command, while “/A” is the command that selects the files with the ready for archiving attribute.
Step 4: After that, go to the location where you can find the folder you want to delete by using the “cd” command again. And then execute the following command right after:
RD /S <folder path>
Note: In the given command, “RD” is the command that removes the folder from the directory, while “/S” removes all of its sub-folders and files. On the other hand, if you also use the “/Q” parameter, you won’t see the “Y/N” confirmation but if you didn’t use it, then simply tap the Y button to proceed.

Once it opens, click on Device Manager to open it,
If you have a driver device error inside Windows, you should see it immediately when entering the Device Manager, it will have a yellow exclamation mark beside it. Right-click on it and choose update driver.“Windows can’t stop your ‘Generic volume’ device because a program is still using it. Close any programs that might be using the device, and then try again later.”It is possible that the system is still using the external device – for instance, a copy operation might still be in progress, or Windows is still indexing the contents of the drive in the background or it could also be that the drive is not configured to be quickly removed. To fix this error, there are a couple of suggestions you can try. You can try to close all the open programs and file explorer windows, or you could also configure the Device Removal Policy or change its file system to FAT32. In addition, you can also try to change its drive letter or use the DISKPART utility to get the drive to be offline or simply manage the hogging process that prevents it from being safely removed. Follow each one of the given potential fixes below to resolve the error when using the Safely Remove Hardware feature.
Error Causes“Windows cannot install required files. Network problems may be preventing Windows from accessing the file. Make sure the computer is connected to the network and restart the installation. Error code: 0x80070006.”As stated in the error message, this kind of error in Windows Setup is due to an unstable or unreliable network connection. Such problems can also be triggered by network hardware which includes the network adapters and the network routers. To fix this error, you need to check your internet connection and router or run the built-in network troubleshooter. You could also try using a different USB port or recreate a bootable USB drive as well as get a new Windows image file.
“We collect information about you, your devices, applications and networks, and your use of those devices, applications, and networks. Examples of data we collect include your name, email address, preferences, and interests; browsing, search and file history; phone call and SMS data; device configuration and sensor data; and application usage.”There are several ways you can disable the utcsvc.exe process. You can disable it using the Service Manager, Registry Editor, and Group Policy Editor. For more details, refer to the instructions laid out below.
“The Connected User Experiences and Telemetry service enables features that support in-application and connected user experiences. Additionally, this service manages the event-driven collection and transmission of diagnostic and usage information (used to improve the experience and quality of the Windows Platform) when the diagnostics and usage privacy option settings are enabled under Feedback and Diagnostics.”