Logo

Delete files and folders using Command Prompt

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.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

How to Fix Stop Error 7B

What is Stop Error 7B?

Stop error 7B is a blue screen of death error code that occurs during Windows XP setup or after installation. The error message is displayed in either of the following formats:
  • STOP: 0x0000007B (parameter1, parameter2, parameter3, parameter4)
  • INACCESSIBLE_BOOT_DEVICE
  • ‘A problem has been detected and Windows has been shut down to prevent damages’
  • Setup has encountered a fatal error that prevents it from continuing.
  • Setup cannot continue. Power down or reboot your computer now.

Solution

Restoro box imageError Causes

There is no one particular cause for this error. The Stop error 7B may be triggered due to multiple reasons. These include:
  • Boot Sector Viruses
  • Device Driver Issues
  • Poor Windows XP installation
  • Registry Corruption
If you come across this error code on your PC, it is advisable to fix it right away particularly because it is a blue screen of death error that can cause severe damages to your system. It can lead to system failure, crash, and valuable data loss.

Further Information and Manual Repair

Here we’ve listed for you the best PC repair solutions to resolve and fix stop error 7B.

Cause: Boot Sector Viruses

Solution: Stop error 7B can occur when infected with a boot sector virus. If this is the cause, then first download a powerful antivirus on your system. After downloading it, run it to scan your PC for viral infection. Immediately delete the viruses if found. However, if the virus is too powerful, the antivirus may fail to remove it. In such an event, you will have to repartition and format your hard disk and then later reinstall Windows XP.

Cause: Device Driver Issues

Solution: If the boot controller is not properly configured or the driver is not updated, Stop error 7B can occur.  When this happens, simply restart your system and press F8 to go to the advanced boot options. Here choose the Last Known Good Configuration option. After that boot into Windows and then perform a system restore. Now go to the start menu and type Device Manager in the search box. To access the Device Manager window it may prompt you to enter an administrator password, insert it to proceed. Now go to Device Manager and perform a driver rollback to reinstall the drivers generating this stop error. By following these simple steps you can easily resolve device driver and configuration issues.

Cause: Poor Windows XP Installation

Solution:  In this case, you will have to perform a Windows start-up repair. This can be done by booting Windows XP from CD. Simply press enter at setup Windows Screen when prompted. Then press R to repair Windows XP installation. This procedure copies the original Windows files over the bad ones.

Cause: Registry Corruption

Solution: Sometimes the stop error 7B is also triggered by the registry corruption. When this happens, it is advisable to download and run Restoro software for PC scan and repair. Restoro is a powerful, advanced, and highly functional registry cleaner. It is deployed with intuitive algorithms that detect registry issues and errors like Stop error 7B on your system in seconds.  It wipes out clutter from your hard disk, repairs damaged files and the corrupted registry. It is safe, efficient, and bug-free. It is also compatible with all Windows versions. In addition to this, it is also embedded with other utilities like an antivirus, a system optimizer, and Active X controls, and a class ID scanner. Click here to download Restoro and resolve to stop error 7B on your PC immediately!
Read More
Change Font Size in Sticky Notes in Windows
Sticky Notes is one of the useful programs and in the early days, the option is available for users to change the font size of the text a lot easier. However, for some unknown reason, Microsoft decided to get rid of this feature in the latest Windows Update. One would expect that the feature will be replaced by an even more useful feature but it’s not which makes the Sticky Notes app worse than before. Worry not though for it doesn’t have to stay that way as there is another thing you can try to change the font size in your Sticky Notes app and that’s what we’re going to cover in this post. As mentioned, Microsoft removing this font feature is quite strange and in the past, users asked for this feature and since it’s no longer available, you can try following the steps given below to bring it back. And for that, you need to go to the Ease of Access section in the Settings app. Refer to the steps given below for more instructions. Step 1: First, tap the Win + I keys to open Settings and then go to the Ease of Access section. Step 2: After going to the Ease of Access menu and select Display from the list of options. Step 3: From there, you should see an option that says “Make text bigger”. And then use your mouse to navigate to the slider to change the size of the font. Note: Take note that after doing all the steps above, it will change not just the Sticky Notes app but also everything in Windows 10. This method is actually the best since it only changes the size of the apps rather than a wholesale change in your Windows 10 computer. Step 4: Next, scroll under Display until you see the “Change the size of apps and text on the main display” option where you’ll see that the option is 100% but you’ll want to change that to 125%. Step 5: After that, click on the drop-down menu and select 125% and then restart your Windows 10 computer. Step 6: Now open the Sticky Notes app and check if you can now change the font size in the Sticky Notes app.
Read More
RAC Manager not working, Error 0xc0000005
If the Diagnostic Data level in your Windows 10 computer is configured manually to the non-default security setting of zero and you’ve encountered an error code of 0xc0000005, read on as this post will guide you in fixing the problem with the Remote Access Connection Manager Service. In relation to error 0xc0000005, you might also encounter an error in the Application section of Windows Logs in the Event Viewer, along with the Event ID 1000 which would most likely have a reference of “svchost.exe_RasMan” and “rasman.dll”. Before you troubleshoot the problem, keep in mind that the Remote Access Connection Manager or RasMan service is the one that manages dial-up and VPN connections from the computer to the internet as well as other remote networks. Each time you connect, the Services dials the connection or sends out a request for a VPN connection. However, the error 0xc0000005, only occurs when a VPN profile is configured as “Always On VPN or “AOVPN” connection with or without a device tunnel. There are several options you can check out to resolve this error, you can try to install the KB Update 4505903 or fix it via Group Policy. You could also try to enable Telemetry from the Settings app or enable it via Registry Editor. For more information, make sure to check out the provided options below.

