Forum Discussion
I see "Failure: WSL MCC install failed with exception during installation, Return Code: 13631495"
If you hit this error, or other errors during the install on Windows, the MCC installer will write logs to the installation folder specified in the installation command (C:\mccwsl01\InstallLogs by default). Please inspect the installation logs for self-help. There are three types of log files that will be appended with the dat and time of they are written:
- WSL_Mcc_Install_Transcript
- This log file records the lines printed to the command prompt when running the installation script. This is where you will see the initial error which may not include all the details you need.
- WSL_Mcc_Install_FromRegisteredTask_Status
- This log file records the high-level status that is written during the registered tasks install
- WSL_Mcc_Install_FromRegisteredTask_Transcript
- This log file records the detailed status that is written during the registered tasks install. This log file will include the most detailed information of the install, including the installation details for the Linux portion of the install.
- WSL_Mcc_Monitor_FromRegisteredTask_Transcript
- The log file records "Monitor" scheduled task which ensures Connected Cache is running. Watch out for errors when passwords change. You'll need to update the user in this schedule task, all of them actually, when passwords change.
3 Replies
- Andy_Rivas
Microsoft
First, can I confirm that the most recent version of the installation files are being used?
- Mateus_Dungi
Microsoft
Hi Andy yes it the most recent version of the installation being used.
- Mateus_Dungi
Microsoft
Indeed I have experience this same error as listed on the log file WSL_Mcc_Install_FromRegisteredTask_Transcript:
[12/02/2024 14:06:51]
Importing image name: Ubuntu-22.04-Mcc-Base, to installation directory : e:\mccwsl01, from image file specified at : E:\lnmcc01\MCC-WSL-Installer\Ubuntu-22.04-Mcc-Base.tar
[12/02/2024 14:06:51]
WSL Un-Formatted Output: A d i s t r i b u t i o n w i t h t h e s u p p l i e d n a m e a l r e a d y e x i s t s . E r r o r c o d e : W s l / S e r v i c e / R e g i s t e r D i s t r o / E R R O R _ A L R E A D Y _ E X I S T S
[12/02/2024 14:06:51]
WSL Formatted Output: A distribution with the supplied name already exists. Error code: Wsl/Service/RegisterDistro/ERROR_ALREADY_EXISTS
[12/02/2024 14:06:51]
Successfully imported base Ubuntu image for MCC
[12/02/2024 14:06:51]
Verifying that base Linux image is running on WSL before proceeding with WSL install
[12/02/2024 14:06:51]
WSL Output : F a i l e d t o a t t a c h d i s k ' E : \ m c c w s l 0 1 \ e x t 4 . v h d x ' t o W S L 2 : T h e s y s t e m c a n n o t f i n d t h e f i l e s p e c i f i e d . E r r o r c o d e : W s l / S e r v i c e / C r e a t e I n s t a n c e / M o u n t V h d / H C S / E R R O R _ F I L E _ N O T _ F O U N D
[12/02/2024 14:06:51]
MCC Ubuntu base image not detected, if this is first WSL install attempt, please reboot machine. Otherwise please ensure Ubuntu image is running in WSL
[12/02/2024 14:06:51]
System.Management.Automation.RuntimeException: Failure: Base Linux Image must be running before proceeding
[12/02/2024 14:06:51]
[2024-12-02] [02:06:51 PM]
[12/02/2024 14:06:51]
WSL MCC install failed (ReturnCode: 13631495)
[12/02/2024 14:06:51]
[2024-12-02] [02:06:51 PM]
[12/02/2024 14:06:51]
Installer return code 13631495
**********************
Windows PowerShell transcript end
End time: 20241202140651
**********************