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

"Stop Running This Script" Error - How to Fix It

Stop Running This Script Error - What is it?

"Stop Running This Script" Error is a Windows Internet Explorer error message that is displayed in the following format with a yes and a no button:
Stop running this script?
A Script on this page is causing your web browser to run slowly.  If it continues to run, your computer might become unresponsive. This occurs when some scripts take an excessive amount of time to run. To be precise, there are some websites that use JavaScript, JQuery, and Active X scripts to run. These scripts are notorious for taking too much time to run. So, if you use the Internet Explorer as your web browser, then by default if the website takes a long time to load, the ‘Stop running this script error will be triggered. Other than this, if you are scripting an Active X control on the web page to transfer a very heavy file or run a huge database query, this may cause delays and lead to the error display. However, if you use Firefox, then the ‘Stop running this script error code will be promoted as ‘Unresponsive Script’ error.

Solution

Restoro box imageError Causes

The ‘Stop running this script error code’ is triggered due to multiple reasons. These include:
  • Webpage programming errors
  • Running a pop-up killer
  • Spyware and viral infection
  • Active X control errors

Further Information and Manual Repair

Here are some of the best methods that you can try to resolve Internet Explorer’s ‘stop running this script error’ on your PC:

1. Change the Internet Explorer Settings

This can be done by opening Internet Explorer and in the top menu, click on Tools, and then go to Internet Options. Now click on the Advanced Tab option. Locate where it says ‘Disable Script Debugging’. Once you find it uncheck the box beside it. Now close the browser and restart your PC. Access the same website on your IE web browser and see if the website opens. If it does, then the error is resolved. However, if it doesn’t, then you the underlying causes for the stop running this script error message could either be spyware or ActiveX control error.

2. Download Restoro

Whether the error occurs due to spyware invasion of Active X control error, it is advisable to download Restoro on your PC. This is a next-generation, innovative, and multi-functional PC repair tool that has several powerful utilities deployed together in one program. Plus you don’t have to get into the technicalities of resolving Active X control issues. Restoro is safe, bug-free, and efficient. It has a user-friendly interface and simple navigation which makes it quite easy for all levels of users to operate. It is compatible with all Windows versions including Windows 7, 8, XP, Vista, 8.1, and 10. This PC repair tool is a one-stop solution for all your script error repair needs. It includes the following utilities: a registry cleaner, a system stability detector, and an ActiveX control error scanner. It simultaneously scans for ActiveX control errors too. So, if the IE script error is triggered by ActiveX control issues, it resolves them too. To fix the ‘stop running this script’ error code on your PC, click here to download Restoro
Read More
Windows Sandbox item is greyed out
As you know, the functioning of the Windows Sandbox feature is supported by various components in the background of the Windows operating system. And the only way for you to enable the Windows Sandbox feature in your computer is through the Turn Windows features on or off utility. This feature will work directly on the basis of Virtualization which is also supported by Hyper-V. However, there are some reports claiming that some computers have the Windows 10 Sandbox item greyed out in the Turn Windows features on or off utility. Thus, in this post, you will be guided on what you can do to resolve such a problem in your Windows 10 computer. In this kind of problem, you should know that this has something to do with the Second Level Address Translation which is one of the important pillars of how the Windows 10 Sandbox feature functions. Thus, if the Second Level Address Translation or SLAT feature in Windows Sandbox is not supported by the CPU of your computer, there is no way for you to use Windows Sandbox on your computer. On the other hand, if SLAT is supported, then there is definitely something you can do to resolve the greyed-out Sandbox item in Windows 10.

To get started, follow the steps provided below.

Step 1: First, you have to boot into the BIOS of your PC. Step 2: After that, make sure that the following options are set to their respective configurations:
  • Hyper-V – Enabled
  • VM Monitor Mode – Yes
  • Virtualization – Enabled
  • Second Level Address Translation (VT-d or RVI) – Enabled
  • Data Execution Prevention – Enabled