Option 1 – Try installing the KB Update 4505903

The first thing you can do to fix the problem is to make sure that you’ve already installed the KB Update 4505903 in your computer. If not, then you have to go to Settings > Update & Security > Windows Update and from there select the Check for updates link. You need to get the standalone package if you are using the Microsoft Update Catalog to update your computer and for that, you have to the website of the Microsoft Update Catalog. On the other hand, if you are using the Windows Server Update Services or WSUS, then you can just manually import the KB Update 4505903 into WSUS.

Option 2 – Try to enable Telemetry in the Group Policy and run the RASMAN service

The next thing you can do to fix the problem is to enable Telemetry via Group Policy and then run the RASMAN service. To do that, follow these steps:
  • Tap the Win + R keys to open the Run dialog box and type “gpedit.msc” in the field and hit Enter to open the Group Policy Editor.
  • Next, navigate to Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds > Allow Telemetry.
  • After that, open the policy and select one of the security levels like Basic, Enhanced, and Full.
  • Then click on the Apply and OK buttons to save the changes made and close the Group Policy Editor.
  • Once one, open the Run dialog box again and type “services.msc” in the field, and hit Enter to open the Windows Services Manager.
  • From there, look for the Remote Access Connection Manager Service and restart it. And then check if it resolved the problem or not...

Option 3 – Try enabling Telemetry via Settings

  • Tap the Win + I keys to open the Settings app.
  • Next, go to Privacy > Diagnostics and Feedback and select Basic or Enhanced under the Diagnostic data.
  • After that, tap the Win + R keys to launch Run and type “services.msc” in the field, and hit Enter to open the Services Manager.
  • From there, look for the Remote Access Connection Manager Service and restart it.

Option 4 – Try to enable Telemetry via Registry Editor

  • Launch the Run utility and type “regedit” in the field and tap Enter to open the Registry Editor.
  • Then navigate to this path: HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsDataCollection
  • From this path, look for “AllowTelemetry” and double click on it.
  • Now enter the values, 1, 2, 3 for Basic, Enhanced, Full, respectively.
  • If you can’t find AllowTelemetry, then just create a DWORD (32-bit) and name it “AllowTelemetry” and edit its value.
  • Once done, exit the Registry Editor and restart the Remote Access Connection Manager Service from the Services Manager.
Read More
How to turn off check boxes in File Explorer
By default inside Windows 11 in File Explorer, once the file is selected, the small check box will appear beside it on left indicating visually that the file is selected. Older users will remember this feature from old Windows Vista and the feature itself is great if you are on some sort of touch device and need to select multiple files. windows 11 File ExplorerHowever, if you are working on a computer with a keyboard and mouse this feature might annoy you and seem like something that is not needed. Like many things inside Windows 11 this feature also can be customized and turned OFF if you do not want it. In this guide, we will see how to turn these boxes off. Microsoft has somewhat hidden this feature but luckily it is not difficult to find it if you know where to look.

Turning check boxes OFF

  1. Open File Explorer (if you do not have an icon on your Taskbar, right-click on the Start button and select File Explorer from the menu)
  2. Click on View on the top toolbar
  3. Select Show
  4. Uncheck Item Check Boxes
