Restored disk on Windows Server 2003 marked as hidden or read-only

If you restore a disk on Windows Server 2003, you may discover that it has been marked as hidden or read-only, meaning you can't write or use the disk after you restart the computer.

According to Microsoft, what has happened is that the attribute flags on the disk have gotten reset. This can happen in either a low-level restore or a hardware disk swap.

The 'hidden' and 'read-only' attributes on Windows disks are controlled by flags saved on the disk as part of the configuration information. The flag values are cached when the disk is mounted. Until the system is restarted, it uses the cached flag values, which may not be the same as the values on the disk because of the restore or disk swap.

What makes this occurrence really mysterious is that when you use a utility such as Diskpart.exe to check the values of the flags, it returns the cached value, not necessarily what's on the disk.

To avoid the problem, Microsoft recommends that you reset any component to zero which does a restore involving either swapping disks or the on-disk data that contains the attributes after the restore is finished.

Microsoft also recommends resetting the following flags to 0 to make sure the on-disk and cached values are consistent:


Requires Free Membership to View

Microsoft discusses this issue in a Knowledgebase article.

About the author: Rick Cook specializes in writing about issues related to storage and storage management.

More information from SearchWinSystems.com

This was first published in July 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.