Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use Custom Labconfig file. #617

Open
aayooshmoitro opened this issue Mar 14, 2025 · 1 comment
Open

Unable to use Custom Labconfig file. #617

aayooshmoitro opened this issue Mar 14, 2025 · 1 comment

Comments

@aayooshmoitro
Copy link

aayooshmoitro commented Mar 14, 2025

Hi,
First, thank you so much for this project – it’s a huge help to the repro lab and also a valuable learning experience. However, I’m encountering an issue with the custom Labconfig file. When I use the default configuration, everything works fine, but as soon as I specify the domain name parameter, the creation of the DC parent disk fails. Below is the Labconfig I intended to use. Please let me know what I might be missing. I am using Server 2022 ISO for this lab. Thank you!.

$LabConfig=@{AllowedVLANs="1-10,711-719" ; DomainAdminName='LabAdmin'; AdminPassword='Password123!'; DomainName='ITC.local' ; DomainNetbiosName='DC' ; InstallSCVMM='Yes' ; Prefix = 'MSLab-' ; DCEdition='4'; Internet=$true ; AdditionalNetworksConfig=@(); VMs=@()}

1..4 | ForEach-Object {$LABConfig.VMs += @{ VMName = "S2D$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2022.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 512MB }}

Below is the snippet:

Image

@aayooshmoitro aayooshmoitro changed the title Unable to use Custom Lagconfig file. Unable to use Custom Labconfig file. Mar 14, 2025
@machv
Copy link
Collaborator

machv commented Mar 14, 2025

hi,
I will try mentioned labconfig in my environment, but I just quickly checked it and setting Netbios name of domain with DomainNetbiosName='DC' might cause conflict with name of the domain controller itself, as it's name DC is set in script itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants