security - Unlock Windows workstation programmatically -
i write small application unlocks workstation. put specs of need simple: have exe runs , @ defined time (let's midnight) unlocks workstation. of course application knows user , password of logged on account.
i know of logonuser api , have tried using failed. have solution, code excerpt works issue?
i targeting nt5 oses.
well, since people started asking reason: working on desktop sharing application , want add feature of unlocking workstation. having small , simple app unlock station @ defined time in order separate problem , avoid integration details.
just have answer instead of people leaving answers might better off comments.
this possible, though many people have said it's not wise, happens if walking computer unlocks, how long have play around, etc?
anway, apart suggesting have service work want on hte computer, or remotely connecting computer work might able make user of following information. (as 'code excerts' can make yourself)
http://www.paralint.com/projects/aucun/ gina implementation able give rights log on if else has logged on. it might you're looking , lot safer unlocking workstation @ time.
as alternative, writing own gina implementation unlock @ scheduled time.
information on gina
http://msdn.microsoft.com/en-gb/magazine/cc163803.aspx
http://msdn.microsoft.com/en-us/magazine/cc163786.aspx
after you've unlocked desktop i'm pretty sure you're going want lock again.
Comments
Post a Comment