Step 3: Once you’re done, save the configuration and then restart your Windows 10 computer as usual. Step 4: Once your computer has restarted, you should see the same option in the Turn Windows features on or off utility and it should no longer be greyed out. Then you can now enable the feature and follow the onscreen instructions need to use the feature as best as you can.
Read More
Windows SmartScreen can’t be reached right now
SmartScreen is a cloud-based anti-phishing and anti-malware component that’s come packed in all Windows 8 (8.1) and Windows 10 versions. This security component is also used in several browsers and programs like Internet Explorer, Microsoft Edge and Outlook.com. Although this program is quite useful, there’ve been reports that SmartScreen is apparently blocking Microsoft’s own apps from opening. According to some users, they only get the “Windows SmartScreen can’t be reached right now” error message every time they try to open apps from the built-in Windows suite like Photos, Mail, Alarms, Maps, etc. Whenever Windows SmartScreen is either down or unreachable on an end-user PC, your computer won’t be able to download anything in both official and unofficial channels. This error might be due to a corrupted Windows account, or it could be that SmartScreen is disabled from the Windows Defender Security Center or it might be down due to an MS issue. In addition, the error might also be caused by a proxy entry.

Option 1 – Make sure that SmartScreen is enabled

Before anything else, the first thing you must do is to check if SmartScreen is even enabled as it might be the reason why you’re getting the error. You can verify this by simply going to the Windows Defender Security Center. To do so, follow the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “ms-settings:windowsdefender” in the field and hit Enter to open the Windows Defender Security Center.
  • After that, click on the Open Windows Defender Security Center button located under Windows Security.
  • Then click on App & browser control.
  • From there, make sure that the Check apps and files toggle is set to Warn and then check the same thing for Microsoft Edge and SmartScreen for Microsoft Store apps.
  • If it turns out that SmartScreen is indeed disabled, you have to restart your computer after making some changes and then check if the issue is fixed upon the next startup.

Option 2 – Check if SmartScreen is down for maintenance

Another possible reason why SmartScreen is not working is that it might be scheduled for maintenance. When SmartScreen is scheduled for maintenance, it will become unreachable for a lot of users at the same time and so before you go over unnecessary troubleshooting steps, you need to verify if SmartScreen is down for maintenance or not.

Option 3 – Try to disable the proxy server

If applicable, you can try to disable the proxy server to fix SmartScreen. There are some users who reported that they’ve fixed the problem after they’ve disabled the use of a proxy server using the built-in way. In some instances, certain proxy servers can interfere with the SmartScreen component and cause it to become unusable. However, if you are not using a proxy server, just skip this option and proceed to the next one, otherwise, follow the steps below to disable the proxy server.
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “ms-settings:network-proxy” in the field and hit Enter to open the Proxy tab under Settings.
  • After that, scroll down to the Manual proxy setup and make sure that the toggle button of the “Use a proxy server” option is turned off.
  • Now restart your PC and check if the problem is fixed upon the next startup.

Option 4 – Try to create a new Windows user account

There are some users who were able to fix the problem by simply creating a new Windows user account. Although this solution will make you lose a couple of settings enforced through your user account, it’s actually effective in circumventing the “Windows SmartScreen can’t be reached right now” error. To create a new Windows user account, here’s what you have to do:
  • Tap the Win + R keys to open the Run dialog box.
  • And then type “ms-settings:otherusers” in the field and hit Enter to open the Family & other people tab under the Accounts menu.
  • After that, click on the “Add someone else to this PC” option and then click on “I don’t have this person’s sign-in information.
  • Next, insert the user credentials like emails, password, birth date, etc., and then click Next. Take note that if you want to create a new local user account, just click on Add a user without a Microsoft account.
  • After you’re done creating the new Windows user account, click the start icon and then click the account icon and choose to Sign out.
  • After you’re logged in, check if SmartScreen now works properly or not.
Read More
Fix Wi-Fi doesn't have a valid IP configuration

In today's time, Wi-Fi is a common occurrence, each household has it, on town squares, there are free Wi-Fi hotspots, etc. But sometimes when relaxing at home WI-Fi can fail on us and stop working. If this happens to you do not lose your mind because we have several troubleshooting help tips and ways to get it back quickly so you can continue with your browsing and using your internet.

wi-fi router

Restart the Router and Computer

Yes, we will start with this typical cliche in IT and tech in general. Surprisingly this method still proves over and over again to be true and effective. Over time some electric components simply start working a little bit differently, electrostatic electricity can accumulate on some parts and they can cause issues. By turning off the device and leaving it for some time you are discharging accumulated electrostatics and placing it again into normal working mode.

