Remove Web Application Proxy Server From Cluster Jun 2026
This guide provides a step-by-step walkthrough to safely remove a Web Application Proxy server from an Active Directory Federation Services (AD FS) farm or network load balancing cluster without causing downtime. Prerequisites Before Removal
Web Application Proxy (WAP) servers are used to provide an additional layer of security and functionality to web applications. In a clustered environment, multiple WAP servers are configured to work together, ensuring that if one server becomes unavailable, the other servers can continue to provide access to the web application. This ensures high availability and scalability. However, there may be situations where a WAP server needs to be removed from the cluster, such as:
simply reinstall Windows on the same hostname and rejoin it to the cluster without first removing the trust. A reused hostname with an orphaned trust will cause a “duplicate proxy” error during reconfiguration. remove web application proxy server from cluster
Event ID 374, 381 Cause: A load balancer or DNS still points to the removed WAP IP. Fix: Remove A/PTR records from DNS. Flush ARP cache on the load balancer. Use netsh int ipv4 show neighbors to verify ARP entries.
Navigate to (or Proxy Trusts depending on your Windows Server version). Locate the deleted WAP server name. Right-click the server and select Delete . This guide provides a step-by-step walkthrough to safely
This commands stops the node from accepting new cluster traffic. 3. Step 2: Clean Up External DNS
Uninstall-WindowsFeature -Name Web-Application-Proxy -IncludeManagementTools -Restart Use code with caution. This ensures high availability and scalability
System Administrators, Infrastructure Engineers, Security Architects Difficulty Level: Advanced Estimated Time to Complete: 30–45 minutes (excluding replication delays)
%windir%\system32\inetsrv\appcmd.exe list config /section:webFarms > C:\Backup\webfarm.txt
property or perform a clean uninstallation to decommission the node gracefully. Quick Removal via PowerShell
