Protect external hard disk by password- batch file -


i want protect external hard disk (usb connecting) asking password when hard disk inserted computer- computer windows os version.

i don't want make 3rd party software because don't want encrypt data- add password (for prevent reconstruction problems in future).

so thought create batch file fired automatically when external hard disk inserted computer , following steps:

  1. ask user password.
  2. compare correct password.
  3. if user enter wrong password- eject external hard disk safely.

i don't know batch file commands, , understood autorun files don't work in windows7 , up.

so, may can me write nessecary commands , tell me how cause file fired automatically?

it's not possible make robust batch file.

any code use batch cript can closed, stopped, bypassed, , password read.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

objective c - Ownership modifiers with manual reference counting -

python 3.x - Mapping specific letters onto a list of words -