Unplug your router and leave it for at least 30s like that, a full 1 min is recommended, and then plug it back. Turn it on and restart your computer in order to reboot addresses.

Reset DHCP

If simple have you tried unplugging it and plugging it back in did not work let us reset DHCP. Click on the start button and type in PowerShell, then click on Run as administrator. Once inside the PowerShell type in the following command followed by ENTER: ipconfig /release and after the command finishes, type in: ipconfig /renew also followed by ENTER key. Try the connection again.

Reset TCP/IP stack

The next thing that we will try if the previous one failed is to reset the TCP/IP stack to eliminate corruption of settings files. Like in the previous step, press Start and type in PowerShell and click on run as administrator. inside type in: netsh int IP reset and press ENTER key. Wait for the process to finish and reboot your PC.

Reset WinSock

WinSock is yet another part of Windows OS that is responsible for network communication and resetting it could solve the issue. Again go to PowerShell as described in previous steps and type in this time: winsock reset and press ENTER. Wait for the process to finish and restart your computer.

Other things you can try

Change TCP IP setting back to automatic if you have set manual Ip address on your computer.

Update your network driver via the manufacturer's website of your network adapter. There is a chance that somewhat updates are available to address some issues discovered.

Factory reset your router on the back by locating the reset button on it and pressing and holding it for around 10s.

Turn off your firewall and antivirus protection in order to eliminate it from blocking your internet access.

Read More
How To Speed Up PC Startup
Hello and welcome to How To Speed Up PC Startup where we will explore how to make your PC boot-up system faster. When your computer gets older, you'll see a decrease in your PC's load time. This can be very annoying and frustrating, especially if you're not accustomed to exercising patience. Your computer's boot time does not need to be sluggish, even if it's old. While there are reasons why your computer is acting up and giving you the 'slow' sign, there are ways that you can optimize how fast your PC starts up at the beginning. Once you start speeding things up, you’ll never look back!

Start With your BIOS

You may need to tweak your PC’s start-up menu. Since the majority of issues encountered on your PC might not be related to the software running in the back end, you can focus on your computer's hardware. The ideal way to speed up your PC startup is to access your computer's BIOS when booting up. This can be accessed by holding the DEL key or whichever button is used to tap into your BIOS. You can change where your computer boots from. You can opt to put your hard disk right at the top which would elude searching for CDs and other storage media devices when your PC starts up.

Tweak Startup Programs

There are many programs that execute when your computer starts up. These programs normally run in the back end. Most times back-end programs are unnecessary and do not contribute to the productivity or performance of your computer when in use. Instead of allowing these programs to execute when your PC boots up, why not disable them?  By deactivating these programs, you'll be reducing the amount of CPU usage which will accelerate your PC performance. Additionally, there are some installed programs that you never use. Instead of leaving these programs to occupy needed space on your computer system, you can uninstall these to create more room on your computer. This actually increases your PC startup speed.

Put Malware on a Leash

Malware and spyware can cause problems for your start-up. A slow computer is an indication that your computer is plagued by malware. This affects your computer's boot time and whether or not it'll startup as quickly as you intend it to. If your computer gives you the 'virus alert', you need to download an antivirus program that will be able to eradicate all virus threats. Be mindful of where you download antivirus programs since many of them are viruses or have viruses attached to them. Some viruses are tough on your computer. This means that if an antivirus works for your best friend, it may not work for you. Since malware differs in functions and the havoc they cause, it's best to know what you're up against by doing research.

Clean Your Registry

You should also clean out your registry. The fewer unused registry keys you have lying around on your computer, the faster your computer will go. Getting a good registry cleaner from a clean source can help tremendously, but be careful; registry cleaners have the potential to be very dangerous so make sure you backup everything on your computer and only download registry cleaners from a reliable source. By implementing the above tips, you'll see quick improvements when using your computer.
Read More
Folder shortcuts in Windows 11 on Start menu
Special folders like music, pictures, download, videos, etc, can be placed as shortcuts in the start menu inside Windows 11 for easy access. Shortcuts will appear in the start menu on the bottom as simple glyphs. They are not present in the start menu by default so it needs to be turned ON first. Folder shortcutsIf you want to place these icons in your Star menu follow this step-by-step guide and you will have them in no time.
  1. Open Windows settings
  2. In settings go to Personalization > Start
  3. In Start click on Folders
  4. On the given list of Settings, File Explorer, Documents, Downloads, Music, Pictures, Videos, Network, and Personal folder click on the switch beside them if you want them as shortcuts in the Start menu. You can choose whichever you want.
  5. Close settings
You can revisit the settings menu to add more icons or remove some of them later if you wish so.
Read More
How To Fix Error Code 652 On Windows PC

What is the Error Code 652?

Error code 652 is a runtime error. It hampers you from accessing and running your program on your system. If not resolved, it can also lead to program corruption.

Solution

Restoro box imageError Causes

Runtime Error 652 can occur due to several causes. These include:
  • Conflict of color depth within icons, the desktop, or a particular application in the Visual Basic environment.  This happens when the Image
  • List control consists of more colors than the depth of what Windows can support.
Other causes include:
  • Malicious software and malware attack
  • Conflict with Terminate
  • Invalid or corrupt registry

Further Information and Manual Repair

If you are not a computer programmer and don’t have any sound technical expertise, then you might think of hiring a professional to resolve the error on your PC. But this can be costly as you may have to pay hundreds of dollars to the technician. However, an alternative way to resolve the error code 652 is to download the Total System Care. This PC repair tool is integrated with an intuitive registry cleaner and a powerful anti-virus. It is safe, efficient, user-friendly, and available for free. Restoro is a multi-functional error tool and a one-stop solution to resolve practically all kinds of PC-related problems. By running this repair tool, you can fix runtime error code 652 on your system in seconds.

Restoro

What makes Restoro a hot favorite among PC users is that it is simple and easy to use. To operate this PC fixer, you don’t need to have the sound technical knowledge or be adept at computer programming. It can be used by all levels of PC users including beginners and intermediates. It has a neat and clean layout with simple instructions and navigation making it easy for users to resolve even the mightiest errors in just a few clicks.

Restoro features

Whether the underlying reason for the error code 652 is malicious software or registry corruption, Restoro takes care of all. Registry corruption occurs due to unnecessary files and data overload in the hard disk. This includes junk files, internet history, invalid registry entries, and bad registry keys. The registry cleaner embedded in Restoro intuitively detects and scans all registry issues. It wipes and clears the hard disk from all the unnecessary and obsolete files and thus cleans up your disk space. It repairs the corrupt registry and also boosts your PC’s performance. Thus it not only repairs the error code 652 but also resolves system slowdown issues by optimizing your system’s speed. With the help of its in-built anti-virus, it removes all the malicious software on your system that could be triggering the error code 652. Data security threats such as malicious software are detected and scanned and listed under the privacy error utility. It is compatible with all Windows versions including both the latest and old versions. You can run it to scan error code 652 on any Windows version you have installed on your computer.

Restoro for error Code 652

Furthermore, as mentioned above Error Code 652 is safe to use. It is bug-free and besides, it offers users outstanding data safety. It has a backup file feature that helps you save and create backup copies of all the data you have on your system. This is carried for safety purposes. It enables users to retrieve and recover data in case the data and files are lost during the repair thus sparing you from a big loss. The error code 652 may be critical but it can be resolved in seconds with Restoro. Here’s how:
  1. To get started click here to download and install Restoro on your system
  2. Once installed, run it to scan for errors. It will take only a few seconds to scan your entire PC.
  3. Then simply create a backup and click on repair to resolve and resume your desired program.
For best results, it is advised to run Restoro on the computer often. This will help you detect PC errors and repair them timely. It will help you ensure proper PC maintenance, health, and performance.
Read More
Prevent screen from shutting down in Windows
You left your computer to go to the bathroom or to fetch something to eat, maybe you have to answer the phone or open door to a friend and after some time you get back to your computer see the black screen, you move the mouse and it starts to come from sleep slowly. I am the kind of person who gets annoyed by this kind of behavior, I like my PC to be ON all time when I want it to be ON and my power plan on best performance so naturally, I have turned this sleep feature OFF. If you are interested to see how you to can turn off your screen sleeping follow this easy guide.
  1. Press ⊞ WINDOWS to open the start menu and click on the settings Windows 10 Start menu with marked settings icon
  2. On settings, screen click on system Windows settings with System section selected
  3. When the system dialog opens go to Power & Sleep and on the right side change all values to never. windows settings power and sleep
