Logo

A command is not recognized Error in Windows

A command is not recognized Error, what it is? If you are constantly using programs like CMD or DISM directly from the Run prompt, you might have wondered how they launched instantly and how is it that the Windows operating system is able to find them right away. For instance, when you create a shortcut of a program, the shortcut knows where exactly the program is located and launches it quickly.

The Windows operating system keeps a list of paths where the most common system programs are located so when you use the Run prompt, it opens easily. The list kept by Windows is called the Windows Environment Variables. If something goes wrong with this list, the programs won’t work. So in this guide, you will be guided on how you can troubleshoot the problem where any command you use is not recognized as an internal or external command, operable program, or batch file.

Before you start troubleshooting the problem, you need to make sure that the program you are trying to run really exists. In fact, this can also happen to the Run program which is pulled up using the Win + R shortcut. To check, go to C:\Windows\System32 and there, check if the program exists or not or you can also try searching for the EXE in the System 32 folder. After making sure that the program exists, refer to the instructions given below.

Modify the Windows Environment Variables:

  • Step 1: Tap the Win + X keys and then select System. After that, it will open the section where you can see all the properties on your computer.
  • Step 2: Next, select the Advanced system setting located on the left pane and click on the Environment Variables.
  • Step 3: After that, locate Path under the System Variables and select EDIT.
  • Step 4: Before you edit, you need to copy the entire string and paste it into the Notepad app so that in case something went wrong, you can paste it back.
  • Step 5: Next, look for the directory path, “C:\Windows\System32”. If you can’t find it, try adding a semi-colon at the end.
  • Step 6: Afterwards, click OK to save the changes made and then exit.
  • Step 7: Now restart your computer as all the paths are picked up when your computer restarts.

Note: Now all you have to do is to try executing the programs once again – the ones where you got the error, “ is not recognized as an internal or external command, operable program or batch file” every time you open them and then see if you can now open these programs or not.

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 Obliterate PyLocky Ransomware

What is PyLocky ransomware? And how does it execute its attack?

PyLocky ransomware is a file-locking malware created in order to lock important files and demand ransom from victims in exchange for data recovery. This new ransomware uses the .lockymap extension in marking the files it encrypts. It starts to execute its attack by dropping the following malicious payload in the system:
Name: facture_4739149_08.26.2018.exe SHA256:8655f8599b0892d55efc13fea404b520858d01812251b1d25dcf0afb4684dce9 Size: 5.3 MB
After dropping its malicious payload, this crypto-malware connects the infected computer to a remote server where it downloads more malicious files and places them on system folders. It then applies a data gathering module used to gather data about the user and the computer. The malicious files that were downloaded earlier along with the data obtained are used for another module called stealth protection. This allows PyLocky ransomware to execute its attack without detection from any security or antivirus programs installed in the system. It also modifies some registry keys and entries in the Windows Registry such as:
  • HKEY_CURRENT_USERControl PanelDesktop
  • HKEY_USERS.DEFAULTControl PanelDesktop
  • HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun
  • HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun
  • HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce
  • HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce
Once all the modifications are carried out, PyLocky ransomware will begin encrypting its targeted files using a sophisticated encryption cipher. Following the encryption, it adds the .lockymap extension to each one of the encrypted files and releases a ransom note named “LOCKY-README.txt” which contains the following content:
“Please be advised: All your files, pictures document and data has been encrypted with Military Grade Encryption RSA ABS-256. Your information is not lost. But Encrypted. In order for you to restore your files, you have to purchase a Decrypter. Follow these steps to restore your files. 1* Download the Tor Browser. ( Just type in google “Download Tor“ 2‘ Browse to URL: http://4wcgqlckaazungm.onion/index.php 3* Purchase the Decryptor to restore your files. It is very simple. If you don’t believe that we can restore your files, then you can restore 1 file of image format for free. Be aware the time is ticking. Price will be doubled every 96 hours so use it wisely. Your unique ID : CAUTION: Please do not try to modify or delete any encrypted file as it will be hard to restore it. SUPPORT: You can contact support to help decrypt your files for you. Click on support at http://4wcgqlckaazungm.onion/index.php”

How does PyLocky ransomware spread over the web?

PyLocky ransomware spreads using malicious spam email campaigns. Creators of this threat embed an infected attachment to spam emails and send them using a spambot. Crooks may even use deceptive tactics to trick you into opening the malware-laden immediately which is something you must not do. Thus, before opening any emails, make sure that you’ve thoroughly checked them. To successfully obliterate PyLocky ransomware from your computer, refer to the removal guide laid out below.
  • Step 1: Launch the Task Manager by simply tapping Ctrl + Shift + Esc keys on your keyboard.
  • Step 2: Under the Task Manager, go to the Processes tab and look for the process named facture_4739149_08.26.2018.exe and any suspicious-looking process which takes up most of your CPU’s resources and is most likely related to PyLocky ransomware.
  • Step 3: After that, close the Task Manager.
  • Step 4: Tap Win + R, type in appwiz.cpl and click OK or tap Enter to open Control Panel’s list of installed programs.
  • Step 5: Under the list of installed programs, look for PyLocky ransomware or anything similar, and then uninstall it.
  • Step 6: Next, close the Control Panel and tap Win + E keys to launch File Explorer.
  • Step 7: Navigate to the following locations below and look for PyLocky ransomware’s malicious components such as facture_4739149_08.26.2018.exe and LOCKY-README.txt as well as other suspicious files, then delete all of them.
%TEMP% %WINDIR%System32Tasks %APPDATA%MicrosoftWindowsTemplates %USERPROFILE%Downloads %USERPROFILE%Desktop
  • Step 8: Close the File Explorer.
  • Step 9: Tap Win + R to open Run and then type in Regedit in the field and tap enter to pull up Windows Registry.
  • Step 10: Navigate to the following path:
HKEY_CURRENT_USERControl PanelDesktop HKEY_USERS.DEFAULTControl PanelDesktop HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce
  • Step 11: Delete the registry keys and sub-keys created by PyLocky ransomware.
  • Step 12: Close the Registry Editor and empty the Recycle Bin.
Try to recover your encrypted files using the Shadow Volume copies Restoring your encrypted files using Windows Previous Versions feature will only be effective if PyLocky ransomware hasn’t deleted the shadow copies of your files. But still, this is one of the best and free methods there is, so it’s definitely worth a shot. To restore the encrypted file, right-click on it and select Properties, a new window will pop up, then proceed to Previous Versions. It will load the file’s previous version before it was modified. After it loads, select any of the previous versions displayed on the list like the one in the illustration below. And then click the Restore button.
Read More
New Windows 11 keyboard shortcuts
New Windows brings new keyboard shortcuts, most of them are tied to new features and we are presenting you some new ones that are worth remembering. keyboad shortcuts⊞ WINDOWS + N - notification panel ⊞ WINDOWS + W - News and Interests feed With the News and Interests feed, Windows 11 offers users the ability to check the latest news, the weather, and more without opening a browser window. ⊞ WINDOWS + Z - Snap Layout Instead of the usual two windows snapping capability, Windows 11 allow users to snap their windows in a three-column layout. Users can access this by pressing Windows Key and Z to access the Snap layout. ⊞ WINDOWS + PRT SCN - taking screenshots This one isn’t exactly new, but pressing the Windows Key and Print Screen will automatically capture the entire screen and save a copy of the image on your PC. Once the screen flashes, you will know that the screenshot has been taken, after which you can find the file saved under your Pictures folder in a subfolder called Screenshot. ⊞ WINDOWS + C - Microsoft Teams chat Microsoft Teams app, the service allows anyone with a Microsoft account to quickly start a chat using the Windows + C shortcut.
Read More
Happy New Year from ErrorTools.com!!!
As we are on the last day of 2021, our team here at errortools.com would like to express their great gratitude to you all for being with us all this time and would also want to wish you error-free 2022!!! Thank you for being part of this community, we wish you all the best in the upcoming 2022 and hope that we will see you again From all members of errotools, HAPPY NEW YEAR!!! new year christmass tree
Read More
Intel to reveal roadmap during July 26 webcast
intel graphicsIntel announced that Pat Gelsinger (CEO) and Dr. Ann Kelleher  (technology Department head) will discuss Intel’s process and packaging innovations on an upcoming webcast that will happen on July 26th. The spokesman will talk and provide a deeper look at the process and packaging roadmaps for Intel. As we know Intel is planning to expand its production capabilities, outsource some of its technologies and offer foundry services to other chip design companies. The strategy will also include a shift to a 7nm process and Intel’s effort to set itself again as leader of CPU performance by 2024. There is also a chance that we will hear exact plans for Intel in the next three or four years. Intel didn't reveal much else about what Gelsinger and Kelleher plan to discuss during the webcast. The event will be streamed on July 26 at 2 pm PT via the Intel Newsroom; it will also be available to watch on-demand after the stream ends.
Read More
Fix Microsoft Word Stopped Working in Windows
Microsoft office has set itself as one of the most used and best suites for business use and MS Word as the most widely used word processor. But how even best are not immune to some small bugs and unexpected behaviors so is not Word. Word has stopped working is probably know to a wide audience of its users, I think I could safely say that each Word user has experienced this error at least once, luckily the error is not anything to worry about since it is an easily fixable issue.

Try automated solutions

There are some fully automated solutions that could fix any PC issues, some are available in free versions. If you prefer to do things manually however keep on reading and follow the instructions below.

Manual FIXES:

  1. Update MS Word

    Make sure that you are running the latest build of Word in order to eliminate all bugs and to have a smooth running experience. Go to File > Account > Product Information > Update Options and click Enable Update and then select Update Now.
  2. Check the file

    Corrupted files can cause this crash and this error, try opening another text file inside the Word to eliminate file corruption.
  3. Run Word in safe mode and disable add-ins

    Did you know that MS Word has a safe mode like Windows? In this safe mode, Word will boot up just the application without any add-ins installed and in this environment, you can start one add-in by one to see which one is causing the issue. Press ⊞ WINDOWS + R to open the run dialog Inside run dialog type in winword /safe followed by ENTER to run Word in safe mode If MS Word works fine in Safe mode, disable all COM Add-ins (while being in safe mode) and restart Word. Re-enable the add-ins one at a time to identify the problematic one. Click on File and then on Options Click on Add-Ins from the options list Select COM Add-ins from the drop-down menu and click on Go Uncheck all the add-ins and click OK to confirm Close the Dialog Box and MS Word. Now try running MS Word normally and see if it works Repeat steps to enable the add-ins, one at a time, and check which add-in is causing this error
  4. Repair Word installation

    Press ⊞ WINDOWS + R to open the run dialog In run dialog type in control panel and press ENTER Inside Control Panel click on Programs and Features Locate and click on Microsoft Office to select it Once selected click on change located on top of the application list Once Office Windows loads click on Repair Wait for the process to finish
  5. Reinstall MS office

    If all the previous solutions failed next step would be to completely uninstall MS Office and install it again once the old one has been completely removed from the system. Go to the control panel as explained in the previous step and select Office Instead of Change this time click on uninstall and follow on-screen instructions Once uninstall is finished, install a new copy of MS Office.
Read More
Great gadgets for emergency blackout

Blackouts are one of the most annoying things that can happen in the modern age. We have all learned to depend on electricity, maybe too much, so having a backup plan in these unpleasant situations is necessary. Here are some good gadgets for these kinds of situations.

Power Bank

power bank

The fully charged power bank is a great item that could fill up your phone or tablet. If it is a larger power bank it could fill them up all the way to the top several times and having charged phone or tablet can help greatly with some fun during dark times. The power bank can also be used to fill up other gadgets on this list so if the power outage is expected to last longer perhaps it would be wiser not to waste it on phone/tablet games.

Portable Generator

portable generator

If the power bank is too short-lived for your needs, a portable generator is always a good option since it can provide power for longer time periods. The solar generator is what we recommend because it is much cheaper to produce electricity but it is limited if a power surge comes at night, one on gasoline is more stable and practical but it costs more to produce electricity.

Portable Solar Charger

solar charger

One more electric-producing device on the list, this one however is aimed at charging your phone, tablet, or laptop by harvesting Sun's energy and turning it into valuable electricity for your devices. Fully silent and easy to operate this is a great tool for power outrage. It will not be able to produce electricity for smaller house appliances but for basic phone/tablet/laptop needs it will suffice.

Panic light

panic light

Self-sustained with its own battery, panic lights are great assets for lightning when power is not present. They can turn automatically when the circuit detects that power is missing but can be also manually switched on or off. There are many versions of panic lights ranging from the light they produce to how long can they work so picking the right one will depend entirely on your home size and needs.

USB Headlamp

usb headlight

If you lack panic lights USB headlamp is a great choice to light your way and it works even better than a flashlight, although a flashlight is also a great tool, a headlight will provide you with free arms to do various things that you would not be able to by holding a flashlight. Modern headlights come with LED lights so they provide a good amount of light with small power consumption and they can be recharged in a power bank, solar charger, or generator.

LED lantern

led light

LED Lantern is a gadget sitting somewhere between a headlight and a panic light, it offers around the same light amount as a panic light but you can carry it around with you. Of course, it will drain its battery faster than a panic light and it will still need to carry around but it can offer some good options when you need it, like taking it with you to the toilet.

Electric Lighter

electric lighter

An electric lighter is also one of the things that you will need, it can ignite candles, paper, stoves, etc. Its battery is usually enough for extensive use and there are small chances that it will need to be recharged. Having matches is also smart, just in case.

Solar Oven

solar oven

Great gadget when outbreaks last long or when you get hungry. Not all households have gas ovens so a Solar oven is a great tool to keep you full of food. Granted it will not be on par in speed and quality with a regular oven but when it is the only option it will suffice.

Read More
Permission to view object security properties
In an operating system, it is ideal for an administrator to have permission to access all the folders and files. However, there are times when you try to access the security settings or attempt to view the properties of a file, you could encounter an error saying, “You do not have permission to view this object’s security properties, even as an administrative user”. This kind of error may be caused by several reasons. For one, if your computer is infected with a virus or malware which might have caused some changes to the concerned folder or file. It could also occur if a program or service is using the folder or file simultaneously which explains why you’re not able to access the system. It could also be that the folder or file might have been owned by a user account that no longer exists or you might not have the permissions to view the targeted folder or file even though you’re logged in as administrator. To fix the “You do not have permission to view this object’s security properties, even as an administrative user” error, here are some options that might help.

Option 1 – Put your computer in a Clean Boot State

You can also troubleshoot the problem in a Clean Boot state. It could be that there are some third-party applications in your computer that’re preventing you from accessing security settings or properties of a file and to isolate this possibility, you need to boot your computer in a Clean Boot State and then try installing the program again. Putting your computer in this state can help you identify which program is the culprit and thus isolates the problem. In a Clean Boot state, your computer will start using only the pre-selected minimal set of drivers and startup programs. Note that you have to disable and enable one process at a time.
  • 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.)
  • After you’ve set your computer into a Clean Boot State, try to check if the error is now fixed and that you can now view the Properties.

Option 2 – Try booting your computer into Safe Mode and delete inactive users

Aside from the Clean Boot State, you can also reboot your computer in Safe Mode and then delete all the inactive users. There are instances when the folder was created or owned by a user account that’s either deleted or inactive now and so you need to get rid of these inactive user accounts to resolve the error.
  • First, boot your computer in Safe Mode.
  • Then right-click on the concerned folder or file and select Properties.
  • Next, select Advanced in the Security tab and click on Add.
  • A new window will appear and from there, click on “Select a principal”.
  • And then type the name of the user to who you wish to give permissions in the “Enter the object name to select” box.
  • Now select Check Names and this would resolve the user name.
  • After that, click OK to save the settings. This will close the window and take you back to the previous one.
  • Next, from the drop-down menu, change the Type to Allow and select the Full Control checkbox.
  • Click OK to save the changes made and then restart your computer in a normal mode.

Option 3 – Try to take ownership of the folder or file

Another thing you can do to fix the problem is to take ownership and force the system into giving permissions to the Administrator. How? Refer to these steps:
  • Type “command prompt” in the Windows Search bar and then right-click on the relevant search result and select “Run as administrator”.
  • After that, if a User Account Control or UAC prompt appears, just click on Yes to proceed.
  • Next, type and enter this command: TAKEOWN /F <path>
  • Note that the <path> is the location of the folder or file in File Explorer.
  • Now type and enter this second command: ICACLS <path> /grant administrators:F
  • Finally, once the command has been executed, restart your computer and then see if you can now access the folder or file.

