Autolock bitlocker driver after 3 minutes of inactivity

Solution 1:

This is not a Powershell-specific issue or feature.

You are misunderstanding what BitLocker is for or someone has convinced you of what you a retrying to do and that is still not valid.

Bitlocker is enabled system-wide and is only checked on computer startup. Please read up on it.

Your use case...

I just wanted this feature so I could use the internet safely without worrying about hackers getting access to my files since most of the time they would be locked and inaccessible

... has nothing to do with BitLocker, and BitLocker cannot address this.

BL is FDE (full drive encryption), not file and folder protection, and only protects your system from offline, physical hard drive attacks. Once your machine is up and running, your drive is available for all the normal stuff.

If a hacker successfully gets on your system, while it is on, they got on it in another way, and already have control of it, so, it's no longer your computer anymore.

  1. How would you know you have attacked anyway?
  2. What tools do you have in place to alert you to this?

This whole 3 mins thing is really meaningless. 3 mins is a lifetime to hack a system.

If you are trying to protect yourself against browsing attacks on your hard drive, that is at the browser level first (don't go to places, that you can get hacked) and or use an isolated virtual machine for your internet browsing.

Window 10 and beyond comes with a built-in option to spin up a 'Windows 10 Sandbox', which is a normal Win10 OS, completely isolated from your host OS stuff. Use that for your browsing.

See the MS Docs and web articles on what it is and its use case.

If you are trying to do file and folder encryption, there are 3rdP tools for that.