Logo

Fix “Diskpart failed to clear disk attributes”

If you encounter the “Diskpart failed to clear disk attributes” error when you try to change the read-only state of a storage device using the Diskpart application and the request is denied, worry not for this post will give you a couple of fixes to resolve the problem. As you know, Diskpart is used for resolving read-only storage devices by changing their attribute via the command line. So if it is not able to change the attribute of the storage device, then you will most likely encounter an error such as this one. This kind of error is not uncommon and as long as there are no damaged physical attributes, you can resolve it right away.

There are tons of reasons why you’re getting this error while using Diskpart, it could be that the storage device has a physical write-protected switch or the disk is hidden or has bad sectors. It could also be because the storage drive might be in RAW format or that you are running the Diskpart application without admin privileges. Whatever the cause may be, here are some options you can try to fix the problem but before you proceed, make sure that you log on to your PC as an administrator.

Option 1 – Check if there is a physical switch on the storage device

There are some USB devices and SD card readers that have a write-protected physical switch that disables all the writable options on the storage device and so if it is turned on, Diskpart won’t be able to change the disk attribute to writable. To check, simply look for the physical switch on both sides of the device and once you found it, make sure that it is toggled off and then plug the storage device back in then try running Diskpart once again.

Option 2 – Modify the WriteProtected key in the Registry Editor

Before you proceed, you have to create a System Restore Point first.

  • Tap the Win + R keys to open Run and type “Regedit” in the field and hit Enter to open the Registry Editor.
  • Next, navigate to the following path:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies

  • After that, look for the “WriteProtect” registry entry which is located on the left side of the window, and then double click on it.
  • Change its value to “0” and click OK to save the changes made and exit the Registry Editor.

Option 3 – Run CHKDSK to check the drive for errors

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 “Diskpart failed to clear disk attributes” 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 4 – Clear the attributes on RAW

  • Tap the Win + S keys then type “diskpart” in the field.
  • Click the Diskpart application and if a User Account Control dialog box pops up, click Yes to proceed.
  • After opening an elevated Command Prompt, type in the commands listed below and make sure to tap Enter right after you key in one command after the other.
    • list volume
    • select volume ‘n’ (In this command, you have to replace ‘n’ with the volume number of the drive)
    • format fs=fat32 quick (In this command you also have the flexibility to change the format to ‘ntfs’ or ‘exfat’)
  • After executing the commands given, unplug the removable storage device and wait for a couple of seconds and then plug it back in.
  • Now try any normal write operations and see if the error no longer appears.

Option 5 – Try checking the hardware components

On the other hand, it is also possible that the issue has something to do with a hardware problem and so you need to check the hardware components on your computer to determine that.

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 0x8000ffff error in Windows 11
Error 0x8000ffff prevents you from using the Microsoft store. Altho it is not a critical error that will break Windows, it is annoying enough that will require fixing so we can use the store once again and install apps when we want to. Interesting thing is that this error was present inside Windows 10 as well causing some annoyance, you think Microsoft would learn, and then you see reality. Anyway, we have not come here to bash Microsoft, we came to solve errors. 0x8000ffff errorSo there are several problems that can cause this error like issues with accessing the Microsoft servers, corrupt system files, settings being misconfigured, malware infections, or conflicting applications. We will cover all solutions for each scenario taking approaches from most simple solutions to more complex ones. Follow the guide and let's fix this annoyance.

Wait for Microsoft's servers to become accessible

Yes, just wait. If the problem is tied to Microsoft servers having heavy load or being temporarily down there is not much you can do except for their tech team to resolve the issue. Go to Twitter or Facebook and check the Microsoft page to see if anyone else has this issue, if several people are reporting the same error then it is due to server problems. In this case, the only thing you can do is to wait.

Run troubleshooter

If servers are working fine then the issue is within your system so let's get down to fixing. Most simple and easiest solution is to let Windows try and resolve the problem by itself. We will use troubleshooter for this, Windows's integrated fixing solution: Press ⊞ WINDOWS + I to open the settings app Click on System in the left panel, then on Troubleshoot on the right Click on Other troubleshooters In most Frequent section find Windows Update and click on the Run button Wait for the troubleshooter to finish and follow on-screen instructions

Clear Store cache