Option 4 – Try scanning your computer using Windows Defender

As mentioned, the error when accessing the security settings or properties of a folder or file might be due to a virus or malware. It could be that it had made some modifications that prevents you from accessing security settings or properties. To eliminate it, you have to scan your computer using security programs like Windows Defender.
  • Tap the Win + I keys to open Update & Security.
  • Then click on the Windows Security option and open Windows Defender Security Center.
  • Next, click on Virus & threat protection > Run a new advanced scan.
  • Now make sure that Full Scan is selected from the menu and then click the Scan Now button to get started.
Read More
How to Fix Error Code 0x8007007B on Your PC

Error Code 0x8007007B (Code 0x8007007B) – What is it?

Error code 0x8007007B (Code 0x8007007B) is an error that occurs when you attempt to activate Windows 10, as well as Windows Server 2008, Windows Vista, Windows 7, Windows 8, or Windows Server 2012.

Common symptoms include:

  • You will see an error message like this: “Error 0x8007007B 'The filename, directory name, or volume label syntax is incorrect”.
  • If you are using volume-licensed media to install: Windows 7, Windows 8, Windows Vista Business, Windows Vista Enterprise, Windows Server 2008 R2, Windows Server 2008, Windows Server 2012, Windows 10.
  • Your computer is not connecting the activation wizard to a Key Management Service (KMS) host computer.

