Ventoy Forums
best method to protect usb or hdd against virus or file delete - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: best method to protect usb or hdd against virus or file delete (/showthread.php?tid=2132)



best method to protect usb or hdd against virus or file delete - aboamir@gmail.com - 07-14-2022

you can use this command to protect usb or hdd against virus attack or file delete by human mistake

CMD with admin right to protect the flash usb or hdd

user this command

01-diskpart

02-list disk

03-select disk (number?)

04-attributes disk set readonly

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

cmd with admin right to unprotect the flash usb or hdd so you can write to usb or hdd

CMD

diskpart

01-list disk

02-select disk (number?)

03-attributes disk clear readonly


RE: best method to protect usb or hdd against virus or file delete - Steve2926 - 07-14-2022

AFAIK, those commands set a registry entry on the current Windows OS - if you plug the USB drive into another system, it will not be protected?

https://rmprepusb.blogspot.com/2013/10/how-to-make-your-usb-drive-write.html


RE: best method to protect usb or hdd against virus or file delete - aboamir@gmail.com - 07-15-2022

(07-14-2022, 09:52 PM)Steve2926 Wrote: AFAIK, those commands set a registry entry on the current Windows OS - if you plug the USB drive into another system, it will not be protected?

https://rmprepusb.blogspot.com/2013/10/how-to-make-your-usb-drive-write.html

you right it will work in one pc only


RE: best method to protect usb or hdd against virus or file delete - bbertrand007 - 07-17-2022

(07-15-2022, 05:10 PM)aboamir@gmail.com Wrote:
(07-14-2022, 09:52 PM)Steve2926 Wrote: AFAIK, those commands set a registry entry on the current Windows OS - if you plug the USB drive into another system, it will not be protected?

https://rmprepusb.blogspot.com/2013/10/how-to-make-your-usb-drive-write.html

you right it will work in one pc only

No - it will only work on the Windows you issue the command on.  If you boot another Windows on the same PC, this does not help.