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

Best online learning websites for everything
Building your skill set could be a very important thing, especially in today’s world, and what’s the best way other than online learning classes. You are not exposing yourself to pandemics, staying safe in the warmth of your home and most of the courses are free. Presented here are sites that I believe will and can help you with your goal of learning desired material whatever that might be. Sites are listed in no particular order with a description of what each has to offer.

Coursera

https://www.coursera.org/ courseraCoursera was one of the pioneers when it comes to college education online. When it started all courses were free and offered certificates if the taker has done tasks with a passing grade. Today not everything is free but still, there are tons of free courses that can help you to learn something new and to advance in your work or hobby. Google is using the Coursera platform to deliver its courses to the audience and besides google a lot of academic professors from Princeton, Stanford, John Hopkins and many more are presently offering their course material.

edX

https://www.edx.org/ edx online learningedX has evolved from MITx, MIT’s free initiative to place some free academic lectures from its classrooms free into the world. Since it was rebranded into edX it started including other big university names like Berkeley, University of Texas System, Harvard, and many more. Since its infant days, edX has expanded and included many areas that it offers coursework from arts to science. Certificated today are mostly not free but course videos are, so if you care to learn and not wave certificates around this is a great place to do it.

Udemy

https://www.udemy.com/ udemyUdemy has a little different approach to course material than previously mentioned websites. Teachers on Udemy are mostly people that are working in a given field. Programmers will teach programming, fitness instructors will teach training, etc. There are vas variety of topics even on lifestyle, hobbies even gaming to more serious ones like software developing hardware, etc. There are free courses but mostly are one-time purchases with unlimited access to course material and with frequent discounts udemy might be a good place to look if you can find anything interesting.

Alison

https://alison.com/ alisonAlison is kind of Udemy if we are talking about course material and who is teaching, the difference however is that it has more free content and it is one of the rare websites on this list that has Language courses. Courses vary from beginner level to more advanced ones.

Udacity

https://www.udacity.com/ udacity online learningUdacity was also one of the earlier websites to offer free courses, in today’s world it still has free material but there is also paying one. The big difference from other competitors is that Udacity focuses mostly on programming, data science, and web development and it is very strong in this field. There are no courses about art. Music or similar, mostly IT stuff is covered here. If this is something that interests you, make a free account and give it a go.

Codecademy

https://www.codecademy.com/ codecademyCodecademy is a website mainly focused on teaching you how to code. Pro plan is there but there are a lot of basic and free courses on the mentioned subject. The curriculum is really wide covering Python, R, Java, JavaScript, SQL, Ruby, C#, C++, Swift, PHP, HTML, CSS and more so I am sure that if you are interested in coding this would be a pretty good place to find things. Besides pure language coding courses site offers also, Cybersecurity, Web design, Data science, web development, Game Development, Mobile Development, and many more courses on provided subjects.

Academic Earth

https://academicearth.org/ academic earthAcademic Earth has been built with one simple premise: Everyone deserves access to education. Lead by this kind of mindset on Academic Earth you will find well, academic courses similar to ones found on edX and Coursera, but from mentioned sites here all courses are free and you will find only academic ones, there are no entrepreneur or expert courses here, just pure academic ones. If you wish to see and learn something the way it is taught in Harvard, Berkeley, MIT, etc this is the place for you.

Khan Academy

https://www.khanacademy.org/ khan academyKhan academy is completely free and it is offering courses matching certain grades for children. It is offering courses for all 8 years of elementary school, math courses for high school and college with some coursework on topics like science, arts & humanities, reading, life skills, etc. Despite not being on the same level as some university courses presented on other mentioned websites Khan Academy is a good place to learn a lot of basic skills that you could build upon later.

Conclusion

I hope that I have helped you in some way to expand your skill set and learn something new with provided sources and I hope to see you again on errortools.com
Read More
Fix UNEXPECTED STORE EXCEPTION in Windows 10
Blue Screen of Death or Stop errors are definitely one of the most difficult issues to face in your Windows computer. One of them is the UNEXPECTED STORE EXCEPTION BSOD error. When you encounter this Stop error on your Windows 10 computer, this means that the store component has caught an unexpected exception. There are many potential causes for this error, but we’ve narrowed it down to a few specific causes – for one, this error could be caused by your antivirus program installed on your computer, two, it could also be caused by outdated hardware drivers on your computer, it could also be an error in the file system as well as some issue with the lock screen app, or even output to an unexpected port. Whichever the cause may be, you can use a couple of fixes laid out below. Make sure to carefully follow them.

