How to Remove Windows Server 2016 DHCP Role.
Z graficznym interfejsem użytkownika
1. In Menedżer serwera, in the upper menu click Manage. Trzask Remove Roles and Features;
2. Dla Server Selection, select your server and click Next;
3. Dla Server Roles, deselect DHCP Server;
4. In the pop-up window click Remove Features;
5. Trzask Next;
6. Dla Cechy. Trzask Next;
7. Dla Confirmation, trzask Usunąć;
8. Dla Results, trzask Zamknąć;
9. Restart the system;
10. After the system reboots, the role disappears;
Z PowerShellem
1. Uruchomić PowerShell jako administrator;
2. For DHCP console removal;
Uninstall-WindowsFeature RSAT-DHCP
3. For DHCP Role removal;
Uninstall-WindowsFeature DHCP -Remove
4. Reboot the server.
NOTATKA: After DHCP role uninstalled check ADSI, if you plan to install it again.