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.
Can you bypass security question configuration for a local user in Windows 11 OOBE with unattend XML
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.
2 answers
Sort by: Most helpful
-
-
DaveM121 812.4K Reputation points Independent Advisor2023-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.