Logo

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.

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

Fix Windows Script Host in Windows startup
In case you don’t know, the Windows Script Host provides capabilities such as batch files but it also includes many other features like it can be used by a user manual as well as created by the operating system to automate the flow of operations in the system. However, there are a lot of errors that could take place in such a process. One of them is the following error:
“Script: <PATH of the VBS Script> Line: x Char: x Error: The description of the error. Code: xxxxxxxx Source: (Source of the error)”
At the time of writing, it isn’t clear yet what the root cause of the error really is but there are several potential fixes you can check out to fix it. You can try to run the System File Checker or set the default value for the .vbs key, or troubleshoot the problem in a Clean Boot State. You could also try to repair Install Windows 10 or scan your computer for malware. For more detailed instructions refer to the following options.

Option 1 – Try to run a System File Checker scan

  • In the Windows Start Search, type “command prompt” and right-click on Command Prompt from the search results, and then select the “Run as administrator” option.
  • After opening Command Prompt with admin privileges, type the “sfc /scannow” and tap Enter to execute it.
  • Once the scan is finished, restart your computer and see if the Windows Script Host error.

Option 2 – Try setting the default value for the .vbs key

  • 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: ComputerHKEY_CLASSES_ROOT.vbs
  • From there, double click on the default string and change its Value data to “VBSFile”.
  • Exit the Registry Editor and restart your computer for the changes to take effect.

Option 3 – Try troubleshooting the problem in a Clean Boot State

Setting your computer in a Clean Boot State can help you diagnose and later troubleshoot the problems in your computer. During this state, the system will start with a minimal number of drivers and startup programs that help in isolating the problem with the interfering software. To put your computer in a Clean Boot State, follow the given steps below.
  • Log onto your computer 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.

Option 4 – Try to repair install Windows 10

  • First, you have to click this link and then click the Download Tool Now button.
  • Next, click the “Use the tool to create installation media (USB flash drive, DVD, or ISO file)…” option and follow the next given instructions on the screen.
  • Now select the ISO file option in step 5.
  • After that, you should now have an ISO file.
  • Next, go to the location where you’ve downloaded the ISO file.
  • Then right-click on the Windows 10 ISO file and select the Open with option and then select File Explorer.
  • Now click on “setup.exe” and follow the next instructions that appear on the screen. When asked, you have to select either Nothing (clean install) or Keep personal files only option. Take note that you must not select the “Keep personal files, apps, and Windows settings”.

Option 5 – Try scanning your computer using Windows Defender

It is possible that your computer is infected with malware which could be why you’re getting the Windows Host Script error. Thus, you need to scan your computer using 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 place control panel in File explorer
Recent Windows updates have been slowly but surely moved a lot of control panel features into settings. This indicates that in the long term goal is probably to get rid of the control panel altogether. No matter how the setting app is easy to use and good there are still things in the control panel that we need and we will still need until they are all moved in the setting application. There are several ways to open and get to the control panel from run dialog to shortcut keys but one perhaps more convenient and easiest way is to just simply have in file explorer right beside hard drives double click away. In order to place the control panel icon inside file explorer, we will need the help of our old friend: the registry editor. As always playing with the registry editor can cause some instability and it is always a smart thing to back up it first before attempting any kind of edits.

Registry editor adding a key

