Forum Discussion
Karl-WE
Apr 21, 2024MVP
b26085 - Windows Server 2025 Domain Controller fail to deploy via DSC
Hi there, I am trying to deploy mslab using Windows Server 2025 preview VM using Windows Server 2025 OS as a Hyper-V platform.
I believe Jaromir as maintainer of mslab opened an SR. In result h...
- Oct 05, 2024For the benefit of the community - we confirmed that Preview build 26296 has the fixes for this issue. You can use 26296 as a guest OS in MSLab and you should not encounter the issues described in this thread. Several of us have tested this image to confirm. The fixes should reach the production version of Windows Server 2025 in approximately another month, considering the usual deployment schedule.
Many thanks to Karl-WE for being a great partner and helping us to debug this!
Karl-WE
May 03, 2024MVP
After further investigations, what makes the difference here, is the Hyper-V host OS.
If this is WS2025 then the DSC config will fail to apply for the domain controller VM.
If this is WS2025 then the DSC config will fail to apply for the domain controller VM.
MSBernstein
Microsoft
May 03, 2024Hi, Karl,
Have you logged an issue with MSLab on this?
And did you disable dyanmic memory, per the discussion in https://github.com/microsoft/MSLab/issues/580?
Also, if you are getting the error, "Windows could not configure one or more system components", we should collect these folders and figure out how to share them to me:
I think we can start with these three folders:
\$WINDOWS.~BT\Sources\Panther
\$WINDOWS.~BT\Sources\Rollback
\WINDOWS\Panther
They will have useful logging information.
I am attempting to reproduce this on my side, but I'd rather get the diagnostic data you have already.
Thanks,
Michael
Have you logged an issue with MSLab on this?
And did you disable dyanmic memory, per the discussion in https://github.com/microsoft/MSLab/issues/580?
Also, if you are getting the error, "Windows could not configure one or more system components", we should collect these folders and figure out how to share them to me:
I think we can start with these three folders:
\$WINDOWS.~BT\Sources\Panther
\$WINDOWS.~BT\Sources\Rollback
\WINDOWS\Panther
They will have useful logging information.
I am attempting to reproduce this on my side, but I'd rather get the diagnostic data you have already.
Thanks,
Michael
- Karl-WEMay 04, 2024MVP
MSBernstein Thank you for taking the time looking into this.
The DC VM created by "2_CreateParentDisks.ps1 will have the dynamic memory settings enabled and they are matching the requirements now of #580
Startup: 2048 MB
Min: 2048 MB
I have done the following today:
- clean install of WS 2025 b26085 for Host OS
- Install-WindowsFeature Hyper-v -IncludeManagementTools -Restart
- started with an new mslab folder
- The error message still appears some seconds after the first reboot of VM DC (WS2025 b26085).
How can I connect to the folders of the VM to collect the logs?
Enter-PSSession (PowerShell Direct) to the VM will fail to authenticate via WinRM even when setting trusted host.
Will repeat and mounting the vhdx to the Host OS.
What's notable: If I do not connect to the VM but watch the process via the Hyper-V preview window, I am seeing the error message and at the same time notice that the CPU load on the VM changes and after a while ~ 4-5 mins the process continues despite the message.At this point
- turned off the VM, as the configuration process appears to stall
- mounted the VHDX
- the $Windows.~BT folders don't exist (hidden files enabled)
- Attached Windows\Pantherpanther.zip, as requested
Repeated the process and immediately stopped the VM when the error message appeared after the first reboot. again no ~BT folders.
Attached
windows\logs\dism
dism.zip, this might provide some insights what the DSC was about to configure.
windows\panther
panther_early_turnoff.zip, as requested.
If required, I could also provide the exported VMs. They won't boot by-design as we have terminated the setup phase, so just for accessing more files / logs.
Hope this is helpful.- Karl-WEMay 04, 2024MVP
filed an Issue on gitub as requested:
https://github.com/microsoft/MSLab/issues/588
I have attached Logs_2022 which is the same, then successful procedure using Windows Server 2022 ISO.
Maybe comparing both could give a clue.
windows\logswindows\panther
Logs_2022.zip- MSBernsteinMay 08, 2024
Microsoft
Karl-WE Thank you! The panther.zip and panther_early_turnoff.zip files have some interesting content on them.
Particularly:
2024-05-04 03:34:15, Error [0x030149] CMI Callback_CBS_Do_OnlineInstall:Calling startup processing failed 0x80070643
I'll get these over to the Deployment team to see what they can glean from them.