Removes a custom namespace.
Syntax
wdsutil /remove-Namespace /Namespace:<Namespace name> [/Server:<Server name>] [/force]
Parameters
| Parameter | Description |
|---|---|
| /Namespace:<Namespace name> | Specifies the name of the namespace. This is not the friendly name, and it must be unique.- Deployment Server role service: The syntax for namespace name is /Namespace:WDS:<ImageGroup>/<ImageName>/<Index>. For example: WDS:ImageGroup1/install.wim/1- Transport Server role service: This value must match the name given to the namespace when it was created on the server. |
| [/Server:<Server name>] | Specifies the name of the server. This can be the NetBIOS name or the fully qualified domain name (FQDN). If no server name is specified, the local server is used. |
| [/force] | removes the namespace immediately and terminates all clients. Note that unless you specify /force, existing clients can complete the transfer, but new clients are not able to join. |
Examples
To stop a namespace (current clients can complete the transfer but new clients are not able to join), type:
wdsutil /remove-Namespace /Namespace:Custom Auto 1
To force termination of all clients, type:
wdsutil /remove-Namespace /Server:MyWDSServer /Namespace:Custom Auto 1 /force
Related links
- Command-Line Syntax Key
- wdsutil get-allnamespaces command
- wdsutil new-namespace command
- wdsutil start-namespace command
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
