Logo

Problem running preinstall.cmd scripts

Setting up the Windows operating system in a computer can be quite a complicated task since there are a couple of things that take place in the background to ensure a full and protected setup of the operating system which includes a number of programs, scripts, and so on. They work together in the background to guarantee the integrity of the Windows operating system. However, there are times when this piece of code could also go wrong. As a result, you might encounter errors like the “There was a problem running preinstall.cmd scripts” error. “Preinstall.cmd” is a type of CMD file associated with Applications & Drivers developed by Gateway for the Windows OS.

To fix the “There was a problem running preinstall.cmd scripts” error, there are several things you can try. You can try to download a new Windows installation image or create a new bootable drive as well as uninstall conflicting or incompatible programs. In addition, you can also run the Windows Update troubleshooter or reset Windows 10.

Option 1 – Try to download a new Windows installation image

Your first option to fix the “There was a problem running preinstall.cmd scripts” error is to download a new Windows installation image. You can get the official ISO files for the latest release of Windows 10. After you’ve downloaded the ISO files, you can use them to upgrade to the latest Windows 10 version.

Option 2 – Try creating a new bootable drive

  • Insert your USB drive into your PC.
  • Tap the Win + R keys to open the Run dialog box and type in “cmd” and tap Enter to open the Command Prompt. Alternatively, you can also search for “cmd” in the Cortana search box to open Command Prompt.
  • Once you’ve opened CMD, type in this command to open the DISPART utility – diskpart
  • After that, you should see a new black and white window that would say, “DISKPART>”.
  • Next, type in “list disk” in the command line and tap Enter to see the list of all the Storage devices as well as your hard disk connected to your PC. Here, you have to identify your disk’s number.
  • Type in this command where “X” is the disk number you have identified and then tap Enter – disk X
  • Type in this command and hit Enter to clear the table records and all the visible data on the drive – clean
  • Now you have to recreate a new primary partition of the drive so you’ll have to type in this command and tap Enter right after – create part pri
  • A new primary partition has been created so you have to select it by typing this command and tapping Enter – select part 1
  • Now you have to format it to make it visible to normal users by typing – format fs=ntfs quick

Note: If your platform supports the Unified Extensible Firmware Interface or UEFI, replace the “NTFS” with “FAT32” in the command on Step 10.

  • After that, type in this command and tap Enter after – active
  • Finally, type this command and hit Enter to exit the utility – exit
  • After you prepare the image for the operating system, save it to the root of your USB Storage device.

Option 3 – Try to uninstall conflicting programs

If you are using a computer made by Dell and got Windows 10 preinstalled in it, then you can try to uninstall the programs listed below and see if it fixes the problem.

  • Dell Encryption Management service
  • Dell Digital Library service

Option 4 – Run the Windows Update Troubleshooter

You might also want to run the built-in Windows Update Troubleshooter in Windows that could help you in resolving the “There was a problem running preinstall.cmd scripts” error. All you have to do is go to Settings > Update& security > Troubleshoot > Windows Update. From there, click on the Run the troubleshooter button and follow the next one-screen instructions that appear. After that, restart your computer and check if the error is now fixed or not by trying to install the update once again.

Option 5 – Run Microsoft’s online troubleshooter

Running Microsoft’s online troubleshooter might also help you fix the error. This online troubleshooter is known to help in fixing Windows Update errors, it scans your computer for issues that might be causing the problem and then fixes them automatically.

Option 6 – Try to reset Windows 10

  • Tap the Win key or click on the Start button located in the Taskbar.
  • Then click on the Power button at the bottom right portion of the screen.
  • Next, press and hold the Shift key on your keyboard and then click on Restart. This will restart your Pc into the Advanced Startup options.

Note: Once you have access to the Advanced Startup options, you have to go to the setting which allows you to Reset your Windows 10 PC. All you have to do is select Troubleshoot > Reset this PC to reach the following screen

Afterward, select either the “Keep my files” option and then proceed to the next on-screen instructions that follow to reset your Windows 10 computer without losing your files.

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