Please note that after each update Windows tend to reset these settings so you will sadly have to return to this after each major update.
Read More
Choosing default browser in Windows 11
Default applications in previous Windows versions were a pretty straightforward process. The user went to the settings application and picked for each category which application he would like to choose from the list of installed ones. In Windows 11 things are little changed. In this article, we will show you how to choose the default internet browser inside Windows 11, and sadly it is a more tedious task than in previous versions.

windows 11 default browserChoosing default browser in settings

As in previous versions of the Windows operating system you will need to use the settings application in order to change your default Internet browser. Previously, in Windows 10, a variety of general categories like email, web browser, and photo viewer were all listed under the Default Apps section of the Settings panel. It was easy to click on one of those categories and click on the option you like best from the small pop-up suggestion window. In the Windows 11 Insider Build, you’ll see a gauche list of an individual file or link types that you’ll need to specify your preferred browser for. The types include: HTM, HTML, PDF, SHTML, SVG, WEBP, SHT, FTP, HTTP, and HTTPS. There are additional optional types you can specify your preferred browser for as well. The issue here is in order to use a single browser which most users do you will have to go through each file type and set your preferred one. I am really not sure why this was introduced or why it has to be this way, all I can do is hope that in the final release of Windows 11 this feature will be rolled back as it used to be and that you could set your default browser in just one simple click.
Read More
How to Fix Ehshell.exe Application Error Code

Ehshell.exe Application Error - What is it?

Ehshell.exe is a type of .exe (executable file). This file functions as an essential component of the Microsoft Media Center.  By default, it is located in a subfolder of C:\Windows. Ehshell.exe application error is an error code that pops up when tasks in the Media Center freezes. The Ehshell.exe application error is usually displayed on the screen in the following format:
“ehshell.exe – Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xa18 (2584), Thread id=0xa24 (2596).”

Solution

Restoro box imageError Causes

Ehshell.exe application error is triggered when PC users perform repetitive tasks in Media Center on a Windows XP Media Center Edition. The computer stops to respond and the error message is displayed. This error occurs if users perform one or more of the following repetitive tasks in the Media Center:
  • Repeated resize, restore and minimize the Media Center Window
  • Schedule TV shows to record
  • Repeatedly change the channel while Media Center is in a window
  • Ehshell.exe file corruption due to malware infection or registry issues
Though this is not a fatal error, to avoid any kind of inconvenience, it is advisable to fix the error right away.

Further Information and Manual Repair

To fix the ehshell.exe application error on your system, you don’t have to hire a professional and spend hundreds of dollars on repair. Here are some of the best and most effective do-it-yourself methods that you can try to resolve this issue on your PC immediately.

Method 1 - Install the Latest Service Pack for Microsoft Windows

To repair the issue, install the latest Windows service pack. A service pack is basically a Windows update, often combines previously released updates that help make Windows more reliable. These are offered free of charge on Microsoft’s official website.  To get started, simply log on to Microsoft’s official website and download the latest service pack compatible with your Windows version. The installation process may take 30 minutes to install. And you will be prompted to restart your PC about halfway through the installation process. Once the Windows Service Pack is installed, the ehshell.exe application error will be fixed. If the error still persists, then try method 2.

Method 2 - Scan for Malware

Ehshell.exe application error may also appear on your PC due to malware infection. Malware programs like viruses, Trojans, and worms deliberately give their malicious processes similar .exe file names, so it is hard to identify the malware. In such an event, it is advisable to download a powerful antivirus and scan your entire PC. Run it to remove all the hidden malware programs on your system. Once malware is removed, the ehshell.exe application error will be resolved.

Method 3 - Clean Registry

Sometimes .exe files can also get corrupt when the registry gets overloaded with unnecessary and obsolete files. If this is the underlying reason for the error code occurrence then it is advisable to download Restoro. This is a multi-functional and user-friendly PC Fixer deployed with a registry cleaner. It removed all the unnecessary files, cleans and repairs the registry in seconds thereby fixing all registry-related errors. Click here to download Total System Care and resolve the Ehshell.exe application error on your PC.
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