Hi!
I'm having issues with something I thought should be very smart. The possiblity to choose in the start of a specific deployment if the computer should join our domain or just stay in a workgroup.
If I blank out every domain settings in [W10X64-1803] it will join the workgroup Ive specified, but if not, it will somewhere in postinstall join the domain with name as configured. I want it to stay in the workgroup.
I would also love a tip on how to set specific tasks in the TS for if the computer is in the domain or in the workgroup.
Anyone who has a solution for this?
Under you can see my two CustomSettings.ini files.
CustomSetting:
[Settings]
Priority=DefaultGateway, ByLaptopType, ByDesktopType, Model, SetAlias, Default
Properties=MyCustomProperty, ModelAlias, MakeAlias, MacAlias, SMBIOSBIOSVersion, ComputerLocationName, ComputerTypeName
[DefaultGateway]
10.247.10.1=NORWAY
[NORWAY]
ComputerLocationName=no
[ByLaptopType]
Subsection=Laptop-%IsLaptop%
[Laptop-True]
ComputerTypeName=lt
[ByDesktopType]
Subsection=Desktop-%IsDesktop%
[Desktop-True]
ComputerTypeName=ws
[HP Elite x2 1012 G1 Tablet]
ComputerTypeName=tablet
[Surface Pro 4]
ComputerTypeName=surface
[SetAlias]
UserExit=AliasUserExit.vbs
MakeAlias=#SetMakeAlias()#
ModelAlias=#SetModelAlias()#
SMBIOSBIOSVersion=#SetSMBIOSBIOSVersion()#
MacAlias=#SetMacAlias()#
[MAKE]
DriverSelectionProfile=Nothing
DriverGroup001=%Model%
[Default]
OSDComputername=%ComputerLocationName%-%ComputerTypeName%-
_SMSTSORGNAME=DOMAIN - %TaskSequenceID% on %OSDComputername%
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1
OSInstall=Y
SkipBDDWelcome=YES
KeyboardLocale=nb-NO
UserLocale=nb-NO
UILanguage=nb-NO
AdminPassword=P@ssw0rd
SkipAppsOnUpgrade=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerName=NO
SkipUserData=YES
SkipLocaleSelection=YES
SkipTaskSequence=NO
SkipTimeZone=YES
SkipBitLocker=YES
SkipSummary=YES
SkipCapture=YES
SkipApplications=YES
DoCapture=NO
ComputerBackupLocation=\\MDTSERVER\MDTProduction$\captures
SkipFinalSummary=YES
TimeZone=110
TimeZoneName=W. Europe Standard Time
WSUSServer=http://MDTSERVER.DOMAIN.com:8530
Home_page=http://www.DOMAIN.no
EventService=http://MDTSERVER:9800
CustomSettingWG.ini:
[Settings]
Priority=DefaultGateway, ByLaptopType, ByDesktopType, TaskSequenceID, Model, Default
Properties=MyCustomProperty, ComputerLocationName, ComputerTypeName
[Default]
SkipDomainMembership=YES
JoinDomain=DOMAIN.com
DomainAdmin=%ComputerLocationName%-MDT_join
DomainAdminPassword=P@ssw0rd
DomainAdminDomain=DOMAIN.com
MachineObjectOU=ou=MDT,ou=%ComputerLocationName%,ou=Corp,dc=DOMAIN,dc=com
[W10X64-1803O]
SkipDomainMembership=YES
JoinDomain=DOMAIN.com
DomainAdmin=%ComputerLocationName%-MDT_join
DomainAdminPassword=P@ssw0rd
DomainAdminDomain=DOMAIN.com
MachineObjectOU=ou=MDT,ou=%ComputerLocationName%,ou=Corp,dc=DOMAIN,dc=com
[W10X64-1803]
SkipDomainMembership=NO
JoinDomain=DOMAIN.com
DomainAdmin=%ComputerLocationName%-MDT_join
DomainAdminPassword=P@ssw0rd
DomainAdminDomain=DOMAIN.com
MachineObjectOU=ou=MDT,ou=%ComputerLocationName%,ou=Corp,dc=DOMAIN,dc=com
JoinWorkGroup=WORKGROUPNAME
Some screendumpts:
![]()
![]()
![]()
![]()
![]()