If the troubleshooter has not found the issue or was unable to repair it, the next step is cleaning the Microsoft store cache in order to eliminate corrupted or partial cache files. Press ⊞ WINDOWS + R to open the run dialog In run dialog type in: wsreset and press OK or press ENTER A black screen will appear and it will not give any kind of feedback about progress, so it might seem like Windows has frozen, but do not panic nor try to do anything, this kind of behavior is normal, just wait for the process to finish and once it is done Microsoft store will launch with the cleared cache.

Disable Proxy

Proxy setting can interfere with establishing a connection to the store servers and if previous solutions have not worked we will check proxy next. Press ⊞ WINDOWS + R to open the run dialog Inside run dialog type: inetcpl.cpl and hit ENTER or press OK button Inside Internet Properties click on the Connections tab and then on LAN settings Uncheck the box next to Use a proxy server for your LAN and click on OK

Turn off antivirus

If nothing worked so far, turn off your anti-virus software, there is a slight possibility that your antivirus is misconfigured or preventing the system from accessing the store. Turn off antivirus and firewall to make sure that this is not an issue.

Delete the software distribution folder

So, we have tried a lot of things, and the error still persists? Let's then go to the next step and delete the software distribution folder in order to be remade new so we can eliminate corruption in the folder itself. To do this follow the guide: Press ⊞ WINDOWS + S to open the search menu Inside search type in Windows terminal, right-click on the terminal and click on Run as administrator. Confirm with YES on UAC prompt pop up Inside terminal press CTRL + SHIFT + 2 to open command prompt inside command prompt type in: net stop wuauserv and press ENTER Then type in: net stop bits followed with ENTER Next press ⊞ WINDOWS + R to open the run dialog Inside run dialog type in C:\Windows\SoftwareDistribution and press the OK button or ENTER File Explorer will open and you will find yourself inside SoftwareDistribution folder. Press CTRL + A to select all files inside Press on the delete icon or press DEL, confirm with YES Once all files are deleted, the system will redownload new ones.

Enable Cryptographic service

Windows 11 has come with a cryptographic service that aims to make your computer more secure but if the service is turned off it can be the cause of 0x8000ffff error. In order to turn this service back ON, follow the guide: Press ⊞ WINDOWS + R to open the run dialog In run dialog type in services.msc and press ENTER or click on the OK button In the list find Cryptographic Services and double click on it Inside properties click on Startup type dropdown menu and select Automatic from the list Click on the Start button to run service and then on the OK button to save the changes

Run SFC scan

SFC is an internal Windows tool for fixing corrupt system files, application will scan all system files and repair ones that are corrupted. To run an SFC scan do the following: Press ⊞ WINDOWS + S to open the search menu Inside search type in Windows terminal, right-click on the terminal and click on Run as administrator. Confirm with YES on UAC prompt pop up Inside terminal press CTRL + SHIFT + 2 to open command prompt inside command prompt type in: SFC /scannow and press ENTER Wait for the whole process to finish and reboot your system

Run DISM scan

Similar to SFC, DISM scan will scan your system Windows image and if required it will repair it. Press ⊞ WINDOWS + S to open the search menu Inside search type in Windows terminal, right-click on the terminal and click on Run as administrator. Confirm with YES on UAC prompt pop up Inside terminal press CTRL + SHIFT + 2 to open command prompt inside command prompt type in: DISM /Online /Cleanup-Image /RestoreHealth and press ENTER Wait for the whole process to finish and restart your computer
Read More
Alt-tab that is broken with KB5005033 update
Alt-tabLately, Microsoft has trying to fix Print Nightmare with various methods and patches. The last patch has seemingly fixed Print Nightmare but it has broken the Alt-tab key combination. It has been reported that the latest patch has broken famous key combinations for quickly switching from window to window. It seems that combination is not working or it is switching to desktop, even going to blank screen if switching from the full-screen game.

Fixing the issue

Luckily this issue is easily fixable. The first and easier fix for this issue is surprising to turn off the news and info widget, right-click on it and choose News and interests and then click on turn off. The second solution would be to uninstall the update. Go to Settings, then to Update & Security, and from there view Update History and remove the update.
Read More
How to Fix 0x8007043c Error Code

What is 0x8007043c Error Code?

Have you ever come across 0x8007043c error message pop up on your PC? If yes, then you should know that this error message is generated when any corresponding process or operation cannot be completed successfully by the application. This is a critical Windows OS Error message that should be fixed immediately.