Option 1 – Try to update your Display driver

  • First, boot your computer into Safe Mode.
  • After that, tap the Win + R keys to launch Run.
  • Type in devmgmt.msc into the box and tap Enter or click OK to open the Device Manager.
  • After that, a list of device drivers will be displayed. From there, look for the Display Adapters and click on them.
  • After that, right-click on each entry under the Display Adapters and select the “Uninstall Device” option from the menu.
  • Now restart your computer.
  • After restarting your computer, go to the Settings app and Check for Updates in the Windows Update section.
Note: You also have the option to go directly to the website of your graphics card manufacturers like NVIDIA, Intel, or AMD and go to the section called Drivers then check if there’s a new available update – if there is, download and install it.

Option 2 – Run both the System File Checker scan and DISM tool

If the problem is caused by corrupted system files, then you can use both the System File Checker and the DISM tool. To use them, follow the instructions below.
  • Tap the Win + X keys or right-click on the Start button and click the “Command Prompt (Admin)” option. Alternatively, you can also search for “cmd” in the Cortana search box and right-click on Command Prompt from the search results, and select the “Run as administrator” option.
  • After that, if a User Account Control prompt pops up, click on Yes to proceed.
  • Once the Command Prompt window is pulled up, type the following command and hit Enter:
DISM.exe /Online /Cleanup-image /Restorehealth
  • Wait for the process to be completed. Once it’s done, type the following command and hit Enter:
sfc /scannow
  • The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Restart your PC.
Note: You should see the “Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%LogsCBSCBS.log” message on your screen. On the other hand, if you see the “Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%LogsCBSCBS.log” message instead, then you should run the following command in Command Prompt:
findstr /c:"[SR]" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfclogs.txt"
The command you entered will open up the logs on your Desktop where you can look for files that are causing the error on your computer manually.

Option 3 – Disable Fast Start-up

If you want your computer to boot faster, then you might have enabled Fast Start-up. This feature is ideal for computers that are using a hard disk drive. However, turning on this feature also means that when the computer boots, it might lag some drivers that are loaded when it initially boots up. Thus, it might be the potential cause of the UNEXPECTED STORE EXCEPTION BSOD error. Thus, you need to disable Fast Start-up. To do that, follow these steps:
  • Boot your PC into Safe Mode.
  • Then tap the Win + R keys to open the Run dialog box.
  • Next, type in “control” to open Control Panel.
  • After that, select Hardware and Sound and click on Power Options.
  • Select “Choose what the power buttons do” from the left side menu pane and click on Change settings that are currently unavailable.
  • Afterward, uncheck the “Turn on fast startup (Recommended)” entry and click on Save Changes.
  • Now restart your PC for the changes to take effect and then check if the problem’s fixed afterward.

Option 4 – Try to run the Chkdsk utility

You can also run the Chkdsk utility to resolve the UNEXPECTED STORE EXCEPTION BSOD error. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the Chkdsk utility comes in. The Chkdsk utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f /r
  • Wait for the process to be completed and then restart your computer.
Read More
Fix Windows Update Error Code 0x80246017
Updating your Windows 10 computer isn’t always as easy as it should be since there are times when you might encounter some errors along the way. One of these errors is the error code 0x80246017 that comes with the error message “WU_E_DM_UNAUTHORIZED_LOCAL_USER”. According to Microsoft, the cause of this particular Windows Update error is that “The download failed because the local user was denied authorization to download the content”. So if you got this error when you tried updating your computer, read on as this post will provide you some suggestions on how you can fix it. Before you troubleshoot the problem using the options given below, make sure that you are logged in as administrator. If you are already logged in as an administrator, follow each one of the options carefully.

Option 1 – Try to check the status of some Windows Update Services

  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “services.msc” in the field and hit Enter or click OK to open Services.
  • From the list of Services, look for the following services and make sure that their Startup type is as follows:
    • Windows Update – Manual (Triggered)
    • Background Intelligent Transfer Service – Manual
  • After that, check if the Service status of the listed services above is set to Running. If they’re not, click on the Start button to start these services and then check if you can now enable the Windows Update service or not.

