How to only write protect a single partition on USB flash drive

Page 1 of 2 12 LastLast
  1.    #1

    How to only write protect a single partition on USB flash drive


    Hi. I am looking (so far unsuccessfully) for a way to write-protect (set as read only) a single partition (i.e. a volume) of my usb pen so that the write protection (read-only) carries thru when I use it on other machines.

    My point is that I have a usb pen that I carry around and work on on various machines. I've partitioned the pen in 2 partitions so one is where I work on (I write on) and the other is my own database, which I want to lock as read-only. Reason being is that the various machines I work on have anti-vir systems and those go ahead, scans my pen and deletes my private stuff on it (even delete files inside archives [Kaspersky did that]).

    DISKPART and 'att vol set readonly' does not work - says 'operation not supported on removable media'.

    To narrow things down - I'm only working on Windows 7 and 10 machines, no other OS.

    As I said - I don't want to set the whole disk(drive) as read-only. Instead I want to set a single partition (volume) from it as read-only.
      My ComputerSystem Spec

  2.    #2

    If anyone should want to ask why I split it in 2 partitions (volumes) - because 1 is FAT32 and the other NTFS for varying purposes.
      My ComputerSystem Spec

  3. Mr Bee's Avatar
    Posts : 12
    Windows 10 Pro 64-bit
       #3

    I think it's setup so as to only be able to protect the drives and not the volumes. I may be proved wrong though!
      My ComputerSystem Spec

  4.    #4

    If its ntfs you could set permissions
      My ComputerSystem Spec

  5. Mr Bee's Avatar
    Posts : 12
    Windows 10 Pro 64-bit
       #5

    Samuria said: View Post
    If its ntfs you could set permissions
    So what your saying is the ntfs section can be manipulated to protect, but your unsure as to whether the FAT32 can? If anyone would like to jump in here...
      My ComputerSystem Spec

  6. Mr Bee's Avatar
    Posts : 12
    Windows 10 Pro 64-bit
       #6

    soewhaty said: View Post
    If anyone should want to ask why I split it in 2 partitions (volumes) - because 1 is FAT32 and the other NTFS for varying purposes.
    This may reason out your problem!
    How to write-protect USB pen? - Windows 10 Forums
    Comment 5
      My ComputerSystem Spec

  7. Mr Bee's Avatar
    Posts : 12
    Windows 10 Pro 64-bit
       #7

    Which do you want to protect. Windows or FAT32.
    If windows it's likely only the disk can be done!
      My ComputerSystem Spec

  8.    #8

    Samuria said: View Post
    If its ntfs you could set permissions
    Yes .. elaborate on that pls in the context of what I'm asking for. Context being - I carry my USB around and work on it on various Windows machines. I've partitioned the pen in 2 partitions so one is where I work on (I write on) and the other is my own database, which I want to lock as read-only.


      My ComputerSystem Spec

  9.    #9

    Mr Bee said: View Post
    This may reason out your problem!
    How to write-protect USB pen? - Windows 10 Forums
    Comment 5
    Thanks, I already addressed this issue in the OP, saying that I work with my USB pen on various Windows machines only. So... the whole point is not to set up 1 PC to not write on pen drives or not to write on a particular pen drive but rather the other way around - manipulate the pen drive itself so taken to any Windows machine it stays read only ...
    Last edited by soewhaty; 5 Days Ago at 16:32.
      My ComputerSystem Spec

  10.    #10

    soewhaty said: View Post
    I'm only working on Windows 7 and 10 machines, no other OS.
    IIRC, Windows 7 will only see first partition though. Have you tested your USB on 7 and it can see second partition?

    Windows seeing multiple USB partitions is new to Windows 10 (but see windows xp - USB sticks and multiple partitions - Super User for hacks on earlier versions).

    In any case anything you set (to be read only) can be undone unless you have a hardware switch (like on SD card) which applies to whole drive.

    Perhaps encryption (bitlocker, encrypted 7z/zip file or veracrypt container) would be a solution.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
I have (3) Microsoft brand 32 GB thumb drives that have Win 8.1 and preload software for my HP laptop, I have no use for them, and I'm certainly not ever going to put Win 8.1 back on my laptop, I spend most of time on my Surface and desktop PC,...
I have no need for a docking station but I want to try out the USB-C port and see what if any all of the fuss is about. In the past I never really paid to much attention to the controllers on the flash drives I have purchased which if I am not...
Create a single file to protect yourself from the latest ransomware attack | ZDNet
How to write-protect USB pen? in Drivers and Hardware
Hi. I'd like to write protect my usb pen drive (Kingston DataTraveler 2.0) but it has got no hardware switch. Is there any way to w/protect it via Windows 10 software? Thank you! Joe
I have a USB flash drive which for some reason is formatted with an active partition. I usually use Minitool Partition Wizard to set a partition as inactive but for some reason it doesn't work on this flash drive. I also tried booting from the...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 10:47.
Find Us