To open registry editor press ⊞ WINDOWS + R to open the run dialog and inside type in REGEDIT followed by ENTER Once the registry editor is opened locate the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer Right-click on the NameSpace folder on the left navigation pane and then select New > Key Rename the key with {21EC2020-3AEA-1069-A2DD-08002B30309D} (This CLSID code will add access to the Category view of the Windows 10 Control Panel) or with {26EE0668-A00A-44D7-9371-BEB064C98683} (This CLSID code will add access to the large icons view of the Windows 10 Control Panel) Save and exit the registry editor Now when opened, file explorer will show a control panel icon for easy access.
Read More
Windows 11 Home edition account requirements
Windows 11 has been officially presented during Microsoft’s virtual event on June 24th. Since presentation internet has been pretty live and busy with a discussion about it, some discussions are positive, some not so much but that is expected and it happens always when a new product is presented. One of information that we have about Windows 11 is tied to the home edition of this OS, Windows 11 home edition will require an internet connection at setup, and a Microsoft account in order to be installed and used. Previous versions of Windows could be installed and used with local accounts but it seems Microsoft has abandoned that idea for its new OS. OS will be delivered mostly as updates or via internet download so internet and online requirement make sense but why it cannot use the local account and must have a Microsoft one is beyond me.
Read More
The request failed due to a fatal device hardware error
When you are copying some files from your computer to your hard disk and vice versa or when you have several disks connected to your Windows 10 computer and you suddenly receive an error message saying, “The request failed due to fatal device hardware error”, then this means that there is some issue with the hardware of your computer. This issue might be caused by various reasons but whatever they may be, this post will guide you on how you can fix the “The request failed due to fatal device hardware error”. To fix the error, here are some suggestions that could help.

Option 1 – Check for any hard disk errors

  • On your desktop, right-click on the “This PC” or computer icon and then select Manage to open the Disk Management. Here you get to check your drive’s health.
  • Next, click on Disk Management on the left side panel.
  • From there, check the state of your drives. If it shows that all your partitions are healthy then it means all is good and that the problem may have something to do with some physical issues with your hard drive.

Option 2 – Run the CHKDSK utility

When it comes to some issues concerning the hard drive or removable devices, there is a utility in Windows that might help which is called “chkdsk”. This error check utility can help with several issues in the system including “The request failed due to fatal device hardware error”.
  • Tap the Win + S keys to open the Search box.
  • Then type “command prompt” in the field and from the search results that appear, right-click on Command Prompt and select “Run as administrator”.
  • After opening an elevated command prompt, copy and paste the following command and hit Enter:
CHKDSK [volume [[path] filename]] [/F] [/V] [/R] [/X] [/C] [: size]]
Note: In the command given above, “[/F]” will try to fix the system errors while “[/R]” will be the one to fix the bad sectors.
  • Now if you are prompted to run CHKDSK after your reboot your PC, just tap Y and reboot your PC.
  • If CHKDSK is not able to find any errors, tap the Win + E keys and navigate the access window. From there, right-click on the concerned drive and click on Properties.
  • After opening Properties, click on the tab Tools and then click on the “Check” button under the Error-checking section.
  • Wait until the process is completed and then restart your computer

Option 3 – Verify the hard drive using SMART attributes

In case you don’t know, Windows has a built-in feature of SMART analysis which analyzes the hard drive/SSD and checks all the parameters by performing some minor operations. To use it, follow these steps:
  • Tap the Win + S keys and type “command prompt” in the field then right-click on the related search result and select the “Run as administrator” option.
  • After opening Command Prompt as admin, type the “wmic disk drive get status” command and hit Enter.
  • You should get a result after that, and if you see that it’s “normal”, proceed to the next option below.

Option 4 – Format your hard disk

You can try formatting your drive since this problem also occurs on removable hard drives. In addition, if your drive is not properly initialized, this error will really pop up. Thus, you need to make sure that the hard drive is initialized and that the correct partition style is selected.
  • To get started formatting your drive, tap the Win + E keys and then go to the access page of the drive.
  • Next, right-click on the drive and select Format.
  • After that, uncheck the “Quick Format” option and then format your drive properly.
  • Now once the formatting process is finished, unplug the drive and plug it back in afterward.
  • Check if the error is already fixed. If the drive is not initialized, tap the Win + R keys and hit Enter.
  • After opening the Run dialog box, type “diskmgmt.msc” and hit Enter to open Disk Management.
  • From there, right-click on the drive volume and select Initialize Disk.
  • Next, select the correct partition type and proceed.