Solution

Restoro box imageError Causes

The 0x8007043c error code is usually triggered by the following reasons:
  • Missing or corrupt registry files
  • Failure to update Windows Installer
  • Viruses and Spyware
Common signs of this error code are pop-up messages, program lock-ups, problems with opening documents, and screen freeze.

Further Information and Manual Repair

As soon as you experience this error on your PC, it is advisable to repair it immediately because this error poses high-security risks. Malwares and viruses are notorious for data theft. To fix the 0x8007043c error on your PC, you don’t need to take on the services of an IT professional. This error code is rated as easy to repair. By following the instruction and repair solutions given below, you can easily fix this Window error 0x8007043c in a couple of minutes by yourself. Here’s what you need to do:

Step 1: Scan for Viruses and Spyware

To stop hackers from sneaking into your PC and stealing your confidential data, you must first scan your computer for viruses and spyware on your PC. It is advisable to use a powerful antivirus to ensure your computer is totally virus and spyware clean.

Step 2: Download and Install a Registry Cleaner

After you scan for viruses, you should now download and install a registry cleaner. This is needed because an antivirus does not detect corrupt registry entries. To detect such entries, the registry cleaner tool is the best. After you download a registry cleaner on your system, click the scan button. You will have to wait for a few seconds for the scanning to finish. Once the scanning is complete, click on the ‘Repair’ button to fix the errors. After fixing all the errors, restart your computer. This is important because the registry changes will only come into effect after the system restarts. By following these 2 simple steps, you can easily resolve the 0x8007043c error on your system. However, to prevent this error from occurring again, it is recommended to run the antivirus every time you use your PC.
Read More
A command is not recognized Error in Windows
A command is not recognized Error, what it is? If you are constantly using programs like CMD or DISM directly from the Run prompt, you might have wondered how they launched instantly and how is it that the Windows operating system is able to find them right away. For instance, when you create a shortcut of a program, the shortcut knows where exactly the program is located and launches it quickly. The Windows operating system keeps a list of paths where the most common system programs are located so when you use the Run prompt, it opens easily. The list kept by Windows is called the Windows Environment Variables. If something goes wrong with this list, the programs won’t work. So in this guide, you will be guided on how you can troubleshoot the problem where any command you use is not recognized as an internal or external command, operable program, or batch file. Before you start troubleshooting the problem, you need to make sure that the program you are trying to run really exists. In fact, this can also happen to the Run program which is pulled up using the Win + R shortcut. To check, go to C:\Windows\System32 and there, check if the program exists or not or you can also try searching for the EXE in the System 32 folder. After making sure that the program exists, refer to the instructions given below.

Modify the Windows Environment Variables:

  • Step 1: Tap the Win + X keys and then select System. After that, it will open the section where you can see all the properties on your computer.
  • Step 2: Next, select the Advanced system setting located on the left pane and click on the Environment Variables.
  • Step 3: After that, locate Path under the System Variables and select EDIT.
  • Step 4: Before you edit, you need to copy the entire string and paste it into the Notepad app so that in case something went wrong, you can paste it back.
  • Step 5: Next, look for the directory path, “C:\Windows\System32”. If you can’t find it, try adding a semi-colon at the end.
  • Step 6: Afterwards, click OK to save the changes made and then exit.
  • Step 7: Now restart your computer as all the paths are picked up when your computer restarts.
Note: Now all you have to do is to try executing the programs once again – the ones where you got the error, “ is not recognized as an internal or external command, operable program or batch file” every time you open them and then see if you can now open these programs or not.
Read More
New MS Surface coming in October

In the Windows ecosystem, MS Surface laptops are among the best laptops on the market, they are regarded as equivalent to Apple MAC laptops but for Windows. Microsoft Fall 2022 Event will be held on October 12th at 10 AM. The event itself will be held right before it kicks off its annual, developer-focused Ignite event in Seattle from that same day through October 14.

ms surface pro

This event is the first in-person event that Microsoft has held since the beginning of the pandemic. We expect the launch of the Surface Pro 9 and the Surface Laptop 5, and maybe Surface Studio 3 as well. There are also some rumors about products themselves like choices between an ARM or x86 CPU but nothing is confirmed so far, we can just wait and see.

