Zum Inhalt springen
IT Explorations

How To - Konfiguration WDS über Powershell

· zuletzt aktualisiert am · 4 min Lesezeit · von

Inhalt

Windows Deployment Services Logo

Aktueller Stand#

Stand: Juni 2026

Konfiguration der Windows Bereitstellungsdienste / Windows Deployment Services / WDS

Die Anleitung ist gültig für eine Installation auf einem Server:

Hinweis: Die WDS-Erstkonfiguration (Initialize-Server) lässt sich nicht über reine PowerShell-Cmdlets durchführen – dafür ist nach wie vor das Kommandozeilenwerkzeug wdsutil nötig. Die weiteren Einstellungen können anschließend per PowerShell erfolgen.

Voraussetzungen / Prerequisites#

Übersicht#

Folgende Konfigurationseinstellungen sollen konfiguriert werden:

  1. Erstkonfiguration / Initialize Server

1. Erstkonfiguration / Initialize Server#

Die Powershell bietet uns hier keine Möglichkeit die Erstkonfiguration des WDS durchzuführen. Deshalb müssen wir das eigene Tool wdsutil dafür nutzen. Das Arbeitsverzeichnis und die Freigabe "RemoteInstall" wird auf dem Server angelegt und mit dem Arbeitsverzeichnis verheiratet.

Empfehlung: Der WDS Arbeitsordner sollte nicht auf die Systempartition gelegt werden, sondern auf eine separate. In diesem Beispiel "D:". Beim Deployment wird hier eine hohe Latenz erzeugt.

WDSUTIL /Verbose /Progress /Initialize-Server /Server:MyWDSServer /REMINST:"D:\WDS"
Windows Deployment Services Management Utility [Version 10.0.14393.2248]
© 2016 Microsoft Corporation. All rights reserved.

Setting up server...

-> Creating the installation tree for Windows Deployment Services

---> Creating the installation root for Windows Deployment Services at \\WDS-SRV.domain.local\D$\WDS

---> Creating the share for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Images

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Boot

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Boot\x86\Images

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Boot\ia64\Images

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Boot\arm\Images

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Boot\x64\Images

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Boot\Fonts

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Tmp

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Mgmt

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\WdsClientUnattend

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Templates

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Stores\Drivers

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Stores\Staging

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Stores\Drivers\Metadata\Backup

---> Creating the folder for Windows Deployment Services at \\WDS-SRV.domain.local\REMINST\Stores\Metadata

-> Installing Windows Deployment Services files

---> Installing system files

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080A

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080B

.

---> Installing boot files for x86

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080A

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080B

..........

---> Installing boot files for ia64

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080A

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080B

..

---> Installing boot files for x64

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080A

Warning: Could not find a description for a message that was meant to
         be displayed.
Message ID: 0x4104080B

...........

-> Updating the registry

-> Configuring the TFTP provider

-> Configuring service control point settings

== WDS operational mode: Native ==
== Standalone configuration: No ==

Enabling services for Windows Deployment Services...

Starting the services for Windows Deployment Services...

The command completed successfully.

Wird ein DHCP mit DHCP Rogue Detection ausgeführt (default: deaktiviert) dann muss der WDS noch im DHCP registriert werden.

WDSUTIL /Verbose /Progress /Initialize-Server /Server:MyWDSServer /REMINST:"D:\WDS" /Authorize

Kategorien: Windows Deployment Services

Verwandte Beiträge