Can you bypass security question configuration for a local user in Windows 11 OOBE with unattend XML?

Bipasha Goswami 0 Reputation points
2023-10-16T19:59:56.8366667+00:00

Currently we are deploying a PPKG and Unattend XML on all of our Windows 10 and Windows 11 machines. We are seeing errors when trying to disable this before first logon.

<CommandLine>cmd /c reg ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\System /v NoLocalPasswordResetQuestions /t REG_DWORD /d 1 /f</CommandLine>

On windows 10 this works fine. On windows 11 it throws an error OOBELOCAL

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