From e581cb5158d37d50a409da913dbb712241503f50 Mon Sep 17 00:00:00 2001 From: Olivier Jean Date: Sun, 9 Aug 2020 16:36:03 +1200 Subject: [PATCH] Updated to include registry key tweak On Windows v2004, by default the netplwiz checkbox isn't visible, and a registry key change is necessary to be able to access the checkbox --- 10_2_Uncheck User Must Enter Name And Password.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/10_2_Uncheck User Must Enter Name And Password.ps1 b/10_2_Uncheck User Must Enter Name And Password.ps1 index f59f5a2..eb645c1 100644 --- a/10_2_Uncheck User Must Enter Name And Password.ps1 +++ b/10_2_Uncheck User Must Enter Name And Password.ps1 @@ -1,2 +1,9 @@ # just uncheck the checkbox in the app that opens. -netplwiz \ No newline at end of file +netplwiz + +#Windows v2004 ( and later ) First modify registry key to allow the checkbox to be visible: +[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device] + +Change registry key "DevicePasswordLessBuildVersion" to 0 {as 32Bit DWORD} [ default is 2 ] + +"DevicePasswordLessBuildVersion"=dword:00000000