Read More
Fix Shell Infrastructure Host stopped working
The Windows 10 operating system supports the logging in of multiple users at the same time. Aside from that, it also allows administrators to create a Guest Account that has limited rights. However, there are some instances when you could encounter an error when you use the Guest Account. The error may state:
“Shell Infrastructure Host has stopped working. A problem caused the program to stop working correctly. Please close the program”.
This error indicates that the Shell Infrastructure Host or SiHost.exe process that is used for handling graphical elements, has crashed. And to fix this error, there are several options you can check out. You can try to reinstall the Microsoft Redistributable Packages or run a System File Checker scan. In addition, you can also use a new Guest Account or troubleshoot the problem in a Clean Boot State.

Option 1 – Try to install or repair Microsoft Visual C++ Redistributable 2013

A corrupted Microsoft Visual C++ Redistributable package or the absence of it can trigger the “Shell Infrastructure Host has stopped working” error – so if you do not have this package yet, you have to install it but if you already have it, follow the steps below to repair it.
  • Open Control Panel and proceed to Program and Features.
  • Under Programs and Features, look for Microsoft Visual C++ Redistributable package among the list.
  • Then right-click on it and click the Change button.
  • Next, you should see the Repair option – click on it to repair the installation of the Microsoft Visual C++ Redistributable package.
  • The process may take a couple of minutes before it finishes so once it does, you have to restart your PC.
After doing all these steps and you still encounter the problem, you might have to uninstall this package and download it directly from Microsoft’s website. However, if you are using Windows 10, you might not be able to do so since it only supports Windows versions up to Windows 8.1 so just proceed to the next option below.

Option 2 – Try to run a System File Checker scan

  • In the Windows Start Search, type “command prompt” and right-click on Command Prompt from the search results, and then select the “Run as administrator” option.
  • After opening Command Prompt with admin privileges, type the “sfc /scannow” and tap Enter to execute it.
  • Once the scan is finished, restart your computer and see if the Windows Script Host error.

Option 3 – Try using a new Guest Account

You might want to use a new Guest Account as it could help get rid of the error. All you have to do is have your admin delete the old Guest Account and create a new one and see if it helps in fixing the error.

Option 4 – Try troubleshooting the problem in a Clean Boot State

Setting your computer in a Clean Boot State can help you diagnose and later troubleshoot the problems in your computer. During this state, the system will start with a minimal number of drivers and startup programs that help in isolating the problem with the interfering software. To put your computer in a Clean Boot State, follow the given steps below.
  • Log onto your computer 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
Fix user account is not authorized
If you encounter an error message saying, “The connection was denied because the user account is not authorized for remote login” when you try to establish a remote connection, read on as this post will help you resolve the problem. This kind of error occurs when the targeted host does not allow you to access that system remotely. Based on the error, you are not authorized to log in remotely which means that you need to obtain the correct permission. There are several potential fixes you can try for this error. You can try to check the Remote Desktop Users group or add users to the Security group or check the Remote Desktop Service itself. Refer to the options provided below for more detailed instructions to fix the “The connection was denied because the user account is not authorized for remote login” error.

Option 1 – Try checking the Remote Desktop Users group

You can encounter this error when the Remote Desktop Users group does not have any permission for your user account that you are using to establish a remote connection. Thus, you need to make sure that your user account is a member of the Remote Desktop Users group. How? Refer to these steps:
  • Tap the Win + R keys on your keyboard and then type “cmd” in the field and tap Enter or click OK to open Command Prompt.
  • After opening Command Prompt, type the “lusrmgr.msc” command and tap Enter to execute it.
  • Alternatively, you can also search for “lusrmgr.msc” in the Start Search and once you’ve opened it, select Users and then double click on your user name to open its Properties.
  • From there, switch from the “General” tab to the “Member Of” tab.
  • Next, if you can’t see any Remote Desktop Users group under the Administrator, you have to add it. To do that, just click on the Add button.
  • After that, on the newly opened window, click on the Advanced and Find Now buttons, respectively.
  • And in the Search results box, double click on Remote Desktop Users.
  • Now click on the OK button to save the changes made and check if you can now connect to a remote host or not.

