r/ComputerSecurity • • Jan 18 '21

Windows USB login lock

I have seen some videos about yubi keys and I have seen in windows you can have a usb login.

I want to know is their a way I can have a USB that skips the login when plugged in but won't allow a user to login when it is unplugged?

Why? So when I am using my computer I have the USB in and then when I go out or go to bed the computer is useless and if stolen the data is potentially secure.

22 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/loadedmong Jan 19 '21

Lol I'll write it for you then.

I'm working on something similar for my own machine. Ping me in a week and I'll happily share my code!