Resolves Windows 2008 the disk is offline because of a policy set by the administrator

Source: Internet
Author: User

Operating system
Windows 2008r2
Problem description
A hard drive that increases when you buy.
Tip: The disk is offline because of the policy set by the administrator.


Solution

To run the DiskPart command to release related policies

The order is as follows:


DISKPART
Diskpart> San
Diskpart> San Policy=onlineall
Diskpart> list Disk
Diskpart> Select disk 1
Diskpart> attributes disk Clear readonly
diskpart> Online disk

The following is a successful picture. Note that when you select a disk number


Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\users\administrator>diskpart

Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On the computer: 10_237_136_176

Diskpart> San

SAN policy: Making shared disks offline

Diskpart> San Policy=onlineall

DiskPart has successfully changed the SAN policy for the current operating system.

Diskpart> list Disk

Disk ### state size available Dyn Gpt
--------  -------------  -------  -------  ---  ---
Disk 0 Online GB MB
Disk 1 offline GB

Diskpart> Select disk 1

Disk 1 is now the selected disk.

Diskpart> attributes disk Clear readonly

The disk properties have been purged successfully.

diskpart> Online disk

DiskPart successfully brought the selected disk online.

Diskpart>
The following figure is the cmd command run diagram

After the operation is successful, it is generally shown as the following figure. We format the associated disk to complete.


Since speaking of DiskPart command, the following article. I'll give you a detailed description of the common specifications of the DiskPart command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.