Option 2 – Try to grant Full Control of the System Volume Information directory

  • First, tap the Win + X key combination and then select Command Prompt (Admin) from the given menu.
  • After opening Command Prompt with admin privileges, type the following command and tap Enter to execute it:
c md.exe /c takeown /f "C:System Volume Information*" /R /D Y && icacls "C:System Volume Information*" /grant:R SYSTEM:F /T /C /L
  • Once the command is executed, it will run a batch of tasks and will show each one of their statuses on the command line window and once they’re done, exit Command Prompt.
  • Now restart your computer and see if it fixed the problem or not.

Option 3 – Try to disable your antivirus program or Firewall

Disabling the antivirus program or Firewall or any other security software installed in your computer is always a good idea you can try when the Windows Update process does not go smoothly. So before you try updating your computer again, make sure to disable the antivirus or security program and once the Windows Update is done, don’t forget to enable the antivirus program back again.

Option 4 – Try running the DISM tool

You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the Windows Update error. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • exe /Online /Cleanup-image /Restorehealth
  • After that, wait until the process is finished and do not close the window as the process will probably take a couple of minutes.
  • Once it’s done, restart your computer.

Option 5– Run the Windows Update Troubleshooter

If the DISM tool didn’t work in fixing the error, you could also try running the Windows Update Troubleshooter as it could also help in fixing any issues related to Windows Update including the Windows Update error code 0x80246017. To run it, go to Settings and then select Troubleshoot from the options. From there, click on Windows Update and then click the “Run the troubleshooter” button. After that, follow the next on-screen instructions and you should be good to go.

Option 6 – Run Microsoft’s online troubleshooter

Running Microsoft’s online troubleshooter might also help you fix the Windows Update error code 0x80246017. This online troubleshooter is known to help in fixing Windows Update errors, it scans your computer for issues that might be causing the problem and then fixes them automatically.
Read More
How to Fix Error Code 0x80073afc

Error Code 0x80073afc - What is it?

Error code 0x80073afc deals with an antivirus program first built into Windows 8/8.1 This error occurs when Windows Defender, the built-in anti-virus software in Windows 8/8.1 and higher, does not start automatically and users attempt to manually start the program. During the initialization period of the program start-up, something goes wrong and users get a 0x80073afc Error message. The error message states there was a problem with the initialization of the program. Windows Defender provides protection of your computer and it is advised by the Microsoft Corporation that you ensure it starts up automatically on every start-up.

Solution

Restoro box imageFurther Information and Manual Repair

Users have found several manual repairs that have fixed the problem without needing to contact technicians for extra help. While the methods below should solve your problem easily, if this is the first time you have encountered the issue you may want to do a simple restart. This has fixed the problem for some users and is the easiest first troubleshooting move. If it doesn’t work move on to the methods listed below, which are easily completed without extra help.

Before trying any of these methods, please make sure that you are logged into a profile that is listed as the administrator of the computer of his administrative powers enabled. If this is not the case you will not be able to complete the following methods. Please log out and log back in on the administrator profile.

Method 1:

First, check to see if you have a third-party anti-virus program installed on your computer. Some users believe that the built-in Windows Defender program is not powerful enough to handle the safety of their computer so they usually download a third-party program. However, that program may have caused a conflict with Windows Defender and may not allow it to open. If you do have a third-party program installed, try uninstalling it then manually starting Windows Defender.

Method 2:

If method one does not work, you may be infected by malware or a virus that has tampered with the settings on your computer and will not allow Windows Defender to start automatically or manually.

First, open Run by holding the “Win” key and pressing the “R” key. Then type “Regedit”. The program will ask for permission to follow through with this action. Click on “Yes” and the Open Registry Editor will open.

Find the HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionImage File Execution Option and check to see if there are any files similar to MSASCui.exe or MpCmdRun.exe. If there are any file entries that resemble that, you will want to right-click on them before selecting the “Delete” option. If you do not see any entries that match, this is not the issue with your Windows Defender and you will want to try another method.

