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

Anonymous
2023-10-05T17:48:41+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 home | Windows 11 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MR_MEOW 3,506 Reputation points
    2023-10-05T18:01:33+00:00

    Sorry according to the Microsoft Privacy Statement – Microsoft privacy I can not tell you how to bypass security feature. I can tell your xml code looks incorrect. also a - minus sign could be handy in the xml code.

    0 comments No comments
  2. DaveM121 812.4K Reputation points Independent Advisor
    2023-10-05T18:20:30+00:00

    Hi, I am Dave, I will help you with this.

    I apologize, Community is just a consumer forum, due to the scope of your question can you please post this question to our sister forum on Microsoft Q&A (The System Administrators and IT Pro Forum)

    Over there you will have access to a host of System Administrators and IT Pro experts and will get a knowledgeable and quick answer to this question.

    https://docs.microsoft.com/en-us/answers/index....

    0 comments No comments