text
stringlengths
0
4.23k
These settings control the Auto-add policy. You define the settings using the following options:- [/Policy: {AdminApproval | Disabled}] - AdminApprove causes all unknown computers to be added to a pending queue, where the administrator can then review the list of computers and approve or reject each request, as appropriate. Disabled indicates that no additional action is taken when an unknown computer attempts to boots to the server.- [/PollInterval:{time in seconds}] - Specifies the interval (in seconds) at which the network boot program should poll the Windows Deployment Services server.- [/MaxRetry: <Number>] - Specifies the number of times the network boot program should poll the Windows Deployment Services server. This value, along with /PollInterval, dictates how long the network boot program will wait for an administrator to approve or reject the computer before timing out. For example, a MaxRetry value of 10 and a PollInterval vlue of 60 would indicate that the client should poll the server 10 times, waiting 60 seconds between tries. Therefore, the client would time out after 10 minutes (10 x 60 seconds = 10 minutes).- [/Message: <Message>] - Specifies the message that is displayed to the client on the network boot program dialog page.- [/RetentionPeriod] - Specifies the number of days a computer can be in a pending state before being automatically purged.- [/Approved: <time in days>] - Specifies the retention period for approved computers. You must use this parameter with the /RetentionPeriod option.- [/Others: <time in days>] - Specifies the retention period for unapproved computers (rejected or pending). You must use this parameter with the /RetentionPeriod option.
[/AutoaddSettings]
Specifies the default settings to be applied to each computer. You define the settings using the following options:- /Architecture: {x86 | ia64 | x64} - Specifies the architecture.- [/BootProgram: <Relative path>] - Specifies the boot program sent to the approved computer. If no boot program is specified, the default for the architecture of the computer (as specified on the server) will be used.- [/WdsClientUnattend: <Relative path>] - Sets the relative path to the unattend file that the approved client should receive.- [/ReferralServer: <Server name>] - Specifies the Windows Deployment Services server that the client will use to download images.- [/BootImage: <Relative path>] - Specifies the boot image that the approved client will receive.- [/User: <Domain\User | User@Domain>] - Sets permissions on the computer account object to give the specified user the necessary rights to join the computer to the domain.- [JoinRights: {JoinOnly | Full}] - Specifies the type of rights to be assigned to the user. JoinOnly requires the administrator to reset the computer account before the user can join the computer to the domain. Full gives full access to the user, including the right to join the computer to the domain.- [/JoinDomain: {Yes | No}] - Specifies whether or not the computer should be joined to the domain as this computer account during a Windows Deployment Services installation. The default setting is Yes.
[/BindPolicy]
Configures the network interfaces for the PXE provider to listen on. You define the policy using the following options:- [/Policy: {Include | Exclude}] - Sets the interface bind policy to include or exclude the addresses on the interface list.- [/add] - adds an interface to the list. You must also specify /addresstype and /address.- [/remove] - removes an interface from the list. You must also specify /addresstype and /address.- /address:<IP or MAC address> - Specifies the IP or MAC address of the interface to add or remove.- /addresstype: {IP | MAC} - Indicates the type of address specified in the /address option.
[/RefreshPeriod: <seconds>]
Specifies how often (in seconds) the server will refreshes its settings.
[/BannedGuidPolicy]
Manages the list of banned GUIDs using the following options:- [/add] /Guid:<GUID> - adds the specified GUID to the list of banned GUIDs. Any client with this GUID will be identified by its MAC address instead.- [/remove] /Guid:<GUID> - removes the specified GUID from the list of banned GUIDs.
[/BcdRefreshPolicy]
Configures the settings for refreshing Bcd files using the following options:- [/Enabled:{Yes | No}] - Specifies the Bcd refreshing policy. When /Enabled is set to Yes, Bcd files are refreshed at the specified time interval.- [/RefreshPeriod:<time in minutes>] - Specifies the time interval at which Bcd files are refreshed.
[/Transport]
Configures the following options:[/ObtainIpv4From: {Dhcp | Range}] - Specifies the source of IPv4 addresses.[/start: <starting Ipv4 address>] - Specifies the start of the IP address range. This option is required and valid only if /ObtainIpv4From is set to Range[/End: <Ending Ipv4 address>] - Specifies the end of the IP address range. This option is required and valid only if /ObtainIpv4From is set to Range.[/ObtainIpv6From:Range] [/start:<start IP address>] [/End:<End IP address>] Specifies the source of IPv6 addresses. This option only applies to Windows Server 2008 R2 and the only supported value is Range.[/startPort: <starting port>] - Specifies the start of the port range.[/EndPort: <Ending port>] - Specifies the end of the port range.[/Profile: {10Mbps | 100Mbps | 1Gbps | Custom}] - Specifies the network profile to be used. This option is only supported forservers running Windows Server 2008.[/MulticastSessionPolicy] Configures the transfer settings for multicast transmissions. This command is only available for Windows Server 2008 R2.[/Policy:{None | AutoDisconnect | Multistream}] - Determines how to handle slow clients. None means to keep all clients in one session at the same speed. AutoDisconnect means that any clients that drop below the specified /Threshold will be disconnected. Multistream means clients will be separated into multiple sessions as specified by /StreamCount.[/Threshold:<Speed in KBps>] - for /Policy:AutoDisconnect, this option sets the minimum transfer rate in KBps. Clients that drop below this rate will be disconnected from multicast transmissions.[/StreamCount:{2 | 3}] [/Fallback:{Yes | No}] - for /Policy:Multistream, this option determines the number of sessions. 2 means two sessions (fast and slow) 3 means three sessions (slow, medium, fast).[/Fallback:{Yes | No}] - Determines whether clients that are disconnected will continue the transfer using another method (if supported by the client). If you are using the WDS client, the computer will fallback to unicasting. Wdsmcast.exe does not support a fallback mechanism. This option also applies to clients that do not support Multistream. In that case, the computer will fall back to another method instead of moving to a slower transfer session.
for Windows Server 2008 R2, this option has been replaced with the following command: wdsutil /Set-Server /PxepromptPolicy /New:Noprompt
- [/Known:{OptIn|OptOut|Noprompt}] - Sets the policy for prestaged clients.- [/New:{OptIn|OptOut|Noprompt}] - Sets the policy for new clients.OptIn means the client needs to press a key in order to PXE boot, otherwise it will fall back to the next boot device.Noprompt means the client will always PXE Boot.OptOut means the client will PXE boot unless the Esc key is pressed.
OptIn means the client needs to press a key in order to PXE boot, otherwise it will fall back to the next boot device.Noprompt means the client will always PXE Boot.OptOut means the client will PXE boot unless the Esc key is pressed.
Noprompt means the client will always PXE Boot.OptOut means the client will PXE boot unless the Esc key is pressed.
OptOut means the client will PXE boot unless the Esc key is pressed.
- [/type: Serverdomain | Userdomain | UserOU | Custom ] Specifies the type of location. Serverdomain creates accounts in the same domain as the Windows Deployment Services server. Userdomain creates accounts in the same domain as the user performing the installation. UserOU creates accounts in the organizational unit of the user performing the installation. Custom allows you to specify a custom location (you must also specify a value for /OU with this option).- [/OU:<Domain name of OU>] - if you specify Custom for the /type option, this option specifies the organizational unit where computer accounts should be created.
- [/Enabled:{Yes | No}] - Enables or disables logging of Windows Deployment Services client actions.- [/LoggingLevel: {None | Errors | Warnings | Info} - Sets the logging level. None is equivalent to disabling logging. Errors is the lowest level of logging and indicates that only errors will be logged. Warnings includes both warnings and errors. Info is the highest level of logging and includes errors, warnings, and informational events.
- [/Policy:{Enabled | Disabled}] - Specifies whether or not unattended installation is used.- [/CommandlinePrecedence: {Yes | No}] - Specifies whether an Autounattend.xml file (if present on the client) or an unattended setup file that was passed directly to the Windows Deployment Services client with the /Unattend option will be used instead of an image unattend file during a client installation. The default setting is No.- [/File:<Relative path> /Architecture:{x86 | ia64 | x64}] - Specifies the file name, path, and architecture of the unattend file.
- [/Policy: {AdminApproval | Disabled}] - AdminApprove causes all unknown computers to be added to a pending queue, where the administrator can then review the list of computers and approve or reject each request, as appropriate. Disabled indicates that no additional action is taken when an unknown computer attempts to boots to the server.- [/PollInterval:{time in seconds}] - Specifies the interval (in seconds) at which the network boot program should poll the Windows Deployment Services server.- [/MaxRetry: <Number>] - Specifies the number of times the network boot program should poll the Windows Deployment Services server. This value, along with /PollInterval, dictates how long the network boot program will wait for an administrator to approve or reject the computer before timing out. For example, a MaxRetry value of 10 and a PollInterval vlue of 60 would indicate that the client should poll the server 10 times, waiting 60 seconds between tries. Therefore, the client would time out after 10 minutes (10 x 60 seconds = 10 minutes).- [/Message: <Message>] - Specifies the message that is displayed to the client on the network boot program dialog page.- [/RetentionPeriod] - Specifies the number of days a computer can be in a pending state before being automatically purged.- [/Approved: <time in days>] - Specifies the retention period for approved computers. You must use this parameter with the /RetentionPeriod option.- [/Others: <time in days>] - Specifies the retention period for unapproved computers (rejected or pending). You must use this parameter with the /RetentionPeriod option.
- /Architecture: {x86 | ia64 | x64} - Specifies the architecture.- [/BootProgram: <Relative path>] - Specifies the boot program sent to the approved computer. If no boot program is specified, the default for the architecture of the computer (as specified on the server) will be used.- [/WdsClientUnattend: <Relative path>] - Sets the relative path to the unattend file that the approved client should receive.- [/ReferralServer: <Server name>] - Specifies the Windows Deployment Services server that the client will use to download images.- [/BootImage: <Relative path>] - Specifies the boot image that the approved client will receive.- [/User: <Domain\User | User@Domain>] - Sets permissions on the computer account object to give the specified user the necessary rights to join the computer to the domain.- [JoinRights: {JoinOnly | Full}] - Specifies the type of rights to be assigned to the user. JoinOnly requires the administrator to reset the computer account before the user can join the computer to the domain. Full gives full access to the user, including the right to join the computer to the domain.- [/JoinDomain: {Yes | No}] - Specifies whether or not the computer should be joined to the domain as this computer account during a Windows Deployment Services installation. The default setting is Yes.
- [/Policy: {Include | Exclude}] - Sets the interface bind policy to include or exclude the addresses on the interface list.- [/add] - adds an interface to the list. You must also specify /addresstype and /address.- [/remove] - removes an interface from the list. You must also specify /addresstype and /address.- /address:<IP or MAC address> - Specifies the IP or MAC address of the interface to add or remove.- /addresstype: {IP | MAC} - Indicates the type of address specified in the /address option.
- [/add] /Guid:<GUID> - adds the specified GUID to the list of banned GUIDs. Any client with this GUID will be identified by its MAC address instead.- [/remove] /Guid:<GUID> - removes the specified GUID from the list of banned GUIDs.
- [/Enabled:{Yes | No}] - Specifies the Bcd refreshing policy. When /Enabled is set to Yes, Bcd files are refreshed at the specified time interval.- [/RefreshPeriod:<time in minutes>] - Specifies the time interval at which Bcd files are refreshed.
[/ObtainIpv4From: {Dhcp | Range}] - Specifies the source of IPv4 addresses.[/start: <starting Ipv4 address>] - Specifies the start of the IP address range. This option is required and valid only if /ObtainIpv4From is set to Range[/End: <Ending Ipv4 address>] - Specifies the end of the IP address range. This option is required and valid only if /ObtainIpv4From is set to Range.[/ObtainIpv6From:Range] [/start:<start IP address>] [/End:<End IP address>] Specifies the source of IPv6 addresses. This option only applies to Windows Server 2008 R2 and the only supported value is Range.[/startPort: <starting port>] - Specifies the start of the port range.[/EndPort: <Ending port>] - Specifies the end of the port range.[/Profile: {10Mbps | 100Mbps | 1Gbps | Custom}] - Specifies the network profile to be used. This option is only supported forservers running Windows Server 2008.[/MulticastSessionPolicy] Configures the transfer settings for multicast transmissions. This command is only available for Windows Server 2008 R2.[/Policy:{None | AutoDisconnect | Multistream}] - Determines how to handle slow clients. None means to keep all clients in one session at the same speed. AutoDisconnect means that any clients that drop below the specified /Threshold will be disconnected. Multistream means clients will be separated into multiple sessions as specified by /StreamCount.[/Threshold:<Speed in KBps>] - for /Policy:AutoDisconnect, this option sets the minimum transfer rate in KBps. Clients that drop below this rate will be disconnected from multicast transmissions.[/StreamCount:{2 | 3}] [/Fallback:{Yes | No}] - for /Policy:Multistream, this option determines the number of sessions. 2 means two sessions (fast and slow) 3 means three sessions (slow, medium, fast).[/Fallback:{Yes | No}] - Determines whether clients that are disconnected will continue the transfer using another method (if supported by the client). If you are using the WDS client, the computer will fallback to unicasting. Wdsmcast.exe does not support a fallback mechanism. This option also applies to clients that do not support Multistream. In that case, the computer will fall back to another method instead of moving to a slower transfer session.
[/start: <starting Ipv4 address>] - Specifies the start of the IP address range. This option is required and valid only if /ObtainIpv4From is set to Range[/End: <Ending Ipv4 address>] - Specifies the end of the IP address range. This option is required and valid only if /ObtainIpv4From is set to Range.
[/Policy:{None | AutoDisconnect | Multistream}] - Determines how to handle slow clients. None means to keep all clients in one session at the same speed. AutoDisconnect means that any clients that drop below the specified /Threshold will be disconnected. Multistream means clients will be separated into multiple sessions as specified by /StreamCount.[/Threshold:<Speed in KBps>] - for /Policy:AutoDisconnect, this option sets the minimum transfer rate in KBps. Clients that drop below this rate will be disconnected from multicast transmissions.[/StreamCount:{2 | 3}] [/Fallback:{Yes | No}] - for /Policy:Multistream, this option determines the number of sessions. 2 means two sessions (fast and slow) 3 means three sessions (slow, medium, fast).[/Fallback:{Yes | No}] - Determines whether clients that are disconnected will continue the transfer using another method (if supported by the client). If you are using the WDS client, the computer will fallback to unicasting. Wdsmcast.exe does not support a fallback mechanism. This option also applies to clients that do not support Multistream. In that case, the computer will fall back to another method instead of moving to a slower transfer session.
Examples
To set the server to answer only known clients, with a response delay of 4 minutes, type:
wdsutil /Set-Server /AnswerClients:Known /Responsedelay:4
To set the boot program and architecture for the server, type:
wdsutil /Set-Server /BootProgram:boot\x86\pxeboot.n12 /Architecture:x86
To enable logging on the server, type:
wdsutil /Set-Server /WdsClientLogging /Enabled:Yes /LoggingLevel:Warnings
To enable unattend on the server, as well as the architecture and the client unattend file, type:
wdsutil /Set-Server /WdsUnattend /Policy:Enabled /File:WDSClientUnattend \unattend.xml /Architecture:x86
To set the Pre-Boot execution Environment (PXE) server to attempt to bind to TCP ports 67 and 60, type:
wdsutil /Set-server /UseDhcpPorts:No /DhcpOption60:Yes
wdsutil set-transportserver
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Sets configuration settings for a Transport Server.
Syntax
wdsutil [Options] /Set-TransportServer [/Server:<Server name>]
[/ObtainIpv4From:{Dhcp | Range}]
[/start:<starting IP address>]
[/End:<Ending IP address>]
[/ObtainIpv6From:Range]\n\
[/start:<start IP address>]\n\
[/End:<End IP address>]
[/startPort:<starting port>
[/EndPort:<starting port>
[/Profile:{10Mbps | 100Mbps | 1Gbps | Custom}]
[/MulticastSessionPolicy]
[/Policy:{None | AutoDisconnect | Multistream}]
[/Threshold:<Speed in KBps>]
[/StreamCount:{2 | 3}]
[/Fallback:{Yes | No}]
Parameters
Parameter
Description
[/Server:<Server name>]
Specifies the name of the Transport Server. This can be the NetBIOS name or the fully qualified domain name (FQDN). If no Transport Server name is specified, the local server is used.
[/ObtainIpv4From:{Dhcp | Range}]
Sets the source of the IPv4 addresses as follows:- [/start: <IP address>] Sets the start of the IP address range. This is required and valid only if this option is set to Range.- [/End: <IP address>] Sets the end of the IP address range. This is required and valid only if this option is set to Range.- [/startPort: <port>] Sets the start of the port range.- [/EndPort: <port>] Sets the end of the port range.
[/ObtainIpv6From:Range]
Specifies the source of IPv6 addresses. This option only applies to Windows Server 2008 R2 and the only supported value is Range.- [/start: <IP address>] Sets the start of the IP address range. This is required and valid only if this option is set to Range.- [/End: <IP address>] Sets the end of the IP address range. This is required and valid only if this option is set to Range.- [/startPort: <port>] Sets the start of the port range.- [/EndPort: <port>] Sets the end of the port range.
[/Profile: {10Mbps | 100Mbps | 1Gbps | Custom}]
Specifies the network profile to be used. This option is only available for servers running Windows Server 2008 or Windows Server 2003.