That is everything that needs to be done, after the checkbox is unchecked all check boxes from File Explorer will disappear. If you wish to turn boxes back ON, just follow the steps and check the box beside Item Check Boxes.
Read More
Turn On or Off the Recommended Troubleshooting
For a while now, Microsoft has been working hard to add various built-in troubleshooters in Windows 10. In fact, there is a troubleshooter for almost every standard or common error in Windows 10. And now with the newly released Windows 10 v1903, Microsoft has added the Recommended Troubleshooting which allows Windows 10 to automatically fix a lot of critical issues on your computer, and in this post, you will be guided on how you can turn on or off the Recommended Troubleshooting in Windows 10. The Microsoft Diagnostic & Feedback data only provides two settings – Basic and Full. So if you want to turn off the Recommended Troubleshooting for some reason, the only way to do so is to stop it from collecting complete data from your PC. And to turn it on or off, you can choose to switch between them. To do that, navigate to Settings > Privacy > Diagnostics & feedback and from there, select Basic under the Diagnostic Data section. After that, go back to Settings and go to Update & security > Troubleshoot. Once you’re there, you should see a warning message saying, “Share Full Diagnostic data to get additional troubleshooting recommendations”. Based on the message, Microsoft will only offer the recommended troubleshooting based on the Full Diagnostic data which it collects from your computer. On the other hand, if you know how to navigate and use the Windows Registry, then you can enable or disable the Recommended Troubleshooting via Registry Editor but before you proceed, make sure that you create a System Restore point. Once that’s covered, follow these steps:
  • Tap the Win + R keys to open the Run dialog box and type “regedit” in the field and tap Enter to open the Registry Editor.
  • Next, navigate to this registry path: HKEY_LOCAL_MACHINESOFTWAREMicrosoft
  • From there, look for the key named “WindowsMigration”. If you can’t find it, just right-click on the left pane and create a new key and then name it “WindowsMigration”.
  • After that, create a DWORD “UserPreference” and double click on it to set its value to “0” if you want to turn it off or “1” if you want to turn it on.
  • Exit the Registry Editor and restart your computer to apply the changes made.
Note: The Recommended Troubleshooting functionality can look into the error logs sent back to the Microsoft team and use an algorithm to set up a solution for you and they’re nothing but Diagnostics and Feedback data that Windows collects and sends back to Microsoft. Moreover, the recommendations are only visible if you are connected to the internet, else it will show the same message.
Read More
Fix 0xc00d36cb error in Windows 10
0xc00d36cb error shows up when you are trying to play a video or movie using the default player in Windows. This error can occur due to a glitch in the media player or corrupted system files. in this guide, we will show you how to tackle this issue and fix it.
  1. Run the video playback troubleshooter

    • Click on Start and select Settings.
    • Go to Update and Security.
    • Scroll down and open the Troubleshoot tab.
    • Scroll down and select the Video Playback option.
    • Click the Run the Troubleshooter button.
    • The troubleshooter will perform an initial scan and offer a few options.
    • Select Continue with this troubleshooter.
    • The troubleshooter will scan the system again for driver and codec issues.
    • Follow on-screen instructions and apply recommended fixes.
  2. Reset the Movies and TV app

    • Click on Start and select Settings.
    • Go to Apps and open the Apps and features tab.
    • Scroll down to Movies and TV.
    • Select Movies and TV.
    • Click Advanced options.
    • Scroll down and click on the Reset button.
  3. Create a new user account

    • Click on Start and select Settings.
    • Open Accounts.
    • Open the Family & other users tab.
    • Scroll down to Other users and click the Add someone else to this PC button.
    • In the Microsoft account window, type your email address.
    • If you don’t want to enter an email address and establish a local account, click on I don’t have this person’s sign-in information option instead.
    • Next, select Add a user without a Microsoft account (for a local account).
      • Else, enter your Microsoft account login details.
    • Enter a user name and password for your new account. Also, select a security question and add an answer to it.
    • Once the new profile is ready, log out of your current account.
  4. Check for permission issues

    • Right-click on the problematic file and select Properties.
    • Open the Security tab.
    • Click the Advanced button.
    • In the Advanced Security Setting window, click the Change link.
    • In the Select User or Group window, enter Everyone in the text box.
    • Click the Check Names button.
    • Click OK and Apply to save the changes.
    • Close all the Properties windows.
    • Try playing the file or modifying the properties and check for any improvements.
