Check if image password is activated in Windows 8

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

I tried to find information about this, but did not find anything. Do you have any clue how to do this?

+4
source share
2 answers

my securiy information prohibits the use of an image password when using another specific product (cannot provide more information). I need to execute this request using code.

You do not apply such things with code; you apply them to group policies.

To do this, open the Group Policy Editor ( gpedit.msc ) and go to the following path:

 Computer Configuration\Administrative Templates\System\Logon 

Double-click the "Disable Password Entry Password" icon and set either "Enabled" or "Disabled."

Of course, you do not have to do this on every local machine. You can create group policies that apply to the network for specific user groups. Set Server Error to learn more about setting this option or talk to your network administrator. Presumably, if you have information security policies, you already have a department that handles such things.

+7
source

I see that you have Windows-RT as a keyword in the question. Therefore, if the application needs to be verified, this is the application for the Windows 8 Store (Modern / Metro application), you will not be able to achieve this.

  • There is no API to test this in 8, and as far as I know, in 8.1, either.
  • There is no registry access for Store apps.

Even if you control the method for detecting settings using some other method, you need to make sure that this is done through the Windows 8 API, otherwise you will not be certified ( section 3.1 ).

However, you can click through the GPO if this is an option.


Based on Windows 8 RT being removed from keywords, this means that this is not an application for the Windows 8 Store. Leaving the previous answer if someone finds this and asks about apps in the store.


You can view the settings through the registry in the "HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ Windows \ System" section and check the value of the BlockDomainPicturePassword or AllowDomainPicturePassword parameter.

I don’t know why there are two, I will leave you testing how much he is right.

+3
source

Source: https://habr.com/ru/post/1494712/


All Articles