> For the complete documentation index, see [llms.txt](https://kenvb.gitbook.io/windows-deployment-services/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kenvb.gitbook.io/windows-deployment-services/de-basisconfiguratie-automatiseren/verdere-installatie-automatiseren.md).

# De installatie verder automatiseren

## Customsettings.ini

Na bootstrap.ini, wordt dit bestand ingeladen. Hier gaan we het gros van onze automatisatie instellen. Ik gooi hieronder al even een basisconfiguratie, die we erna in stukken overlopen.

```
[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]

'Computernaam wordt gegenereerd op basis van mac-adres

OSDComputername=Deploy-#Right(Replace("%MACADDRESS%",":",""),8)#

'Forceren van auto detectie op resolutie monitor door het instellen van een onbestaande resolutie.

BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1

'LOCALISATION
KeyboardLocale=nl-BE
InputLocale=0813:00000813
UserLocale=nl-BE

'ENKEL DEPLOY GEEN CAPTURE
SkipCapture=YES
OSInstall=Y
DoCapture=NO

'VRAAGT NIET OM ADMIN WW
SkipAdminPassword=YES

'VRAAGT NIET OM PRODUCT KEY
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES

'TOONT STATUS VAN INSTALL TIJDENS INSTALL
_SMSTSORGNAME=Running %TaskSequenceID% Deploy-#Right(Replace("%MACADDRESS%",":",""),8)#
UserDataLocation=NONE

'LOCAL ADMIN WW
AdminPassword=password
JoinWorkgroup=Testworkgroup
HideShell=NO

'ACTIE NADAT ALLES AFGELOPEN IS
FinishAction=REBOOT
'FINAAL OVERZICHT. MOET UIT BIJ LIVE DEPLOYMENT VOOR FULL UNATTENDED
SkipFinalSummary=YES
ApplyGPOPack=NO
SkipComputerName=YES
SkipDomainMembership=YES
SkipUserData=YES

'GEEN TIMEZONE EN KEYBOARD SELECTION
SkipLocaleSelection=YES
SkipTimeZone=YES
TimeZoneName=Romance Standard Time

SkipTaskSequence=NO
SkipApplications=NO
SkipSummary=YES

'VOOR SERVERROLES
SkipRoles=YES
```

## Instellingen customsettings.ini

Hieronder een groot deel van de configuraties uitgediept.

### Computername

OSDComputername is een variabele die refereert naar de computername. Dankzij een simpele formule zal elke naam beginnen met "Deploy-" vervolgens halen we het MAC-adres erbij, verwijderen we de ":" en kiezen we voor de 8 meest rechtse tekens van het MAC-adres.

Het voordeel hiervan is dat elke computernaam uniek is, maar bij elke deployment toch terug opnieuw hetzelfde zal zijn, zonder dat er een database dit moet *tracken.*

```
OSDComputername=Deploy-#Right(Replace("%MACADDRESS%",":",""),8)#
```

### Scherm resolutie

Onderstaand trukje zorgt er in alle omstandigheden voor dat de meest optimale resolutie wordt gekozen, anders zal hij altijd naar een standaard gaan, afhankelijk van het OS.

```
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1
```

### Localisation

Alle regionale instellingen worden hier gebracht naar Belgische Azerty en alles wat erbij hoort. (keyboard, regional settings, ...)

```
KeyboardLocale=nl-BE
InputLocale=0813:00000813
UserLocale=nl-BE
```

### Overslagen schermen

Onderstaande instellingen zorgen ervoor dat de vragen niet worden gesteld. Natuurlijk moet elke vraag die overgeslagen wordt ergens beantwoord worden, anders zal de deployment vastlopen. Ik kan niet meteen een voorbeeld geven dat de deployment om een correctie komt vragen, mocht een bepaald gegeven incorrect zijn. Sommige zaken zoals bitlocker worden niet direct gevraagd en moeten dus ook geen expliciete setting meekrijgen.

```
SkipCapture=YES
OSInstall=Y
DoCapture=NO

SkipAdminPassword=YES

SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES

SkipComputerName=YES
SkipDomainMembership=YES
SkipUserData=YES
```

### Mooie status

Geen *must*, maar dankzij deze toevoeging kan je de computernaam zien en welke taak de MDT nu aan het afwerken is.

\_SMSTSORGNAME=Running %TaskSequenceID% Deploy-#Right(Replace("%MACADDRESS%",":",""),8)# UserDataLocation=NONE

### Een paar random instellingen

Wachtwoord voor de lokale Administrator account

```
AdminPassword=password
```

Verandert van werkgroep, dit kan eventueel veranderd worden door "joindomain" om een pc meteen in een domein te gooien.

```
JoinWorkgroup=Testworkgroup
```

Toon de voortgang van de installatie

```
HideShell=NO
```

### Afronden van de installatie

Nadat applications en eventuele updates geïnstalleerd zijn en alle acties zijn uitgevoerd, doet hij deze zaken:

```
FinishAction=REBOOT
ApplyGPOPack=NO
SkipFinalSummary=YES
```

Het is best om de finaly summary op *no* te zetten tijdens uittesten van instellingen.

### Timezone

Ook het overslagen van de localisatie vraag, timezone en vervolgens de timezone op *Romance Standard Time* zetten.

```
SkipLocaleSelection=YES
SkipTimeZone=YES
TimeZoneName=Romance Standard Time
```

De timezone kan je ook opvragen met de tzutil tool in windows. Met `tzutil /l` vraag je de officiële lijst op

### Tasksequence & Applications

Dit staat op "no" zodat hij wel degelijk komt vragen welke tasksequence - en dus ook de versie van Windows - moet geïnstalleerd worden en ook welke applications je wenst te installeren.

```
SkipTaskSequence=NO
SkipApplications=NO
```

## Extra instellingen

Hieronder een aantal nuttige toevoegingen aan customsettings.ini

### Logging

Logging inschakelen naar de WDS Server, hiervoor moet de MDT-monitoring wel ingeschakeld zijn.

```
EventService=http://WDS:9800
```

![](/files/-Lp2rUDICLLSkmxI_tNM)

### WSUS

Het IP-adres van de WSUS in geval je wenst dat je pc's updaten **tijdens** de *deployment*, dus voor er eventuele group policies toegepast worden.

```
WSUSServer=http://FQDN:8530
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kenvb.gitbook.io/windows-deployment-services/de-basisconfiguratie-automatiseren/verdere-installatie-automatiseren.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
