LoicVeirman / HardenAD

Hardening Active Directory version 2
Other
250 stars 33 forks source link

Error Update Ad-Schema for LAPS and add PShell add-on #103

Closed davidm40 closed 4 months ago

davidm40 commented 4 months ago

Bonjour, je rencontre l'erreur suivante lors de l'exécution du script (server 2022 et Harden 2.9.8): !ERROR!: Update AD Schema for LAPS and add PShell add-on warning: Set-up LAPS permissions on the target domain

Log : NEW TASK: Update Ad schema for LAPS and deploy PShell tools [DBUG] --- ----: Calling function Install-Laps with parameters ForceDcIsSchemaOwner [DBUG] --- ----: function's ended [DBUG] --- ----: TaskID = 134 [DBUG] --- ----: TaskName = Update Ad schema for LAPS and deploy PShell tools [DBUG] --- ----: TaskResult = !ERROR! [DBUG] --- ----: Message = Error launching the function Install-Laps [ERR!] ERR FUNC: it seems that the called function is missing or is not properly returning its result! [ERR!] ERR FUNC: received result code: 9 [INFO] NEW TASK: Setup LAPS permissions over the domain [DBUG] --- ----: Calling function Set-LapsPermissions with parameters CUSTOM [DBUG] --- ----: function's ended [DBUG] --- ----: TaskID = 135 [DBUG] --- ----: TaskName = Setup LAPS permissions over the domain [DBUG] --- ----: TaskResult = warning [DBUG] --- ----: Message = Failed to apply Permission on one or more OU.