Skip to main content

USB Drive Read-Only Setup Guide

Run file  USB_Write_Protector.bat as Administrator

 

======================================================
         USB READ-ONLY MANAGER (DISKPART)
======================================================


Microsoft DiskPart version 10.0.26100.1150

Copyright (C) Microsoft Corporation.
On computer: ADS-PENTAHO

DISKPART>
  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          476 GB  1024 KB        *
  Disk 1    Online          119 GB      0 B

DISKPART>
[1] Lock USB (Set Read-Only)
[2] Unlock USB (Make Writable)
[3] Check Current Status (Default)
[4] Exit

Choose an option (1-4) [Default: 3]: 1

Enter the DISK NUMBER: 1

Executing command set readonly for Disk 1...


Microsoft DiskPart version 10.0.26100.1150

Copyright (C) Microsoft Corporation.
On computer: ADS-PENTAHO

Disk 1 is now the selected disk.

Disk attributes set successfully.

SanDisk Extreme Pro USB Device
Disk ID: 00000000
Type   : USB
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : Yes
Read-only  : Yes
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 3     D   SupMentos    NTFS   Removable    119 GB  Healthy

======================================================
Command completed.
======================================================
Press any key to continue . . .