Forum Discussion

NicoSthilaire's avatar
NicoSthilaire
Copper Contributor
Dec 11, 2024
Solved

Error installation MCC on Server 2022

I installed a couple of MCC for customers. But for 1, I still get this error :

This is the end of my text file :

 Restarting WSL to apply new configuration file, please wait while WSL is restarted......
[12/11/2024 13:05:01]
 .
.
.
.
.
.
.
.
.
.
.
.
.
.
.

[12/11/2024 13:05:15]
 Completed WSL restart
[12/11/2024 13:05:15]
 Completed restart and successfully applied new configuration file
[12/11/2024 13:05:15]
 Setting LastCompletedInstallStep
[12/11/2024 13:05:15]
 Registering the MCC Monitoring scheduled task
[12/11/2024 13:05:15]
 Register scheduled task MCC_Monitor_Task (mccscheduletask.ps1)
[12/11/2024 13:05:15]
 Registering scheduled task as local account
[12/11/2024 13:05:16]
 Completed registering scheduled task for MCC monitoring
[12/11/2024 13:05:16]
 Completed registering task to monitor MCC and ensure it is running
[12/11/2024 13:05:16]
 Registering the MCC Uninstall scheduled task
[12/11/2024 13:05:16]
 RegisterScheduledTask_UninstallWsl (uninstallwsl.ps1)
[12/11/2024 13:05:16]
 Registering scheduled task as local account
[12/11/2024 13:05:16]
 Completed registering scheduled task for MCC uninstall
[12/11/2024 13:05:16]
 Completed registering task to uninstall MCC manually, if needed in the future
[12/11/2024 13:05:16]
 Setting LastCompletedInstallStep
[12/11/2024 13:05:16]
 Registering MCC install task and waiting for compleition
[12/11/2024 13:05:16]
 RegisterScheduledTask_InstallMccOnWsl (InstallMccOnWsl.ps1)
[12/11/2024 13:05:16]
 Registering scheduled task as local account
[12/11/2024 13:05:16]
 Completed registering scheduled task for MCC Install
[12/11/2024 13:05:16]
 Setting LastCompletedInstallStep
[12/11/2024 13:05:16]
 Successfully registered MCC Install Scheduled task
[12/11/2024 13:05:17]
 System.Management.Automation.RuntimeException: Impossible d’appeler une méthode dans une expression Null.
   à System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   à System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   à System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   à System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
[12/11/2024 13:05:17]
 [2024-12-11] [01:05:17 ]
[12/11/2024 13:05:17]
 WSL MCC install failed (ReturnCode: )
[12/11/2024 13:05:17]
 [2024-12-11] [01:05:17 ]
PS>Erreur de terminaison (SetDWordRegistryValue) : « Impossible de lier l'argument au paramètre « Value », car il s'agit d'une chaîne vide. »
[12/11/2024 13:05:17]
 Setting InvocationEndTime
[12/11/2024 13:05:17]
 Setting InvocationState
[12/11/2024 13:05:17]
 Installer return code 0
**********************
Fin de la transcription Windows PowerShell
Heure de fin : 20241211130517
**********************

4 Replies

Resources