USB Passthrough - Write Protected

R3dM3at

New Member
Jun 18, 2024
18
4
3
Have a single Win 11 VM running on Proxmox 8.2.4. I can successfully insert a USB drive and access the files on it from the Win11 VM. I am, however, unable to copy/add any files/folders to the USB drive because the drive shows as wrote-protected. I've tried multiple USB drives and they work fine outside the VM environment. The drive is not showing up at all much less mounted in proxmox. Any help would be appreciated.

I'm a google searching Proxmox learner.
 

Attachments

  • usb.png
    usb.png
    24.5 KB · Views: 9
  • wp.png
    wp.png
    57.1 KB · Views: 9
Have you tried with another VM (Linux etc.)?
Why test with VLC and not a simple file copy?
 
Last edited:
Have you tried with another VM (Linux etc.)?
Why test with VLC and not a simple file copy?
Negative. Further testing this morning, I found that when trying to utilized the USB drive just in proxmox, when i mount it, i get a message that it will be mounted read only due to write protection. Put that same USB drive in my windows stand alone desktop and no write protection at all. Works fine.
 
I do see this in the System Log of Proxmox


aug 22 11:10:08 BANDBLEPVE kernel: usb 8-1.1: new SuperSpeed USB device number 5 using xhci_hcd
Aug 22 11:10:08 BANDBLEPVE kernel: usb 8-1.1: New USB device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00
Aug 22 11:10:08 BANDBLEPVE kernel: usb 8-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 22 11:10:08 BANDBLEPVE kernel: usb 8-1.1: Product: SanDisk 3.2Gen1
Aug 22 11:10:08 BANDBLEPVE kernel: usb 8-1.1: Manufacturer: USB
Aug 22 11:10:08 BANDBLEPVE kernel: usb 8-1.1: SerialNumber: 01012e6ce31b31f32e646d9acc02be8e3ecf08704042456abc5e49649bd3b969b1f100000000000000000000181bacc1ff1477009155810764aea763
Aug 22 11:10:08 BANDBLEPVE kernel: usb-storage 8-1.1:1.0: USB Mass Storage device detected
Aug 22 11:10:08 BANDBLEPVE kernel: scsi host0: usb-storage 8-1.1:1.0
Aug 22 11:10:09 BANDBLEPVE kernel: scsi 0:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
Aug 22 11:10:09 BANDBLEPVE kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Aug 22 11:10:09 BANDBLEPVE kernel: sd 0:0:0:0: [sda] 120127488 512-byte logical blocks: (61.5 GB/57.3 GiB)
Aug 22 11:10:09 BANDBLEPVE kernel: sd 0:0:0:0: [sda] Write Protect is off
Aug 22 11:10:09 BANDBLEPVE kernel: sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
Aug 22 11:10:09 BANDBLEPVE kernel: sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 
is a Win11 with some custom settings like Policies ?
try with another Win VM.
here passthrough usb hdd drive without problem, daily used for some backups.
I considered this as the VM i initially tried is in AD with a bunch of security policies and blocking USB drives is one of those policies, but my base image Win11 VM is a straight up installation of Win11 from the .iso. It's only got current windows updates. Not on the domain. It's like a home computer. I created that same Win11 install on a device without proxmox and USB drives work fine
 
Just to close this out. Turned out, for some reason, the base Windows 11 image I have, has a registry setting that enables write protection. When i use that same image on a physical machine, that registry setting was set to disabled. No idea why it is different when I install it as a VM on proxmox
 
  • Like
Reactions: leesteken