Option 2 – Try to add a user to the Security group

You can actually block or allow a user from logging on through the Remote Desktop Services. However, if you do not have the right setting, you won’t be able to use this functionality. Thus, you need to confirm this setting. To do that, follow the steps below.
  • In the Start Search, type “secpol.msc” in the field and tap Enter to open the Local Security Policy panel.
  • From there, go to User Rights Assignment.
  • Next, look for a policy named “Allow log on through Remote Desktop Services” located on your right-hand side and then double click on it to open its Properties.
  • If you were not able to find the Remote Desktop Users under Administrator, then you have to add it by simply clicking on the Add User or Group button.
  • After that, enter “Remote Desktop Users” in the blank field and click the OK button to save the changes made.
  • Now restart your computer and try connecting again to the remote host.

Option 3 – Try checking the Remote Desktop Users group

There is a service that’s supposed to be running and needs to be set up correctly for you to connect to the remote host. And so you need to ensure that this service is up and running. To do so, follow these steps:
  • Tap the Win + R keys to launch the Run utility.
  • Then type “services.msc” in the field and hit Enter or click OK to open the Services Manager.
  • Next, look for the Remote Desktop Services and double click on it to open its Properties.
  • After that, go to the “Log On” tab and select the “This account” option and then click on the Browse button.
  • On the next screen that appears, look for the Advanced button and click on it and use the Find Now button to search.
  • You will see “NETWORK SERVICE”. Double click on it and then save the changes you’ve made to the settings.
  • Finally, restart your PC and see if the problem is now fixed.
Read More
How to Fix Error Code 0xC004F00F on Your PC

Error Code 0xC004F00F – What is It?

Error Code 0xC004F00F can appear during the Windows 10 installation and activation process. It is a fairly straightforward error code that occurs when a product key is entered in that is unable to be used to complete the final activation of the new operating system. This error code is most commonly related to the installation of new pieces of hardware on a machine that was already running Windows 10 at a previous time.

Error Code 0xC004F00F can also appear on other versions of the Windows software, so if you are not specifically trying to install and activate Windows 10 when this message appears, you may want to contact a qualified Windows technician to help resolve your system error, as the error code has different causes and resolution methods on other versions of the Windows operating system.

Solution

Restoro box imageError Causes

In some cases, Error Code 0xC004F00F will show up if you are attempting to install Windows 10 on a computer in which the hard drive has been replaced or significantly altered. It can also appear when other major pieces of hardware, like the motherboard, have been changed out.  These pieces may be changed as part of an upgrade to new or better hardware or be changed due to the malfunction of the original pieces of equipment. Because it may appear to the Windows activation servers that you are attempting to use the same product code that you have used before to activate what appears to be a new machine (even if the machine is the same one, just with some new parts), you may see Error Code 0xC004F00F arise.

Error Code 0xC004F00F can also come up if you have installed Windows 10 on your machine in the past and have already used the product key that you are attempting to use again.

Further Information and Manual Repair

Error Code 0xC004F00F most commonly appears for users who have made major hardware or software changes done on their machine. Because this error specifically arises from the Windows activation servers believing that your computer is a new one, you’ll need to get in touch with the Windows support team in order to resolve the error. From their database, they will be able to confirm that you are not using a new computer and will be able to bypass the error, allowing you to complete the Windows 10 Activation process.

If you haven’t installed or replaced any of the hardware on the computer, but are still seeing Error Code 0xC004F00F arise during your Windows 10 installation, you will still need to get in touch with the Windows support team to bypass the error code.

Calling the Windows' Support Team