The Registry on your computer is very important. It helps tell your computer what programs are safe to run, what programs should be run, and what programs should not be run. If it is tampered with by a virus or Malware, multiple system operations can be affected.

However, if you did find similar file names, and you deleted them, try to start Windows Defender manually. If it does not work again, move on to the next method. 

Method 3:

If the first two methods do not work for your issue, and you are still receiving error code 0x80073afc when attempting to start Windows Defender, this step should solve the problem if you have Restore Point installed on your computer, which you most likely do.

For this method, we will be restoring your computer to a previous Restore Point. First, just like in method two, hold the “Win” key and press the “R” key. This will open run. Next type “Rstrui.exe” and click “ok”. After some time, you will see System Restore Windows. Click “Next” and select the restore point that you would like to go back to. After your computer has restored to the point you selected, check to ensure that Windows Defender has started correctly.

If the above methods aren't able to rectify the issue, you might have to download and install a powerful automated tool to get the job done.

Read More
Windows Update failed, error 0x80240034
If you got an error message saying, “Windows Update failed to install error 0x80240034” when trying to update your Windows 10 then it’s probably due to some update services that are failing at some point. In addition, you might also see Error constant WU_E_DOWNLOAD_FAILED with the description that “Update has failed to download”. The Windows Update failed to install error 0x80240034 might be caused by some connection problem or there might be a duplicate update or that installation is not allowed and so on. And so to fix the problem, we’ve prepared some options that could help. Make sure to follow them accordingly but before you proceed, you need to verify if you have a stable internet connection.

Option 1 – Restart your computer and try installing the Updates again

Restarting your computer can also help in fixing the Windows Update failed to install error 0x80240034. There are cases where the issue resolves on its own as it could just be some simple network or PC error.

Option 2 – Try to disable your antivirus program

The Windows Update failed to install error 0x80240034 might be caused by the antivirus program installed in your computer which is why disabling the antivirus program or any security software installed in your computer is always a good idea you can try when the Windows Update process does not go smoothly. So before you try updating your computer again, make sure to disable the antivirus or security program and once the Windows Update is done, don’t forget to enable the antivirus program back again.

Option 3 – Clean up temporary and junk files

  • Open Setting > System > Storage from the WinX Menu.
  • From there, you will see a list of all the local and connected storage devices along with the details on the free space.
  • Now make sure that the Storage Sense feature is turned On then go find a link that says “Free Up Space” and click it to open.
  • After that, a screen which is the built-in program in Windows 10 will appear and will scan your computer for the following junk files so you can free up disk space:
  • Windows Upgrade Log Files
  • The system created Windows Error Reporting Files
  • Thumbnails
  • Temporary Internet Files
  • Previous Windows Installation Files
  • Delivery Optimisation Files
  • DirectX Shader Cache
Note: Once you’re done freeing up space on your drive, try to run the setup file again.

Option 4 – Run the Windows Update Troubleshooter

Running the built-in Windows Update troubleshooter is one of the things you can first check out as it is known to automatically resolve any Windows Update errors like error 0x80240034. To run it, go to Settings and then select Troubleshoot from the options. From there, click on Windows Update and then click the “Run the troubleshooter” button. After that, follow the next on-screen instructions and you should be good to go.

Option 5 – Delete Files from Software Distribution Folder & Catroot2 folders

The downloaded Windows Updates are placed in a folder called “SoftwareDistribution”. The files downloaded in this folder are automatically deleted once the installation is completed. However, if the files are not clean up or if the installation is still pending, you can delete all the files in this folder after you pause the Windows Update service. For complete instructions, refer to the steps below.
  • Open the WinX Menu.
  • From there, open Command Prompt as admin.
  • Then type in the following command – don’t forget to hit Enter right after typing each one of them.
net stop wuauserv net start cryptSvc net start bits net start msiserver
  • After entering these commands, it will stop the Windows Update Service, Background Intelligent Transfer Service (BITS), Cryptographic, and the MSI Installer
  • Next, go to the C:/Windows/SoftwareDistribution folder and get rid of all the folders and files thereby tapping the Ctrl + A keys to select them all and then click on Delete. Note that if the files are in use, you won’t be able to delete them.
After resetting the SoftwareDistribution folder, you need to reset the Catroot2 folder to restart the services you just stopped. To do that, follow these steps:
  • Type each one of the following commands.
