Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if picture password is activated in Windows 8

Tags:

c#

.net

windows-8

I need to write a script that verifies that the user is not using the "Picture Password" feature in Windows 8. I'm using .NET 4.

I tried to search for info about it, but couldn't find anything. Do you have any clue how it can be done?

like image 970
Ofir Avatar asked Dec 25 '22 23:12

Ofir


1 Answers

my company information securiy forbids using picture password when using other specific product (can`t give more info). I need to enforce this request by code.

You don't enforce these kinds of things with code, you enforce them with Group Policies.

To do so, open the Group Policy editor (gpedit.msc) and navigate to the following path:

Computer Configuration\Administrative Templates\System\Logon

Double-click the "Turn off picture password sign-in" setting, and set either the "Enabled" or "Disabled" option.

Of course, you don't have to do this on each local machine. You can create Group Policies that apply network-wide to specific groups of users. Ask on Server Fault to get more help on setting that up, or talk to your network administrator. Presumably if you have information security policies, you already have a department that handles these sorts of things.

like image 104
Cody Gray Avatar answered Jan 07 '23 03:01

Cody Gray