디스크 특성 제거
#Attributes Disk
"option
읽기전용 attributes disk set readonly
특성제거 attributes disk clear readonly
참조: https://pario.no/2011/05/23/clear-read-only-flag-on-disk-in-windows-7-using-diskpart/
This is a short HOWTO clear the read-only/readonly flag/attribute on a disk in Windows 7 using the diskpart command from a Windows Command Prompt.
Warning!
Be sure to do this on the right disk since the diskpart command can do serious damage if you run it on the wrong disk.
- Open a command window by running the diskpart command from a Command Prompt
- Determine which disk you are going to modify:
DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 149 GB 1024 KB Disk 1 Online 465 GB 465 GB
- Select the disk you are going to modify
DISKPART> select disk 1
You have now selected disk 1
list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 149 GB 1024 KB * Disk 1 Online 465 GB 465 GB
- Clear the Read-Only attribute on the selected disk
DISKPART> attributes disk clear readonly
The disk is no longe Read-Only protected.
If you would like to set the disk Read-Only again just do the same procedure and write
DISKPART> attributes disk set readonly
in the last operation.
When you are done modifying the disk attributes just issue the exit command
DISKPART> exit
and the diskpart windows will be closed.
'WINDOWS' 카테고리의 다른 글
[윈도우] 서버 명령어 종료 및 재부팅 (0) | 2018.05.21 |
---|---|
[윈도우] 드라이브명 변경 (diskpart 활용) (0) | 2018.05.18 |
윈도우 서버 Ping(핑) 허용 (0) | 2015.07.09 |
윈도우 서버 암호 복잡성 설정/해제 (0) | 2015.07.09 |
DISKPART > GPT 디스크 설정 (0) | 2015.06.22 |