Solution

Restoro box imageFurther Information and Manual Repair

Error Code 0x8007007B usually occurs when a product key has been activated too many times. Blocking activation aids in avoiding abuse of the key. If abuse of the key is not the case, it is possible to get the key reset, or you may receive a new key altogether. When you are not sure that you can complete these methods yourself, as they do contain advanced steps, it would be wise to consult a computer repair technician to avoid making the problem any worse.

Generally, the solution can be simple; it is just dependent on how comfortable you are with getting technical in your computer. Volume licensed media means that the media has a preset number of times that it is allowed to be activated. This helps to avoid misuse of the product. Some people install the Windows 10 program multiple times on their computer if they are software developers or do certain types of software testing. It is important to know the cause in order to effectively find the solution.

Method One:

  1. From the desktop screen, press the Windows key and S, type “Command Prompt”. Then, right-click on Command Prompt in the results. Select Run as Administrator.  Click Yes when asked about requesting permission.
  2. In the Command Prompt box, enter the command: slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
  3. The x's represent the product key. Replace these with your unique product key.
  4. Type in the following command into the “Command Prompt” window: slmgr.vbs -ato
  5. Click Enter
  6. Restart your computer and try to activate windows again. It should not show the error code anymore.

Method Two:

  1. While on the desktop, press the Windows key and R.
  2. A window saying Run should open.
  3. Type in the following command: Slui 3
  4. Press ENTER and a window should appear.
  5. This window asks for you to enter the operating system activation product key.
  6. Enter this key in the space provided.
  7. After entering this, click Activate.
  8. Restart your computer now.
  9. Check for activation. The Error code should be gone now.

Method Three:

  1. Open the Command Prompt with access as administrator just as in Method One, and enter the following command: sfc /scannow
  2. The command will complete the tasks. This will take some time so just let the computer do its thing and work. Let the sfc finish the scan.
  3. When the scan is complete, restart the computer.
  4. Check for the activation. The error code should be gone at this point.
  5. If it is gone, revisit Method One or move on the Method Four.

Method Four:

Call the Microsoft Support Team and explain the problem in as much detail as you can give. Give the team the error code 0x8007007B and ask to have a different product key. When they give you the new product key, repeat Method 2. The Microsoft Support Team will either change your product key, or they will reset your current product key so that it can be used for activation again.

Read More
How to Fix Socket Error 10013

Socket Error 10013 - What is it?

Socket error 10013 is an error code that often pops on the screen when you try to access the server. This error code restricts your permission to access. It shows that your permission request was denied. The error message is displayed in the following format:
“Socket.error: [Errno 10013] an attempt was made to access a socket in a way forbidden by its access permissions”

Solution

Restoro box imageError Causes