net start wuauserv net start cryptSvc net start bits net start msiserver
  • After that, exit Command Prompt and restart your computer, and then try to run Windows Update once more.

Option 6 – Run the DISM tool

If the first five options didn’t work, then running the Deployment Imaging and Servicing Management tool might help as it can repair the Windows System Image as well as the Windows Component Store in Windows 10.
  • After you access the Advanced Startup options, select Command Prompt by using the arrow keys on your keyboard.
  • Next, type in this command: DISM /Online /Cleanup-Image /RestoreHealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.

Option 7 – Run System File Checker

Running the SFC scan or System File Checker might also help in fixing error 0x80240034.
  • Tap Win + R to launch Run.
  • Type in cmd in the field and tap Enter.
  • After opening Command Prompt, type in sfc /scannow and hit Enter.
  • Restart your PC.

Option 8 – Try to use the Media Creation tool

The Media Creation tool in Windows allows you to use the ISO installation file to make a bootable device that you can use to install Windows on your PC. Note that this is kind of different from the usual installation process as it could erase your computer’s current settings and data on the primary drive. Thus, before you proceed, you need to backup all your data into some removable drive and then use the Media Creation Tool to make a bootable drive.
  • After making the bootable drive, you need to plug it into your computer and then reboot.
  • Next, tap the F10 or Esc key to open the boot options.
  • Now set the boot priority of the removable drive the highest. Once the setup comes forth, follow the next onscreen instructions and install Windows without any problems.
Read More
Fix Error opening file for writing
If you got encounter an error message saying, “Error opening file for writing” while running a setup file to install some program on your computer, read on as this post will give you some suggestions on how you can fix it. You can encounter this error when running a setup file for installing a program like GlassWire, Notepad++, VLC, Steam, OBS, Mod Organizer, WinpCap, NSIS, FileZilla, BSPlayer, Kodi, Wireshark, rtcore64, qt5core.dll, MSI Afterburner, GWCtlSrv.exe, npf.sys, vcredist_86 and many more. And so when this error pops up while you run a setup file, refer to the steps given below which might help resolve the problem. Step 1: First, you have to make sure that there is no other installation in progress as multiple installations can most likely cause this error to show up. You can restart your computer and try to run the setup file again. Step 2: If you still got the error even after your restart your computer, click on Retry to try again and if it does nothing, click Abort to terminate the installation. After that, go to the folder where you’ve placed the setup file and then delete it. Step 3: Make sure that you have enough disk space on your computer. You can use the Windows 10 Storage Sense feature which can clean all the temporary files from your computer and help you save storage space. To use Storage Sense, follow the steps below.
  • Open Setting > System > Storage from the WinX Menu.
  • From there, you will see a list of all the local and connected storage devices along with the details on the free space.
  • Now make sure that the Storage Sense feature is turned On then go find a link that says “Free Up Space” and click it to open.
  • After that, a screen which is the built-in program in Windows 10 will appear and will scan your computer for the following junk files so you can free up disk space:
  • Windows Upgrade Log Files
  • The system created Windows Error Reporting Files
  • Thumbnails
  • Temporary Internet Files
  • Previous Windows Installation Files
  • Delivery Optimisation Files
  • DirectX Shader Cache
Note: Once you’re done freeing up space on your drive, try to run the setup file again. Step 4: If freeing up space didn’t help, you can just delete the setup file and download another one from the official homepage of the program. From there download the setup file and place it in a different location. After that, run the setup file once again. Step 5: Make sure that you have downloaded the correct setup file according to your operating system, i.e. x64 or x86. Step 6: Restart your computer once more and make sure that you sign in as administrator. After that, right-click on the setup file and click “Run as administrator”. If it still didn’t help, you might want to take ownership of the folder where you saved the setup file. How? Follow the steps below but before you do that, you have to create a System Restore Point first, once that’s done, proceed.
  • First, locate the concerned folder and right-click on it then select Properties.
  • Next, click on the Edit button in the Properties window and click OK to confirm if you got a User Account Control elevation request.
  • After that, select user/group from the permission windows or click on the Add button to add another user or group. It would be best if you add “Everyone” to give permission.
  • Then check “Full Control” under the “Allow” column to assign full access rights control permissions.
  • Now edit the permission to Full Control for “Everyone”.
  • Click OK to save the changes made and then exit.
