Software⏱️ 4 min read📅 2026-06-15

How to Fix: How to clear hidden attribute from partition if "attributes volume clear hidden" fails with "Virtual Disk Service error: The object is not found."

Windows 8, Lenovo IdeaPad U410, BIOS update, hidden attribute, diskpart, Virtual Disk Service error

Quick Answer: Run a BIOS update on Windows 8 to clear the hidden attribute from the partition.

The 'attributes volume clear hidden' command in Diskpart fails with a 'Virtual Disk Service error: The object is not found.' message, which can be frustrating for users trying to remove hidden attributes from partitions. This issue typically affects Windows systems running on UEFI firmware and may occur after modifying the partition table using tools like GParted.

The problem of removing hidden attributes from partitions in Diskpart can be particularly vexing when the 'attributes volume clear hidden' command fails with an error message indicating that the object is not found. In such cases, users may need to resort to alternative methods to resolve the issue.

⚠️ Common Causes

  • The primary reason for this error is that Diskpart is unable to locate the virtual disk object associated with the partition. This can occur when the partition table has been modified using a tool like GParted, which may not be recognized by Diskpart. Additionally, if the system has moved from BIOS to UEFI firmware, it may also cause issues with Diskpart's ability to locate the virtual disk object.
  • An alternative reason for this error is that the 'attributes volume clear hidden' command may have been run on a partition that was not properly initialized or mounted in Diskpart. In such cases, Diskpart may not be able to locate the virtual disk object associated with the partition.

🚀 How to Resolve This Issue

Method 1: Using Diskpart's 'select disk' and 'attributes volume clear hidden' commands

  1. Step 1: Open the Diskpart command prompt and select the disk containing the partition that you want to remove the hidden attribute from. Use the 'select disk' command followed by the number of the disk (e.g., 'select disk 0').
  2. Step 2: Once the disk is selected, use the 'attributes volume clear hidden' command to remove the hidden attribute from the partition. Note that this command may still fail with an error message indicating that the object is not found.
  3. Step 3: If the 'attributes volume clear hidden' command fails, you can try using the 'clean' command followed by the name of the disk (e.g., 'clean disk 0'). This will delete all data on the disk and reset it to its original state. Note that this will erase all data on the disk, so use with caution.

Method 2: Using a third-party tool to remove hidden attributes

  1. Step 1: Download and install a third-party utility such as DiskGenius or EaseUS Partition Master. These tools can be used to remove hidden attributes from partitions without using the 'attributes volume clear hidden' command in Diskpart.
  2. Step 2: Once the tool is installed, open it and select the partition that you want to remove the hidden attribute from. Follow the tool's instructions to remove the hidden attribute from the partition.

✨ Wrapping Up

In summary, if the 'attributes volume clear hidden' command fails with an error message indicating that the object is not found, users can try using Diskpart's 'select disk' and 'clean' commands or a third-party tool such as DiskGenius or EaseUS Partition Master to remove the hidden attribute from the partition. Remember to back up any important data before attempting to remove the hidden attribute.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions