Attributes

 

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Displays, sets, or clears the attributes of a disk or volume.

Syntax

Attributes disk
Attributes volume

Parameters

Parameter

Description

Attributes disk

Displays, sets, or clears the attributes of a disk.

Attributes volume

Displays, sets, or clears the attributes of a volume.

Additional references

Command-Line Syntax Key

DiskPart Commands