When you call into the Windows support team, you’ll want to specifically have a list of the following information readily available: Which pieces of hardware have been changed out on your computer prior to the installation and activation, what method you were using to install Windows 10, which version of Windows 10 that you were attempting to install, whether it was a single-use or multiple-use license, and basic details about your PC like its make, model, and age.  You may also want to have the product key that you were attempting to use when Error Code 0xC004F00F first appeared.

By having all of this information ready and on hand ahead of time, you’ll have a greater likelihood that your error will be able to be resolved quickly and efficiently, avoiding long periods spent on the phone with customer service. Make sure that you specifically mention that you are experiencing Error Code 0xC004F00F during the Windows 10 activation process when you call into the Windows support team so that you can be connected to a representative who is equipped to help you resolve this specific problem.

Getting a Qualified Technician

If you are not comfortable in working with the Windows support team or have not been able to successfully resolve Error Code 0xC004F00F even after getting in touch with customer support, contact a qualified technician who is familiar with the Windows 10 activation process and can walk you through the things that you will need to communicate to the Windows support team in order to have them bypass or resolve the error code.

If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.

Read More
Fix Gah, Your tab just crashed in Firefox
If you notice that your tabs in your Firefox browser keep on crashing recently, then there might be something wrong with your browser. Every time any of your tabs crashes, you might encounter an error message saying, “Gah, Your tab just crashed”. If you encounter this kind of error message then it is most likely that your Firefox Profile is having some issues with the existing installation of Firefox. The “Gah, Your tab just crashed” error rarely happens but when it does, it can get quite annoying as you won’t get to browse the internet peacefully. So to fix it, here are some suggestions you could check out.

Option 1 – Try disabling multi-process tabs in Firefox

Since Mozilla has one process for Firefox itself, while one process handles all the tabs, you have the option to disable these multi-process tabs in Firefox. To do that, follow these steps:
  • In the address bar of Firefox, type “about: config” and hit Enter.
  • Next, look for the following configurations and set them to false.
    • tabs.remote.autostart = false
    • tabs.remote.autostart.2 = false
  • After that, double-click on the toggle switch between true and false.

Option 2 – Try checking your Add-ons

In this option, you need to start Firefox in Safe Mode and then check if the problem is fixed. If it is, you may have to check your Firefox add-ons as well as extensions as one of them might be the one that's causing the “Gah, Your tab just crashed” error.

Option 3 – Downgrade the Firefox version you’re using

It could be that the current version of Firefox you’re using has some issues so you might have to downgrade it, especially if you are already using the latest version. To downgrade your Firefox browser, go to the directory of the other versions and languages and select an older version that worked for you. After that, you have to disable automatic Firefox updates.
  • First, click the menu button and select Preferences.
  • Next, go to the Firefox Updates section under the General panel.
  • Then select the radio button labeled “Check for updates but let you choose to install them”. This will ensure that you will not have the same issue with the new update.
Note that this is only a temporary fix since updating your programs, including browsers.

Option 4 – Try sending Crash Reports

You might want to send crash reports to Mozilla. This way, Mozilla might come up with some fix to resolve the problem. All you have to do is type “about: crashes” in the address bar. This will list all the crash reports. Now send it to Mozilla using the built-in interface. Although this won’t instantly fix the problem, a lot of user finds it useful. And besides, the issue will get fixed in future releases or with minor updates.
Read More
MSASCui.exe - Quick Fix Guide
MSASCui.exe is a digitally signed file from Microsoft located in folder C:\Program Files\Windows Defender. It is a component of Microsoft Windows Defender Antispyware. This file is responsible for performing spyware scans. It is already installed in Windows Vista operating system. MSASCui.exe becomes an error code when it is found in another path. It is categorized as a Windows runtime error.

Solution

Restoro box imageError Causes

The cause of MSASCui.exe error is triggered by:
  • Corrupt or damaged registry entries
  • Virus Infection
The potential risks of MSASCui.exe error are:
  • Slow PC performance
  • Data loss
When this file becomes an error, it will display messages like:
“This application has failed to start to run on Windows because MSASCUI.exe cannot be found.” “Windows Defender cannot work properly and protect the Windows system effectively”
The message will keep popping up on your computer screen time and again.

Further Information and Manual Repair

When you experience an MSASCui.exe error on your PC, it is advisable to fix and repair it immediately before it causes serious damages to your system. Here are some DIY quick solutions to repair MSASCui.exe error:

Solution 1:

If the speed of your PC reduces significantly and you also see MSASCui.exe error message pop on your screen, then in this case it is advisable to uninstall the Windows Defender program from your PC. To do so, follow these instructions:
  • First, open the Windows Task Manager by pressing the “Ctrl, “Alt” and “Delete” keys on the keyboard.
  • Now click the ‘Processes’ tab. This will show the currently running processes on your system.
  • Scroll down and click on “MSASCui.exe” and then end the process. This will stop the program from running on your PC.
  • After this go to the start menu and double click on ‘My Computer’ and click on the C drive.
  • Choose the option ‘Program Files’ and then click on the ‘Windows Defender’ folder.
  • Now to delete this folder, right-click and select ‘delete’. This will uninstall the program, fix the MSASCui.exe error, and also improve the performance of your PC.

Solution 2:

If you find the MSASCui.exe file located in some other path, then this is an indication of a virus. In this case, it is recommended to run an antivirus program on your PC to scan and delete all viruses. If you don’t have an antivirus program already installed on your system, then you should download it. Once antivirus software is downloaded, simply run it to scan viruses and then click on delete to remove all the viruses on your system. This will help you resolve the MSASCui.exe error caused by malware on your PC right away.
Read More
Fixing Error 0x80070057 in Windows 10
Whether you’re using Windows Update or upgrading or installing on your Windows 10 computer, you can’t really tell if things will go smoothly as there are times when you might encounter some issues that prevent you from completing the update or upgrade or the installation. One of the errors you can encounter is error 0x80070057. Usually, when you receive this error, it means that one or more arguments are not valid. You can encounter this error in the following cases:
  • Windows Update, Upgrade, or Installation
  • Windows Backup, The parameter is incorrect
  • Partitioning a Disk
  • System Image Restore error 0x80070057
  • Downloading Windows Store apps
Keep in mind that the troubleshooting steps you need to take will depend on the scenarios you are in. Thus, you need to go over each one of the troubleshooting options given below and make sure to carefully follow each one of them but before you proceed, you have to create a System Restore Point first.

Option 1 – Run the Windows Update Troubleshooter

The first thing you can do to fix error 0x80070057 is by running the Windows Update Troubleshooter. It is a built-in tool in Windows that helps users resolve any issues with Windows Update. All you need to do to run it is 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 2 – Use the Registry Editor

If you get the error 0x80070057 during Windows Backup, then you need to make some modifications to the Windows Registry. To do so, follow these steps:
  • Tap the Win + R keys to open the Run dialog box.
  • Type “Regedit” in the field and hit Enter to open the Registry Editor.
  • Next, navigate to the following registry key:
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftSystem
  • Then create a new DWORD value and input “CopyFileBufferedSynchronousIo” as its name and put “1” as its value.
  • Close the Registry Editor and restart your computer then check if the error is fixed or not.

Option 3 – Run the DISM tool

Running the DISM Tool helps in repairing the Windows System Image as well as the Windows Component Store in Windows 10. 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
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.
Note: If it happens that the Windows Update client is broken, you need to run the following command to repair it then restart your PC and click on Update once again.
DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

Option 4 – Flush the contents of the SoftwareDistribution folder

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.

Option 5 – Reset Windows Store Cache

  • Right-click on the start button and click on Command Prompt (administrator).
  • Next, type in the command, “wsreset.exe” and tap Enter. Once you do, the command will clear the cache for the Windows Store app.

Option 6 – Run SFC scan

Running the SFC scan or System File Checker might also help in fixing error 0x80070057.
  • 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.
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.
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