-1
I have a password vault and other critical items that I store on a USB drive, drive which is encrypted with bitlocker (Windows 10).
I often use RDC to remote into my office computer at random times (e.g. to check in on an automated process or to access data files from my home PC).
This presents a problem - I want to leave my USB drive locked when I'm away from the office, but I also want to be able unlock and re-lock it over RDC.
So, how can I lock and unlock the USB drive without needing to physically be present i.e. without just pulling the drive from the slot?
(A potential complication - I don't have local admin rights on my work PC, so I'm pretty sure that using CMD to mount/remount isn't an option).
You really should test to see if you can mount/unmount the volume. However, are you saying if you lock the drive, it ejects the drive? It's possible to unlock and lock the drive from a script (manage-bde). What have you tried? – Ramhound – 2020-02-10T23:40:28.143
I have yet to find any way to lock the drive without simply ejecting the drive (i.e. dismounting it and them physically pulling from the port), (without having admin rights). I'm pretty sure that all of the command line options require admin, e.g. I know that
mountvol
does. – Joseph Dasenbrock – 2020-02-11T03:06:42.523manage-bde –lock D:"
should absolutely work. – Ramhound – 2020-02-11T04:24:26.507Okay, thanks, I'll try that later. – Joseph Dasenbrock – 2020-02-11T14:16:17.467
@Ramhound Thanks for the
manage-bde
suggestion... when I try that I getAn attempt to access a required resource was denied
, and a suggestionCheck that you have administrative rights on the computer,
which I don't and can't have. – Joseph Dasenbrock – 2020-02-11T14:39:35.137Seems like there has to be a way mount/dismount with the command line and without admin rights. – Joseph Dasenbrock – 2020-02-11T14:40:25.800
If I right click on the drive and select "eject", it ejects and then the drive can't be accessed, as desired, but I don't have a way to remount without just physically pulling out and inserting the USB drive. – Joseph Dasenbrock – 2020-02-11T14:41:49.807
Any event if you don't have Administrator permissions, then you will be unable to lock the drive from the command prompt, it appears you only have permissions to eject the drive. – Ramhound – 2020-02-11T17:23:06.717
Okay, that makes sense @Ramhound, that is that I thought would be the case, wanted to ask here in case someone knows something that I don't. Thanks! – Joseph Dasenbrock – 2020-02-11T19:00:14.743