Read More
Fix Office Activation error 0x80070426
In case you don’t know, Microsoft Office uses a separate mechanism than the Windows operating system for specific purposes such as Updates and Activation which brings in the content dependencies of this mechanism on different services and processes. Thus, in such cases, you could encounter errors like the error code 0x80070426. When you get this error, you will see the following error message on your screen:
“An unexpected error has occurred. Your request cannot be processed at this time. Please try again later. (0x80070426)”
This kind of error is caused by various supporting processes and services that are not working or are not being triggered as they were supposed to. If you are currently facing this issue, worry not for this post will guide you in fixing it. There are two potential fixes you can try – you can either check the responsible services or manually run the Activation Script. For more details refer to the given options below.

Option 1 – Try checking the responsible Services

  • In the Start search, type “services.msc” in the field and tap Enter or click OK to open the Windows Services Manager.
  • If a User Account Control or UAC prompt appears, just click on Yes to proceed to the Windows Services Manager utility window.
  • After that, look for the “Software Licensing Service” service entry from the given list of services inside the window.
  • Then right-click on it and select Properties and from there, make sure that its Startup Type is set to Automatic.
  • Once done, click on the Start button to start the service and then exit the Services Manager.
  • Next, tap the Win + R keys to open the Run utility and then type “cmd” in the field and tap Enter to open an elevated Command Prompt.
  • After that, type and enter each command below one after the other.
    • net start slsvc
    • sc qc slsvc
    • sc queryex slsvc
    • sc qprivs slsvc
    • sc qsidtype slsvc
    • sc sdshow slsvc
  • Now check if the problem is fixed or not.

Option 2 – Try to manually run the Activation Script

  • In the Start search, type “cmd” and right-click on Command Prompt from the given search results and then select the “Run as administrator” option to open Command Prompt with admin privileges.
  • Next, navigate to the following location inside the Command Prompt command-line utility if you are using Office 16.
    • x86: C:/Program Files (x86)/Microsoft Office/Office16
    • x64: C:/Program Files/Microsoft Office/Office16
  • On the other hand, if you are using an older version, go to the following location instead.
    • x86: C:/Program Files (x86)/Microsoft Office/OfficeXX
    • x64: C:/Program Files/Microsoft Office/OfficeXX
  • Once you’re in the location, type the following command to run the Activation Script and then tap Enter.
cscript ospp.vbs/act
  • The command you just entered will activate your copy of Microsoft Office.
Read More
What to do if Cortana Search Box turned white
A lot of Windows 10 users prefer the black theme on their computers and when you see anything but black it can get quite annoying. Such as is the case of the Taskbar which, as you know, is usually dark, however, when you take a look at the Cortana search bar, instead of seeing black, you’ll see that it has turned white. To fix this issue, read on as we will provide you some options you can try to set the Cortana search bar back to black. Before you proceed, take note that the options provided below will change all white search boxes to black and that one of these options needs administrative privileges.

Option 1 – Try changing the default App mode

As you know, Windows 10 has two modes, namely the Light and the Dark. Thus, you can switch to the Dark mode so that your Cortana search bar will be black as well. However, remember that it will completely change everything into dark mode so there will be no more Light mode elsewhere.
  • First, you need to click on the Start button and then click on the cog icon to open the Windows 10 Settings.
  • Next, from the Settings Menu, select Personalization and then select Colours from the left pane.
  • Then scroll down until you see the “Choose your default app mode” option and select “Dark”.
After you apply the changes, it will change the Cortana search bar into black instantly. Aside from that, you will also see the User Interface changing into dark mode.

Option 2 – Try changing the Registry value

If you are well-versed in editing registry keys, then you need to try this option. But before you go over the steps below, make sure that you create a System Restore point first so that if anything goes wrong, you can always go back to how it was before the changes were applied.
  • Tap the Win + R keys to open the Run prompt.
  • Then in the field, type in “regedit” and hit Enter to open the Registry Editor. If a User Account Control prompt appears, just click Yes.
  • Now that you’ve opened the Registry Editor, navigate to the following key:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionSearchFlightingWhiteSearchBox
  • After that, double-click on the “Value” key located on the right pane and set the value to “0” instead of “1” and then click Ok to save the changes made. You should now see a black or grey text box color instead of white.

