I want to lock and unlock my win 7 workstation using window service. in
case of lock i m able to lock my work station independently by creating an app while i m integrating my code to windows service its unable to execute it and neither unlock my PC. for Unlocking i don't found any thing. Locking is done now i m seeking
for unlock win 7.
i have already go through with Credential Provider(the only option i found) Samples but these samples are not showing there functionality. i have also tried a new approach that to first imprisonateUser and then use this handler to view the desktop from session 1 of win 7, imprisonateUser is done but not found any thing regarding to display the desktop.
if some body knows any thing regarding it please help me out. Thanks
MORE INFO FROM OP ======================
i want to implement an security feature based on bluetooth range.
once my bluetooth device is not in range then my system is locked/logoff, once my device comes in range then i want to unlock my workstation without entering the password by user.