Read More
How to see your Wi-Fi password in Windows 11
Each time you connect to a Wi-Fi network your PC saves that network password. If for any reason you need to see this password or passwords there are ways you can do it and we are here to show you how. Wi-Fi passwordHello and welcome to error tools where we aim to help you with all of your Windows problems and issues, where we offer our insight on various topics and sometimes go offroad and write something crazy. This time we will offer you a way on how to easily and quickly see how can you find out your memorized Wi-Fi password.

Find your W-Fi password

  1. Make sure that you are connected to the Wi-Fi network you wish to find out the password of
  2. Open Windows Settings app by pressing ⊞ WINDOWS + I
  3. On the left side choose Network & Internet and click on it
  4. Click on Advanced Network Settings
  5. Inside Advanced Network Settings go to Related Settings
  6. Select More Network Adapted Options
  7. Right-click on your adapter and select Status
  8. Click on Wireless Properties
  9. Click on the Security tab
  10. Click on enable on Show Character box beneath Network Security key to reveal Wi-Fi password
Read More
How to Resolve Socket Error 10060

Socket Error 10060 - What is it?

Socket Error 10060 is basically a connection time-out error. This error occurs when the remote FTP server does not respond to CuteFTP. This time-out error occurs after an FTP session is established but even the server doesn’t respond. The error message is displayed in the following format:
‘Connection timed out. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host failed to respond.’

Solution

Restoro box imageError Causes

Socket Error 10060 may occur due to multiple reasons including:
  • Blocked port
  • Data connection incorrect settings
  • When the web proxy connection setting does not allow enough time to receive a response from the destination website and therefore the connection is timed-out.
  • Registry issues
  • Viral infection

Further Information and Manual Repair

Here are some of the best and quick DIY methods to resolve Socket Error 10060 on your PC.

Method 1: Troubleshoot the Web Proxy Connection

This method is workable and effective if Socket Error 10060 occurs only when the web proxy service is used. To execute it, here’s what you need to do: install the Winsock Proxy Client on your PC. Disable the web proxy settings under the LAN settings on the Connections tab of the internet options. Once you disable the settings, then try to go to the website that you giving you the error. If the site is accessible, the error is resolved.

Method 2: Increase Web Proxy Time out Settings

If disabling the web proxy settings doesn’t work, then try increasing time-out settings. To do so, you will also have to modify the registry. Remember serious problems may occur if you modify the registry incorrectly.
  • Here’s what you need to do, click start, run and then type Regedit in the dialogue box.
  • Navigate to the following registry subkey: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW3ProxyParameters.
  • On the right side of the Registry Editor, right-click Request TimeoutSecs and then click Modify.
  • Click decimal, they type the number of seconds that you want the proxy service to wait until the session times out.
  • To confirm changes, click OK.
  • Now restart WWW publishing service by going to start, run and type cmd. Click OK to continue.
  • Type net stop iisadmin/y and then press enter. After that type net start iisadmin /y and then press enter. Test the new settings by going to the website that displayed the Socket Error 10060 message.

Method 3: Switch from Passive Mode to Active Port Mode

This method is effective if the error occurs due to incorrect data connection settings. CuteFTP uses passive mode by default so to ensure the error is resolved, you may have to switch from passive mode to active port mode. To make this switch, open the site manager and then click once on the name of the problem website. Now on the Type tab change the data connection type to use the port.

Method 4: Configure Firewall Settings

Sometimes the error may also occur due to Firewall.  To resolve, configure Firewall settings to allow FTP protocol.

Method 5: Download Restoro

Whether the error occurs due to viral infection or registry issues, it is advisable to download Restoro. This is an advanced and multi-functional PC fixer embedded with multiple utilities like antivirus and a registry cleaner. The registry cleaning utility removes junk files, cookies, and invalid entries damaging the registry. It cleans, repairs, and restores the registry while the antivirus removes all types of viruses like spyware and Trojans in seconds thereby resolving socket error code 10060. It is safe, user-friendly, and compatible with all Windows versions. Click here to download Restoro today.
Read More
Error occurred while checking for updates in VLC
There is no doubt that the VLC media player is one of the best kinds of media players available today. However, it is not without any issues and one of the common issues encountered by users is VLC’s inability to be updated. And when you try to update VLC, you only get an error message saying, “An error occurred while checking for updates”. This inability to update VLC can be quite a headache for many users especially the ones who are facing other issues in VLC and has to update it in order to resolve them. So how will you update VLC and fix its issues when you can’t even update it in the first place? Worry not as this post will help you out. Refer to the suggestions laid out below to resolve the issue in updating VLC.

