Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

02-prepare lab environment (batch cloning)-011-DiskPart encounters error media protected by write

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Project issues:

In Windows 2019 Core, two 100GB hard disks were added, and after Sysprep encapsulation, virtual machines were generated in batches.

When using drive D, you will see "Disk Encountered Error: Media is Write Protected." "This kind of problem.

Solution:

C:\Users\Administrator>DiskPart

Microsoft DiskPart version 10.0.17763.1

Copyright (C) Microsoft Corporation.

On computer: 011-DC01

DISKPART> List Disk

Disk ###Status Size Available Dyn Gpt

-------- ------------- ------- ------- --- ---

Disk 0 Online 100 GB 0 B *

Disk 1 Online 100 GB 0 B

DISKPART> Select Disk 1

Disk 1 is now the selected disk.

DISKPART> Attributes Disk Clear ReadOnly

Disk properties cleared successfully.

DISKPART> List Volume

Volume ### LTR Label FS Type Size Status Information

---------- --- ----------- ----- ---------- ------- --------- --------

Volume 0 Z DVD-ROM 0 B No media

Volume 1 Recover NTFS Disk Partition 499 MB Normal

Volume 2 C System NTFS Disk Partition 99 GB Normal Boot

Volume 3 FAT32 Disk Partition 99 MB Normal System

Volume 4 D DATA NTFS Disk Partition 99 GB Normal

DISKPART> Exit

Exit...

C:\Users\Administrator>

This article is finished!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 203

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report