Option 3 – Try changing the Region

In some forums, a lot of users stated that changing the Region also worked out for them in changing the white Cortana search bar to white. Thus, you need to change the region settings of your computer temporarily. To do so, follow the steps below.
  • Type in “Regional Settings” in the box and then click it as soon as it appears from the search results.
  • Next, make sure to select a region where Cortana is not available.
  • Then select apply to that region. After that, it will change the Cortana search bar color to black.
  • Now sign out and sign back in and revert to the original settings. But the changes you made earlier in Cortana will still remain.
Read More
Not enough USB controller resources Error
As you know, USB is now being widely used in all devices with USB A as the leading type with most devices based on it. Peripheral devices such as Pen Drives, External Hard disks, and many more also use a USB port. On the other hand, USB C is also coming up to be the next big standard in the computing world because of its high transfer speeds, wider compatibility as well as support for external Graphics Processing Units. However, just recently, USB 3.0 ports have been reported to cause the following error to pop up on Windows 10 computers every time a USB device is plugged in.
“Not enough USB controller resources. The controller does not have enough resources for this device.”
To fix this error, here are some guidelines you can check out. Make sure to follow them carefully.

Option 1 – Try to use a lower generation USB port

The first thing you can do is to try using a lower generation USB port as this issue mostly occurs when a device is connected to a USB 3,0 port. This means that you have to plug in your device to a USB 2.0 port and then see if it fixes the error or not. You can easily decipher a USB 3.0 port from a USB 2.0 port as the former is in blue.

Option 2 – Try to use a dock

You could also try to use a dock to resolve the error. Note that when too much power on laptops and notebooks are drawn from the USB ports and as a USB 3.0 port draws more power compared to a USB 2.0 port. Thus, if you plug in your USB storage device into a USB 2.0 port with the help of a dock, it should fix the problem.

Option 3 – Try disabling the xHCI Mode option in the BIOS

  • First, boot your computer into the BIOS.
  • Once your computer has booted, go to the Advanced tab.
  • Next, make sure that the entry for “xHCI Pre-boot mode” is set to Disabled under the USB Configuration section.
  • Now save the changes you’ve made and then restart your computer to Windows 10 and see if the error is now fixed.

Option 4 – Update or reinstall the Universal Serial Bus Controller driver

Since it could be a driver issue, you can try to update or reinstall the Universal Serial Bus Controller drivers using the Device Manager. Refer to the following steps:
  • First, click the Start button and type “device manager”.
  • Then click on the “Device Manager” from the search results to open it.
  • From there, look for the “Universal Serial Bus controllers” option and then right click on each one of the USB drivers, especially the Generic USB Hub driver, and then select the Update Driver from the menu.
  • Restart your PC and then click the “Search automatically for updated driver software” option.
Note: If updating the USB Controller drivers didn’t work, you can try to reinstall them instead.

Option 5 – Run the Hardware and Devices Troubleshooter

You could also run the Hardware and device Troubleshooter to try and fix the “Not enough USB controller resources” error.
  • The first thing you need to do is click on Start and then on the gear-like icon to pull up the window for Settings.
  • After opening Settings, look for the Update and Security option and select it.
  • From there, go to the Troubleshoot option located on the left-hand side of the list.
  • Next, select Hardware and Devices from the list and open the Troubleshooter and run it. Once it is doing its job, wait for it to complete the process and then restart the system.
  • After the system restarts, check if the problem’s now fixed. If not, refer to the next option given below.