Option 1 – Check if VLC is not being blocked by the Firewall

There are instances when the Firewall like the Windows Defender Firewall blocks VLC for some unknown reason without your knowledge. Thus, you need to allow VLC to get past the Firewall in order for you to fix the issue else you won’t be able to send out a network communication. To do that, follow the steps below.
  • Tap the Windows key + I to open the Settings app.
  • Then click on the Update & Security option.
  • After that, click on Windows Security and click the Open Windows Defender Security Center option. This will open the Windows Defender antivirus and antimalware program.
  • From there, click on Firewall & network protection.
  • Next, click on Allow an app through Firewall. You should see a list of programs. Scroll down until you see VLC and make sure that all the boxes are ticked including the Public and Private ones.
  • Once you’re done, restart your PC and then try updating VLC again.
  • Just open VLC and select the Help menu and click on Check for Updates.

Option 2 – Try running the VLC media player as an administrator

There are programs designed for Windows 10 that won’t work fully unless some parameters are met. In most cases, starting the program as an admin should resolve the problem, thus, that’s what you have to do to try and fix the “An error occurred while checking for updates” in VLC.
  • First, right-click on the VLC Media Player desktop icon and then select the “Run as administrator” option or you could also right-click on the icon and click on Properties.
  • After that, click the Compatibility tab and then tick the box labeled “Run this program as an administrator”.
  • Next, click the OK button and then open VLC again and try updating it. That should fix the problem.
Read More
Remove login screen in Windows 10
Each time we turn ON our computer or wake it from hibernation we are greeted with a Windows login screen where we need to provide login credentials in order to get into Windows itself and start working. This method of preserving data and privacy is perfectly fine and as a matter of fact, it is recommended for mobile computers but if you have a home computer in a safe environment where no one will try to look at your data or rummage through your personal stuff then removing login screen is safe enough action and can cause you a lot piece, from time-saving to less frustration on every restart or sleep action. In previous Windows versions, it was much easier to turn off this feature but it seems Microsoft has determined that our privacy and security are important and somewhat removed the ability to turn OFF the lock screen. In this guide, we will show you how you can still remove the lock screen and automatically log in with your account like in the good old days. The first thing you need to do is to press ⊞ WINDOWS + R  to bring up the Run dialog keyboard with windows and r markedIn the dialog, type in netplwiz and press ENTER. run dialog with netplwiz typed inYou will find yourself in the User Accounts window, inside deselect Users must enter a user name and password to use this computer. Press OK user accounts windowSign in the window will pop up where you will have to type in your password and confirm it in order to start the feature. automatically sign in dialogAfter typing in your password and confirming it, press OK. That's it, next time you wake your computer from hibernation or turn it ON, you will automatically be greeted with a desktop instead of a Windows login screen.
Read More
Fix Page Fault in Non-Paged Area in Windows 10
Page Fault in Non-Paged Area is a blue screen error usually happening with faulty drivers but it can come from different issues like faulty RAM. In this short article, we will cover usual ways on how to approach and solve this error.

Solving Page fault in Non-Paged Area

Page Fault in Non-Paged AreaRollback using system restore

Simple and easy solution, roll back to the previous system restore point where Windows was stable and working.

Fix Page Fault in Non-Paged Area using device manager

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on device manager
  3. Find a device with a question mark and right-click on it
  4. Click on the rollback driver button

Fix via command prompt

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on command prompt (admin)
  3. Inside command prompt type in SFC / scannow and press ENTER
  4. Wait for the process to be finished and then reboot the PC

Fix via DISM tool

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on command prompt (admin)
  3. Inside command prompt type in DISM /Online /Cleanup-image /Restorehealth and press ENTER
  4. Wait for the process to be finished and then reboot the PC

Page fault in Non-Paged Area via a dedicated tool

Sometimes manual and provided solutions just simply cannot cut it because the issue is triggered also with something else and not just a single issue. Use DRIVERFIX to fix this specific issue with a single click.
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