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 for business | Windows Client for IT Pros | User experience | Other
{count} votes

Your answer

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