Read More
Fix ATTEMPTED_WRITE_TO_READONLY_MEMORY
This post will help you fix the ATTEMPTED_WRITE_TO_READONLY_MEMORY Blue Screen issue with an error code 0x000000BE. If you encounter this kind of BSOD error when you try to boot into your Windows 10 computer, note that there are various possible causes for this error. It could be caused by an error with a device driver, hardware issues, or some error in the BIOS of your computer. The ATTEMPTED_WRITE_TO_READONLY_MEMORY Blue Screen error with a bug check of 0x000000BE appears when a driver tries to write a read-only memory segment. You’ll be able to see the name of the driver in the Blue Screen error if the driver that’s causing the error can be identified. You can also see it in memory at the location (PUNICODE_STRING) KiBugCheckDriver. In most cases, this kind of error is usually caused by various files such as iusb3hub.sys, ntkrnlpa exe or vhdmp.sys, ntoskrnl.exe, ntfs.sys, dxgkrnl.sys, tcpip.sys, atikmdag.sys, and win32k.sys. There are several possible fixes you can try to fix this issue but the main issue lies within booting into Windows since the error occurs as soon as you boot into your Windows 10 computer. Refer to each one of the options provided below to resolve the ATTEMPTED_WRITE_TO_READONLY_MEMORY Blue Screen error.

Option 1 – Try to rollback, update or disable drivers

The first thing you can do to fix the ATTEMPTED_WRITE_TO_READONLY_MEMORY Stop error is to roll back, or update, or disable device drivers. It is most likely that after you updated your Windows computer that your driver also needs a refresh. On the other hand, if you have just updated your device drivers then you need to roll back the drivers to their previous versions. Whichever applies to you, refer to the steps below.
  • Open the Devices Manager from the Win X Menu.
  • Then locate the device drivers and right-click on them to open the Properties.
  • After that, switch to the Driver tab and click on the Uninstall Device button.
  • Follow the screen option to completely uninstall it.
  • Finally, restart your computer. It will just reinstall the device drivers automatically.
Note: You can install a dedicated driver on your computer in case you have it or you could also look for it directly from the website of the manufacturer.

Option 2 – Try running the Memory Diagnostic Tool

The Memory Diagnostic tool in windows can help resolve the ATTEMPTED_WRITE_TO_READONLY_MEMORY Blue Screen error by checking and automatically fixing any memory-based issues. To run it, refer to these steps:
  • Tap the Win + R keys to open Run and type exe and hit Enter to open the Windows Memory Diagnostic Tool.
  • After that, it will give two options such as:
    • Restart now and check for problems (Recommended)
    • Check for problems the next time I start my computer
  • Once your computer has restarted, perform a basic scan or you could also go for the “Advanced” options such as “Test mix” or “Pass count”. Simply tap the F10 key to start the test.
Note: After you select your preferred option, your computer will restart and check for memory-based issues. If it finds any issues, it will automatically fix them and if there’s no issue found, then it’s most likely not a memory-based issue so you should try the other options given below.

Option 3 – Try to update the BIOS

Updating the BIOS can help you fix the ATTEMPTED_WRITE_TO_READONLY_MEMORY BSOD error but as you know, BIOS is a sensitive part of a computer. Even though it is a software component, the functioning of the hardware depends on it largely. Thus, you must be careful when modifying something in the BIOS. So if you don’t know much about it, it’s best if you skip on this option and try the other ones instead. However, if you are well-versed in navigating the BIOS, then follow the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “msinfo32” in the field and press Enter to open System Information.
  • From there, you should find a search field on the bottom where you have to search for the BIOS version and then press Enter.
  • After that, you should see the developer and version of the BIOS installed on your PC.
  • Go to your manufacturer’s website and then download the latest version of BIOS on your computer.
  • If you are using a laptop, make sure that you keep it plugged in until you have updated the BIOS.
  • Now double click on the downloaded file and install the new BIOS version on your computer.
  • Now restart your computer to apply the changes made.

Option 4 – Try disabling BIOS Memory Options

Disabling the BIOS Memory options such as Caching and Shadowing can help you in fixing the ATTEMPTED_WRITE_TO_READONLY_MEMORY Stop error. All you have to do is enter the BIOS first and then use the Arrow and Enter keys to select your choices. And if you can’t seem to find it, look for specific instructions from your OEM or you could also look out for instructions from the manufacturer of your motherboard.

Option 5 – Try running the Blue Screen Troubleshooter

The Blue Screen troubleshooter is a built-in tool in Windows 10 that helps users in fixing BSOD errors like ATTEMPTED_WRITE_TO_READONLY_MEMORY. It can be found on the Settings Troubleshooters page. To use it, refer to these steps:
  • Tap the Win + I keys to open the Settings panel.
  • Then go to Update & Security > Troubleshoot.
  • From there, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.
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