Read More
See if your Data is safe in Facebook breach
It is no secret that a few days ago Facebook has been breach and tons of user accounts have been compromised. These kinds of things are very unpleasant experiences for both users and the company itself. User trust lowers significantly in the company and it can greatly increase the chances of users migrating to another platform. This just shows how much a hacker or security breach can produce damage to the business. Sadly we can not offer you guidance or assistance in recovering your stolen data nor can we provide you with removing your data from the hands of the attacker. What we can do is to provide you with information has your data been stolen. Threat actor released the personal information for 533,313,128 Facebook users on a hacking forum, including mobile numbers, name, gender, location, relationship status, occupation, date of birth, and email addresses. This data was originally sold in private sales after being collected in 2019 using a bug in the 'Add Friend' feature on Facebook. Facebook had closed this vulnerability soon after it was discovered, but threat actors continued to circulate the data until it was finally released practically for free. Since then, Troy Hunt has added the leaked data to his Have I Been Pwned data breach notification service to help users determine if a Facebook member's data was exposed in the leak. Go to the site and enter your email address to check and see if your data has been compromised.
Read More
Windows 11 was released in beta for all
windows 11 betaMicrosoft has released Windows 11 as a public beta release for all the people that are not willing to be in the insider program. Beta release as of this moment is identical to Insider Preview build 22000.100. and updates will not roll so fast as in insider preview and it is marked as unstable release, same as insider build. I would not install Windows 11 beta on the main PC since some drivers still have issues and may lead to some blue screens. Be aware that the beta build will have all Windows 11 system requirements including TPM 2.0. This is a big difference from insider build which can be installed on systems lacking official requirements. So basically if you have a spare PC that could run Windows 11 install it so you can see what it brings and feel it so you can make a decision will upgrade once it is released later this year.
Read More
Fix DISM Error: The scratch directory size ...
One of the most useful and powerful built-in utility in Windows 10 is the DISM tool. This tool can be used with the Command Prompt command line as well as for other purposes. However, it is not without flaws and there are times when you may encounter some issues while using it. One of the problems you can get while using the DISM tool is the following error:
“The scratch directory size might be insufficient to perform this operation”
This kind of error in DISM occurs when the DISM command is executed from the Windows Recovery Environment due to the limited size permissions of a delivery where the operating is being performed. To fix this DISM error, you need to follow the instructions laid out below. Step 1: First, tap the Win + R keys to open the Run utility and then type “cmd” in the field and tap Enter to open Command Prompt. Step 2: Next, you have to specify a scratch directory that contains the Windows folder and to do that, you can either use the DIR command or the BCEDIT command. So in the elevated command prompt type and enter “dir” or “bcedit”. Step 3: After that, you will see a list of folders inside the C: partition. Now you have to create a folder named “scratch” inside the partition. To do so, execute the following command:
mkdir C:Scratch
Note: The command you just entered will create a directory inside the root of the C: partition named Scratch. Step 4: Now that you’ve created the Scratch folder, note that each time you run any of the DISM commands, you have to enter the following code snippet in them:
/ScratchDir:C:Scratch
 Note: For instance, if you are using the DISM tool to repair the offline Windows image, instead of executing the “Dism /Online /Cleanup-Image /RestoreHealth” command, you now have to execute the “DISM /Image:C: /ScratchDir:C: Scratch /Cleanup-Image /Restorehealth” command. And if you want to remove a selected installed update package, you can use the “DISM /image:C: /ScratchDir:C:Scratch /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e75~amd64~~16299.196.4.9” command. Keep in mind that the mentioned package is only an example. And lastly, you also have to replace the drive letter in the new code snippet when you execute the commands given above.
Read More
Reliability Monitor is not updating or working
In case you don’t know, there is a built-in tool in Windows 10, known as Reliability Monitor that provides a day-to-day snapshot of the health of your system. It warns users of any looming issues or disasters before your computer breaks down finally. So obviously, Reliability Monitor is useful, however, there are times when it could behave incorrectly. For instance, it might fail to show you any updates even when they are installed. Thus, if you experience any malfunctions with the Reliability Monitor tool in Windows 10, read on as this post will guide you in updating or working in Windows 10. To fix the problem with the Reliability Monitor, there are several fixes you can check out. You can try to enable the data collection for Reliability Monitor or reset it, as well as put your computer in a Clean Boot State. For more information, refer to each one of the options given below.

Option 1 – Try to enable the Data Collection for Reliability Monitor

The Reliability Monitor tool uses data provided by the RAC Agent scheduled task and it will start to display a Stability Index rating and specific event information 24 hours after the system installation. The RACAgent scheduled task, by default, runs after the operating system is installed. And if it is disabled, it must be manually enabled from the Task Scheduler snap-in for MMC or Microsoft Management Console. Thus, you need to enable the Data Collection for Reliability Monitor to fix the problem.

Option 2 – Try to reset the Reliability Monitor

The next thing you can do to fix the issue with the Reliability Monitor might want to reset it to resolve the problem. If the Reliability Monitor is already open, you have to close it and open it again. After the reset is done, it may take up to 24 hours for the Reliability Monitor to display results again. This should fix the problem.

Option 3 – Troubleshot the problem in a Clean Boot State

There are some instances that some conflicting programs installed in your computer might be the one that’s causing the Black border issue. To identify which program is causing the problem, you need to put your computer in a Clean Boot State. To do so, follow the steps below.
  • Log onto your PC as an administrator.
  • Type in MSConfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” check box.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
  • From there, start to isolate the problem by checking which one of the programs you installed recently is the root cause of the problem.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status