Fatal error occurred while trying to sysprep
There are several kinds of errors you could encounter when you are running Windows 10 on a virtual machine. The Windows OS knows the difference between booting up in a standalone computer or in a virtual machine. This is why some specific drivers and system capabilities are used while emulating the Windows OS on software and during this phase, there are times when the System Preparation may throw up an error that says, “A fatal error occurred while trying to sysprep the machine”. This kind of error arises due to a race condition wherein the Sysprep command tries to stop the Microsoft Distributed Transaction Coordinator or MSDTC service and the VMware tool tries to start the MSDTC service. You may also see the following messages logged in the Setuperr.log file:
  • [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing ‘C:Windowssystem32msdtcprx.dll,SysPrepDtcCleanup’, returned error code -2146434815[gle=0x000000b7]
  • [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2146434815[gle=0x000000b7]
  • [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80100101[gle=0x000000b7]
To fix the 0x0f0082, 0x0f0070, 0x0f00a8 Sysprep errors, you can check out two potential fixes. First, you have to check the status of the MSDTC service and the second one is to check the settings in the Windows Registry. Note that these fixes are proven to be effective on many users and apply to several versions of Windows, including Windows 10.

Option 1 – Check the status of the MSDTC service via Command Prompt

As mentioned, the error could be caused by the malfunctioning of the MSDTC service or it. Thus, you have to uninstall and reinstall the MSDTC service to resolve the problem and you can do that using Command Prompt. Follow the steps below.
  • In the Start Search, type “command prompt” and from the results, right-click on Command Prompt and then select the “Run as administrator” option to open it with admin privileges.
  • If a User Account Control or UAC prompt appears, just click on Yes to proceed.
  • Once you’ve opened Command Prompt, execute this command: msdtc –uninstall
  • The command you just entered will uninstall the MSDTC service. After that, you need to execute this second command to reinstall the service: msdtc –install
  • Now exit Command Prompt and check if the error is now fixed.

Option 2 – Check the Registry settings

  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and click OK or hit Enter to open the Registry Editor.
  • After opening the Registry Editor, navigate to this registry path: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSoftwareProtectionPlatform
  • From there, look for a DWORD value that’s named “SkipRearm” and double click on it.
  • Then change its value data to “1”.
  • Restart your computer to apply successfully apply the changes made and check if it was able to fix the error.
Read More
0x8019019a when setting up Yahoo Mail
The error code 0X8019019A is shown when a user fails to add his Yahoo account to the Mail app due to the outdated or corrupt installation of the Mail app. Not using an App-specific but a normal Yahoo account password may also result in the error at hand. In this guide, we will show you how to effectively fix this error so you can set up Yahoo mail.
  1. Reboot PC

    Perform a restart of your system to rule out a temporary glitch in the system. Also, check if you can successfully access your email through a web browser using the same credentials as you are using with the Mail app. Additionally, make sure that no VPN or proxy server is being used to access the internet (VPN/proxy may work fine with the web version of Yahoo mail but may hinder the access through a mail client).
  2. Update Windows and the Mail App to the Latest Build

    If your system is not updated to the latest build it can create incompatibility between the OS modules. Updating the Windows and Mail app of your system to the latest build may solve the problem.
  3. Re-add the Yahoo Account to the Mail App

    The Yahoo account issue could be a result of a temporary glitch in the communication modules of the system. The glitch may get cleared if you remove and then re-add the Yahoo account to the Mail app.
  4. Reset the Mail App to the Defaults

    You may fail to add the Yahoo account to the Mail app if the installation of Mail itself is corrupt. In this scenario, resetting the Mail app to the defaults may solve the problem.
  5. Generate an App Password and Use it to Add the Yahoo Account to the Mail App

    Yahoo has implemented tons of security features to its accounts. One such feature is the use of app-specific passwords for less secure apps like the Mail app. If your Yahoo username or password is not working with the Mail app, then using the App-specific password may solve the problem.
Read More
What to do if CPU is not running at full speed
The speed at which the CPU runs varies depending on any Windows laptop or desktop. And in case you don’t know, the CPU does not run at full speed all the time as it depends on how the operating system distributes the load so it works accordingly. However, there are instances when it runs at full speed especially if your Windows 10 computer is on a heavy workload. But if you find that even when your computer is already on a heavy workload and the CPU is still not running at full speed, then you need to look into this situation. To verify that your CPU’s speed, you can use any CPU stress test tool. This kind of issue is common on laptops compared to desktop computers since laptop runs on battery. The Intel Processor on laptops uses the Speed Stepping Technology which means that when you are doing some small tasks on your laptop, the processor’s speed is reduced. On the other hand, if this happens when you are using a heavy application, it can be due to a low charge on the laptop’s battery. Thus, Windows will try its best to keep the computer running for as long as possible by reducing the CPU speed or processor. But there are times when you are ready to sacrifice battery to make sure that the work gets done on time. To achieve that, here are some options you can check out.

Option 1 – Try setting the processor state to the maximum in Power Options

  • Type “control” in the search box to view the classic Control Panel as well as the popular options.
  • Next, click on Power Options > Change plan settings > Change advanced power settings.
  • Then navigate to Processor power management > Maximum processor state.
  • Now select 100% when it is on Battery and Plugged in.
  • After that, expand the System cooling policy option and make sure to set it as Active to make sure that the battery won’t overheat.
  • Finally, apply the changes made to all the profiles of the power management and restart your computer. This will ensure that your CPU will run at maximum power at all times.

Option 2 – Try to update or disable the Intel Power Management driver

The next option you can try is to update or disable the Intel Power Management driver. The Intel-powered computers have dedicated software that controls CPU speed and Fan speed when it needs to save battery. You can try disabling it temporarily and check if there are any changes with the CPU fan speed.
  • First, restart your computer by holding the Shift key to boot your computer into Troubleshooting or Advanced mode.
  • Next, go to Troubleshoot > Advanced Options > Command Prompt.
  • Then change the directory to C:/Windows/System32/driver and then rename the file named “Intelppm” by entering the “ren intelppm.sys intelppm.sys.bak”.
  • Now restart your computer.
Note: If you were not able to find the drivers in C:/Windows/System32/driver, check if they are available under C:/Drivers/IntelPPM. After that, the CPU speed should change now with the Intel driver missing from the system. And in case you want to enable it, simply follow the same steps given above and rename the file again.

Option 3 – Try disabling the IPPM using the Command Line or Registry Editor

  • Command Prompt:
    • Tap the Win + R keys to open the Run dialog box and type “cmd” and tap Enter to open Command Prompt.
    • Next, type this command and hit Enter: sc config intelppm start= disabled
    • The “sc config” command you entered modifies the value of a service’s entries in the registry as well as in the Service Control Manager database.
  • Registry Editor:
    • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and hit Enter to open the Registry Editor.
    • Next, navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesintelppm.
    • From there, double click on the intelppm and change the Start key value to
    • Now close the Registry Editor and reboot your computer.
Note: The steps given will make sure that the CPU will run at maximum power at all times.
Read More
Drive letter missing in Windows File Explorer
There are times when you might notice that the Drive letter from the File Explorer is missing, right after you install an update in your Windows 10 computer. So if you are facing this issue right now, then you’ve come to the right place as this post will guide you on what to do to fix it. In case you don’t know, a drive letter represents a single alphabetic character which is through A-Z typically. This could be assigned to a physical disk partition, floppy disk drive or the removal device/ CD-ROM/ mapping network drive in your PC. In most cases, the drive letter “C:” is assigned to the first disk partition where the running Windows is installed. Thus, if the assigned letter is missing from either the Disk Management or the Windows File Explorer, it could result in inconveniences or will leave the partition inaccessible. To fix this problem, you can try to show the missing drive letters manually or make sure that the drive has a drive letter assigned in the Disk Management as well as assign the letter using a tweak in the Windows Registry. For more details, refer to the options provided below.

Option 1 – Try to show the missing drive letters manually

  • Open the Folder Options from the Start Search and go to the View tab,
  • Next, scroll down on the list of given options until you see the “Show drive letters” option and then check the box that’s marked against this option.
  • After that, click on the Apply and OK buttons and then go back to the “This PC” window. You should now see the drive letters

Option 2 – Make sure that the drive has a drive letter assigned in Disk Management

As you know, every drive is assigned a drive letter in Disk Management. However, if it goes missing, you can still get it back through Disk Management. To do so, follow the steps below.
  • Open Disk Management and from there, right-click on the menu of a partition or volume and you should see a function named “Change Drive Letter and Paths”.
Note: This function allows you to add the drive letter, remove the drive letter and change the drive letter. If the last option, namely, “Remove”, is selected and applied, the letter of the drive will be removed and won’t appear in Disk Management. Thus, this could be one of the reasons why a drive letter is missing.
  • You need to click on “Add” to assign a letter to the selected drive in order to reverse the change. Note that you must assign the drive with the original letter because if not, the programs that rely on the original letter might not work as expected.
  • If the original letter is already taken by a new drive, you need to change the letter of that new drive to another available letter.
  • Then allocate the released letter of the targeted drive.

Option 3 – Try assigning the letter using a Registry tweak

The next thing you can do to fix the problem is to assign the letter using a tweak in the Windows Registry but before you do that, make sure that you create a System Restore point first, after that, follow these steps:
  • Tap the Win + R keys to open Run and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to this registry path: HKEY_LOCAL_MACHINESYSTEMMountedDevices
  • From there, check if a device is shown as being mounted at the specific drive letter and then right-click on that drive letter.
  • Select the “Rename” option from the right-click menu to change the letter to any other available letter.
  • Exit the Registry Editor and restart your computer.

Option 4 – Try to format the destination drive

Formatting the drive can also help you resolve the error. To format it, follow these steps:
  • 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
The system found unauthorized changes
If your Windows computer is not booting up and displays Secure Boot Violation – The system found unauthorized changes on the firmware, operating system, or UEFI drivers error message on the screen, then you can follow this tutorial to troubleshoot the problem. When you encounter this kind of problem on your computer, you will get the following error message on your screen:
“Secure Boot Violation The system found unauthorized changes on the firmware, operating system, or UEFI drivers. Press [OK] to run the next boot device or enter directly to BIOS Setup if there are no other boot devices installed. Go to BIOS Setup > Advanced > Boot and change the current boot device into other secured boot devices.”
This kind of error message pops up due to the Secure Boot that protects your computer from running any non-OEM signed boot software during startup. In other words, the Secure Boot firmware is the one that scans for non-signed boot software each time your computer boots up and if it detects anything strange, it will block the boot and will display the error message. To fix this error, there are two things you can try. You can try to disable the Secure Boot or try using a System Restore Point. For more detailed instructions, refer to each one of the options provided below.

Option 1 – Disable the Secure Boot in the BIOS

Disabling the Secure Boot in the BIOS settings is definitely recommended to resolve the issue. To disable Secure Boot, here’s what you have to do:
  • First, boot your computer into Windows 10.
  • Next, go to Settings > Windows Update. From there, check if there is anything that you have to download and install if you see any available updates. Usually, OEMs send and update the list of trusted hardware, drivers, and operating systems for your computer.
  • After that, go to the BIOS of your computer.
  • Then go to Settings > Update & Security > Advanced Startup options. If you click on Restart Now, it will restart your computer and give you all the advanced options.
  • Next, select Troubleshoot > Advanced Options. As you can see, this screen offers you further options including System restore, Startup repair, Go back to the previous version, Command Prompt, System Image Recovery, and UEFI Firmware Settings.
  • Select the UEFI Firmware Settings which will take you to the BIOS.
  • From there, go to the Security > Boot > Authentication tab where you should see Secure Boot. Note that every OEM has its own way of implementing the options so it varies.
  • Next, set Secure Boot to Disabled and set Legacy Support to On or Enabled.
  • Save the changes made and exit. Afterward, your computer will reboot.

Option 2 – Try running System Restore in Advanced Startup Options

Since you probably can’t boot into your Windows 10 computer, you can try to run System Restore again in the Advanced Startup Options.
  • Boot your computer into the Advanced Startup Options screen.
  • From there, you will see some options to troubleshoot when you can’t log in to Windows in the usual way.
  • Now select Troubleshoot > Advanced Options > Command Prompt.
  • After that, type “rstrui” and hit Enter to execute the command which will start the System Restore process.

Option 3 – Make a proper bootable USB Drive/Stick

To make a proper bootable USB drive, you need to use the Windows Media Creation tool. The Media Creation tool in Windows allows you to use the ISO installation file to make a bootable device that you can use to install Windows on your PC. Note that this is kind of different from the usual installation process as it could erase your computer’s current settings and data on the primary drive. Thus, before you proceed, you need to backup all your data into some removable drive and then use the Media Creation Tool to make a bootable drive.
  • After making the bootable drive, you need to plug it into your computer and then reboot.
  • Next, tap the F10 or Esc key to open the boot options.
  • Now set the boot priority of the removable drive the highest. Once the setup comes forth, follow the next onscreen instructions and install Windows without any problems.
Read More
Disable Windows print spooler in PowerShell
The third time is charm saying goes but not when we are talking about Microsoft. Print spooler is again in focus, in a bad way. This is the third print spooler vulnerability to emerge in just five weeks. While a critical flaw was originally identified and patched in June, a similar flaw came to light shortly after and was subsequently patched (with mixed success). print spoolerMicrosoft is once again advising its customers to disable Windows print spooler after a new vulnerability that allows hackers to execute malicious code on machines has emerged. While a patch fixing the flaw will be released in due course, the most effective workaround currently on the table is to stop and disable the print spooler service entirely.
"An elevation of privilege vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights."

Stop this service right away or you are risking a potential attack.

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on Power Shell (admin)
  3. In Power Shell type in the following command to check if spool service is running: Get-Service -Name Spooler followed by ENTER
  4. If spooler service is running type in the next command to stop it: Stop-Service -Name Spooler –Force and press ENTER
  5. Then follow with this command to disable it at startup: Set-Service -Name Spooler -StartupType Disabled followed with ENTER
That’s it, we hope a patch will come soon for all the people that are using network printing and indeed need this service running in order to do work.
Read More
How to Fix the Waol.exe Error

Waol.exe Error - What is it?

Waol.exe is an executable file located in a subfolder of "C:\Program Files" - usually C:\Program Files\America Online 9.0a. Waol.exe is not a core file but it is an important part of AOL (American Online) utilities. It ensures the AOL programs run smoothly on your system. The Waol.exe error occurs when the AOL program fails to execute and run properly. The error message is displayed in the following format:

“Waol.exe has encountered a problem and needs to close. We are sorry for the inconvenience.’

Solution

Restoro box imageError Causes

Waol.exe error typically occurs when this executable file gets infected by a virus, Trojan, adware, or spyware. When this happens the file location also changes. Therefore the best way to verify if your PC is under attack by malicious software is to check the Waol.exe file location on your PC. If the file is found in some other location instead of its correct disk location, then you must immediately fix this error before the damage sets it. Malicious software like viruses and spyware are notorious for slowing down PC performance and besides they give access to hackers to break into your system and manipulate your confidential and private data saved on your PC. This exposes you to serious privacy errors and data security dangers including identity thefts, cybercrime, and data breaches. Furthermore, viruses can also corrupt the computer’s registry and lead to system failure and crashes.

Further Information and Manual Repair

To resolve Waol.exe error many PC users seek an antivirus. Though this also helps resolve the issue but you should know that an antivirus has certain limitations. It is known to slow down the system speed and will only remove viruses from your PC. This means if the virus has affected the registry of your PC, it will not resolve that, and to repair your registry you may then have to download a registry cleaner separately on your system thereby reducing the PC speed even more. To ensure all kinds of malware are removed and registry issues resolved along with system speed optimization, it is recommended to download Restoro. This is an advanced, innovative, and multi-functional PC repair tool deployed with a variety of powerful utilities. These include a registry cleaner and a system optimizer. It is safe, efficient, user-friendly, and compatible with all Windows versions including Vista, XP, Windows 7, 8, 8.1, and 10. The antivirus feature embedded inside this software detects scans and removes all malicious programs infecting your PC immediately. It resolves all your system’s privacy issues and makes sure that your system is inaccessible to hackers. Besides this, the registry cleaner removes files cluttering and damaging the registry and also restores it. With the help of the system stability detector, it detects errors causing PC slowdowns and resolves them too thereby boosting the speed of your PC dramatically. To resolve Waol.exe error right away, click here to download Restoro today.
Read More
Fix Can’t Find Games on Twitch
Can’t Find Games on Twitch is a common error happening to a vast variety of people. The issue can be traced back to browser issues to others like malware infection. In this guide, we will provide you with common fixes on how to overcome this issue so you can continue watching your favorite streamer.
  1. Sign out of Twitch, then sign back in

    If it is a browser issue or some glitch in the Twitch system simply signing out and then signing back in will solve the issue since information about the account will be resent to the twitch platform.
  2. Refresh the application

    Sometimes servers are having high traffic and can get overloaded, refresh the application in the upper left corner to reload content.
  3. Use browser instead of Twitch application

    If you are still having issues with the application, open the twitch website and access content there.
  4. Close twitch

    But in task manager. Sometimes just closing it via the X button is not enough, some glitches stay and the application is still running in the background. Open task manager and close it from there.
  5. Scan system for malware

    Scan the entire system for malware, various malware can halt twitch and cause issues.
  6. Reinstall application

    If everything else failed, reinstall the application.
Read More
How to Fix DISM Error 1726 in Windows 10
What is DISM Error 1726? Every time you encounter some issues in your Windows 10 computer, especially when it comes to corrupted system files, you can always use the SFC scan and if the SFC can isn’t able to resolve the issue, there is also the DISM tool you can use which usually resolve the vast majority of system file corruption sufficiently. However, there are times when even the DISM commands experience issues as well. Such is the case with the 1726 error: “The remote procedure call failed”.

Some users reported that this DISM problem happens right before the process is supposed to end. According to experts, this error in DISM occurs due to any of the following reasons:

  1. A third-party program might have interrupted the DISM operation and is the one that triggered the 1726 error: “The remote procedure call failed”.
  2. The error could also pop up when there is a pending corruption repair. This usually happens when you tried to run a DISM command previously that was terminated manually or was halted because of some malfunction.
  3. Lastly, the error could also occur because the process that’s responsible for the procedure is disabled or was prevented from running.
Whichever the case is, here are some suggestions that might help you in resolving the 1726 error: “The remote procedure call failed”.

Option 1 – Try updating your PC to the latest Windows build available

Since the problem is specific to certain builds in Windows 10, you need to make sure that your computer is updated before you try other troubleshooting steps. Thus, follow the steps below to update your Windows 10 PC.
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “ms-settings:windowsupdate” in the field and hit Enter to open the Windows Update screen.
  • After that, click on Check for Updates and then follow the next on-screen instructions to apply the latest Windows update.
  • Once the update has been installed, restart your PC and run the DISM command again and see if the problem is fixed.

Option 2 – Try to change the Startup Type of the Remote Procedure Call service

As stated early on, the error might also be caused by a disabled Remote Procedure Call service or RPC or that it might be prevented from running for some reason. In case you don’t know, RPC is the service control manager for both COM and DCOM servers and it’s responsible for performing object variation requests, exporting resolution as well as distributing collection for the servers. And so if the server is disabled, all programs that are using COM and DCOM including the DISM commands, will not function correctly. Thus, you need to make sure that the RPC service is scheduled to enable itself on every system boot. To do so, here’s what you have to do:
  • Tap the Win + R keys to open the Run dialog box.
  • Type “services.msc” in the field and hit Enter to open Services.
  • From there, scroll down until you see the Remote Procedure Call (RPC) service and then right-click on it and select Properties.
  • Then go to the General tab and change the drop-down menu next to Startup type to Automatic.
  • After that, click the Apply button and then OK to apply the changes made.
  • Restart your PC and run the DISM command once again at the next startup.

Option 3 – Try to modify the RpcSs registry key value

If the option didn’t work, you can also try enabling the RPC service using the Registry Editor. Before you proceed, make sure to create a System Restore point first and then follow the steps below afterward.
  • Tap the Win + R keys to open the Run dialog box.
  • Type “Regedit” in the field and hit Enter or click OK to open the Registry Editor. And if a User Account Control prompt appears, just click on Yes.
  • After that, navigate to this registry key: HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services RpcSs
  • After selecting the aforementioned registry key, go to the right pane and double-click on the Start value.
  • Next, change the Value data of start to 2 and click OK to save the changes made.
  • Exit the Registry Editor and restart your PC and check if the 1726 error in DISM has already been resolved or not.

Option 4 – Try to disable the Windows Search service temporarily

Some users also recommended disabling the Windows Search service for the meantime as it could be the one that’s interrupting the DISM process.
  • Tap the Win + R keys to open the Run dialog box.
  • In the field, type “services.msc” to open the Services window again and hit Enter to open it.
  • Next, scroll down over the services list and double-click on the Windows Update service.
  • Afterward, go to Windows Search properties and click the General tab and then click the Stop button to stop the service from running temporarily.
  • Now try running the DISM commands again and see if the problem’s fixed or not.
  • Restart the Windows Search service and then restart your PC as well.
Read More
CHKDSK cannot continue in read-only mode
As you know, the CHKDSK utility is proven to be one of the useful tools to fix any issues that concerns file system, storage, and disk. However, as useful as it may be, it is still not immune to issues as you could encounter errors when running it. One of these errors is the “One such error is the CHKDSK cannot continue in read-only mode” error. If you receive such an error message while running CHKDSK, then you’ve come to the right place as this post will help you sort the problem out. It is possible that the drive is read-only or that the Write Protection is enabled. It could also be that the drive is already being used and scanned by a different program or utility. To get rid of this error, there are a couple of suggestions you need to check out. You can try to run the CHKDSK utility from Recovery or run it on Boot. You could also try to disable Write Protection. For more detailed steps, follow the given instructions below.

Option 1 – Try to run the CHKDSK utility from Recovery

The first thing you can do to resolve the error in CHKDSK is to run the CHKDSK utility from Recovery. How? Follow these steps:
  • First, boot into the installation environment for Windows 10 from a Windows installation media.
  • Next, click on the “Repair your computer” option.
  • After that, select Troubleshoot > Advanced options > Command Prompt.
  • After opening Command Prompt, type this command and tap Enter: chkdsk <Partition Letter>: /r /f
  • Wait until the disk error checking process is completed.
  • Once it’s done, exit the Command Prompt window and restart your computer and then see if the error is fixed.

Option 2 – Try running the CHKDSK utility on Boot

On the other hand, you can also try to run the CHKDSK utility on Boot so you can fix the error and recover any damaged segments of the drive.
  • Open an elevated Command Prompt and enter this command: chkdsk /r
  • After that, you will a message that says, “Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)”
  • Type Y and tap Enter to schedule a CHKDSK scan once your computer reboots next time.

Option 3 – Try to remove the Write Protection from the drive

As mentioned, removing the Write-Protection on the concerned drive could also help you fix the problem and there are two ways to get rid of the write protection – you can either use the Diskpart utility or the Registry Editor. How? Refer to the following steps.

Via Diskpart utility:

  • Open Command Prompt with admin privileges and then type the “diskpart” command and tap Enter to execute it.
  • Next, type “list disk” and tap Enter to get the list of all the Disk connects or all the partitions that are formed on those disks.
  • After that, you need to choose one command depending on the list of commands you entered. Type “select disk #” and tap Enter to select the disk or partition you want to select.
  • Then type “attribute disk clear readonly” and tap Enter to Disable the Write Protection on the selected disk or partition.

Via Registry Editor:

  • Tap the Win + R keys to open the Run utility and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to the following registry key:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies
  • After that, look for the DWORD named “WriteProtect” and double click on it, and then set its Value Data to “0”.
  • Now restart your computer and see if the problem is now fixed or not.
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