File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,20 @@ ECHO.
147
147
CALL :T_Progress 1
148
148
149
149
:LAPSInstallCheck
150
- CALL :ColorLine " %E% 33m[+]%E% 97m LAPS installed?"
150
+ CALL :ColorLine " %E% 33m[+]%E% 97m Legacy Microsoft LAPS installed?"
151
151
ECHO . [i] Check what is being logged
152
152
REG QUERY " HKEY_LOCAL_MACHINE\Software\Policies\Microsoft Services\AdmPwd" /v AdmPwdEnabled 2 > nul
153
153
ECHO .
154
154
CALL :T_Progress 1
155
155
156
+ :WindowsLAPSInstallCheck
157
+ CALL :ColorLine " %E% 33m[+]%E% 97m Windows LAPS installed?"
158
+ ECHO . [i] Check what is being logged: 0x00 Disabled, 0x01 Backup to Entra, 0x02 Backup to Active Directory
159
+ REG QUERY " HKEY_LOCAL_MACHINE\Software\Microsoft\Policies\LAPS" /v BackupDirectory 2 > nul
160
+ REG QUERY " HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v BackupDirectory 2 > nul
161
+ ECHO .
162
+ CALL :T_Progress 1
163
+
156
164
:LSAProtectionCheck
157
165
CALL :ColorLine " %E% 33m[+]%E% 97m LSA protection?"
158
166
ECHO . [i] Active if " 1"
You can’t perform that action at this time.
0 commit comments