Narrowing down a particular reason for the cause of socket error 10013 is difficult, typically because this error code can be generated due to several reasons. Here are some of the common reasons for its occurrence on your PC:
  • High-security set up- Firewall or an antivirus program
  • Too many functions tied to the same driver confuses the socket
  • Outdated drivers
  • Malware
The good news is that the socket error 10013 is not fatal. However, it is advisable to fix and resolve the issue to avoid inconvenience.

Further Information and Manual Repair

Here are some of the best, quickest and easiest methods to work around the problem and resolve socket error 10013 without any hassle or delay.

Method 1 - Turn off Firewall

Believe it or not, a high level of internet security measures like Firewalls and anti-virus programs are a common cause of socket error 10013. Firewalls are made to protect a computer from harmful connections but sometimes it may also restrict server connections, considering them as a threat to your system security. Due to this, permission access is adamantly denied. To resolve this issue on your PC, the best way to go about is to turn off your Firewall or any other anti-virus programs installed on your system. Once you turn off these programs, try accessing the server again. The majority of the time the issue is resolved by carrying this step. Nonetheless, if the error still persists, try the methods given below.

Method 2 - Check the Permissions section of the Firewall Program

Another way to resolve this is to check the permission section of the Firewall program and check for the server. If the server is not listed, contact the Internet Service Provider (ISP) and ask for help in adding the server to the list.

Method 3 - Update Drivers

The outdated driver may sometimes be the reason for the socket error 10013.  The socket may no longer use the drivers installed on your PC which is why permission to access the server is not granted. When this is the reason, try updating the drivers to resolve. For new drivers, visit the software manufacturers’ website, download, and install.

Method 4 - Scan for Viruses and Malware

Another alternative is to scan for viruses and malware. Sometimes the cause for the error is a viral infection. Therefore, remove them to resolve. The best way is to download Restoro. This is a user-friendly and next-generation PC Fixer embedded with 6 scanners including a powerful anti-virus. It scans your entire PC and removes all types of viruses including malware, adware, spyware, and Trojans in seconds. Click here to download Restoro.
Read More
Error 0x8007002C - 0x4001E, installation failed in the SECOND_BOOT phase
Recently, a lot of users reported getting several error messages when they upgraded their Windows 10 computers. One of these error messages users encountered during a Windows 10 upgrade is the Error 0x8007002C-0x4001E. if you are one of the users who is facing this error, read on as this post will help you fix it. When you encounter this error, you will see the following error message on your screen:
“We couldn’t install Windows 10 We’ve set your PC back to the way it was before you started installing Windows 10 0x8007002C-0x4001E, The installation failed in the SECOND_BOOT phase with an error during PRE_OOBE operation.”
To resolve the 0x8007002C-0x4001E, The installation failed in the SECOND_BOOT phase error, here are some suggestions that might help.

Option 1 – Try flushing the SoftwareDistribution and Catroot2 folders

You have to stop a couple of services such as BITS, Cryptographic, MSI Installer, and Windows Update Services. And to do that, you need to flush the contents in the SoftwareDistribution folder. The Software Distribution folder in the Windows operating system is a folder that can be found in the Windows directory and is used to store files temporarily which might be required to install the Windows Update on your PC. Thus, it is required by the Windows Update and maintained by WUAgent. Aside from that, it also contains all the Windows Update History files and once you delete them, you will most likely lose the Update history. As a result, the next time you run the Windows Update, it may result in a longer detection time.
  • 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 flushing 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 2 – Select the Keep your files option

You can also select the option to perform an in-place upgrade and opt for the “Keep my files” option during an installation as it might make the process a lot smoother and if you need to perform a clean install, you can do so once the setup is completed.

Option 3 – Try to run the Windows Update Troubleshooter

Running the built-in Windows Update troubleshooter could also help you resolve the 0x8007002C-0x4001E, The installation failed in the SECOND_BOOT phase error. 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.

Option 4 – Try to run Microsoft’s online troubleshooter

Aside from the Windows Update Troubleshooter, you can also run the online troubleshooter of Microsoft as it can help you with Windows 10 upgrade errors.

Option 5 – Perform a clean install

If none of the options worked, you can try to clean install Windows 10. Just make sure that you have the ISO from the official Microsoft Website and then a bootable USB drive to install Windows 10 again. Take note that this will delete all the data from your drive where Windows 10 was installed previously.
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