Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best method to protect usb or hdd against virus or file delete
#1
Lightbulb 
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
Reply
#2
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/h...write.html
Reply
#3
(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/h...write.html

you right it will work in one pc only
Reply
#4
(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/h...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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)