Yubico Forum
https://forum.yubico.com/

Lock computer when removed?
https://forum.yubico.com/viewtopic.php?f=23&t=798
Page 1 of 2

Author:  Kyanar [ Tue May 08, 2012 7:52 am ]
Post subject:  Lock computer when removed?

I was wondering if it would be doable to have the option to automatically lock the workstation when the Yubikey is removed from the USB port, similar to how most smart card authentication solutions work.

Author:  Klas [ Tue May 08, 2012 12:53 pm ]
Post subject:  Re: Lock computer when removed?

Right now there is nothing like that included or started, the YubiKey Logon package only deals with windows logon.

/klas

Author:  Morphlin [ Wed May 09, 2012 9:44 pm ]
Post subject:  Re: Lock computer when removed?

Indeed this would be nice!

It would actually be easy to write a monitoring program in c# checking to see if a yubikey is inserted and if it is removed the computer would be locked. The yubilogon settings could even be incorporated to it...

Author:  Klas [ Thu May 10, 2012 6:52 am ]
Post subject:  Re: Lock computer when removed?

The source code is available on github (https://github.com/Yubico/yubico-windows-auth) if you want to take a poke at it, we'd be happy to incorporate patches and features.

/klas

Author:  wade192 [ Sat May 12, 2012 2:06 pm ]
Post subject:  Re: Lock computer when removed?

This would be cool especially if it worked seemlessly with the Windows Login with YubiKey (Beta) product.

I found a separate piece of software at http://www.5group.com/wordpress/tag/yubikey/
It is called autolock it enables a similar functionality unfortunately it has to be configured each time at start-up.
Licensed under GNU General Public License, version 2 a free tool is available
for download here. http://www.5group.com/downloads/yubico/ybAutoLock-1.0.exe

Author:  SamuelGE [ Mon Jul 09, 2012 9:31 pm ]
Post subject:  Re: Lock computer when removed?

wade192 wrote:
This would be cool especially if it worked seemlessly with the Windows Login with YubiKey (Beta) product.

I found a separate piece of software at http://www.5group.com/wordpress/tag/yubikey/
It is called autolock it enables a similar functionality unfortunately it has to be configured each time at start-up.
Licensed under GNU General Public License, version 2 a free tool is available
for download here. http://www.5group.com/downloads/yubico/ybAutoLock-1.0.exe


If you still want to lock your PC when the YubiKey is removed, download Rohos Logon Key
http://www.rohos.com/products/rohos-logon-key/

You can configure it to do lots of things when the key is removed, like sleep, hibernate, shut down, lock

I hope this helps, if you need any help with it, like configuring it or anything like that, then make a new topic and mention it here. I'll help as much as possible. :)

I tried to attach the setup file but its 0.80 Mb too large, sorry.

Author:  Morphlin [ Sun Jan 27, 2013 6:04 pm ]
Post subject:  Re: Lock computer when removed?

Hi,

I made this small utility that does pretty much what you want.

https://sourceforge.net/projects/yubimonistd-gt/

Do not hesitate to comment as I'm always looking to improve.

Also, make sure you have the API installed. The program doesn't install the API

http://static.yubico.com/var/uploads/fi ... er_x86.msi
http://static.yubico.com/var/uploads/fi ... er_x64.msi

Author:  Morphlin [ Tue Jan 29, 2013 5:27 am ]
Post subject:  Re: Lock computer when removed?

BTW, I just noticed I strictly use the x64 API.

I will compile a 32bit version using the 32bit API this week.

Author:  Morphlin [ Wed Jan 30, 2013 1:15 am ]
Post subject:  Re: Lock computer when removed?

Well looks like it handles both, let me know if anyone of you have trouble.

Author:  chrisd2 [ Sat May 11, 2013 4:57 pm ]
Post subject:  Re: Lock computer when removed?

trying to access the rohos link and i get..

"Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

Page 1 of 2 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/