Network Authentication - Automatically use my Windows logon name and password (and domain if any) registry.

Ihab Abedrabbo 21 Reputation points
2025-04-23T13:28:03.88+00:00

Hello

I am using Windows 11 and we are moving from Wired and Wireless LAN authentication mode using username and password to certificate based authentication. In this interim phase, we have tons of issues with Windows 11 devices (on Windows 10 we did not have this issue at all).

The first thing we had to do to get Windows 11 to request the user to authenticate is to disable Device Guard. At the moment, we achieve this by setting the following registry keys and restart the device

CMD /C reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /V LsaCfgFlags /T REG_DWORD /D 0 /F

CMD /C reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard" /V LsaCfgFlags /T REG_DWORD /D 0 /F

With the above keys, we finally get Windows 11 to prompt the user to insert his/her password to authenticate, otherwise no authentication request is presented to the user if Device Guard is ON

In the below image, I am trying to select the last option, namely: Automatically use my Windows logon name and password (and domain if any). I cannot find the equivalent of this from the registry or any tool I am aware of so that I can automate it.

  1. What is the registry equivalent to this selection (see below image)?
  2. I want this option to be available to all networks (wired, wireless, and any future network card I add to the device)
  3. Is MSChap V2 still supported in Windows 11?
  4. What is the alternative, other than the Certificate-based authentication which we are slowly implementing?

User's image

Network Authentication Automatically use my Windows logon name and password (and domain if any) registry

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,556 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.