Answered by:
Removing DHCP failover by force

Question
-
Hello Microsoft community,
I have an issue with removing DHCP failover
when im trying to remove the failover it says:
CheckStatus of the failover relationship.......... Failed
Access is denied
Delete failover relationship failed. Error 5. Access is denied.
-----------------
Now I was reading quite a few articles and I found this command:
Remove-DhcpServerv4Failover -ComputerName <server name> -Name <name of the failover partnership> -force
after executing this command will it or will it not delete my only scope?
Do I need to backup my dhcp before executing this command?
And can i do it in the middle of a work day without enterupting the work of others?
Answers
-
Hello,
You should always backup before doing any changes, the Remove-DhcpServerv4Failover cmdlet should simply remove the failover configuration, and not any scopes.
What failover method do you have configured?
- Hot standby mode
- Load sharing mode
If it's hot standby mode you should be able to do it during a normal workday, if it's load sharing mode I would recommend doing it during a planned maintenance.
Best regards,
LeonBlog:
https://thesystemcenterblog.com LinkedIn:
- Marked as answer by QmarkIT Monday, July 8, 2019 11:00 AM
- Hot standby mode
All replies
-
Hello,
You should always backup before doing any changes, the Remove-DhcpServerv4Failover cmdlet should simply remove the failover configuration, and not any scopes.
What failover method do you have configured?
- Hot standby mode
- Load sharing mode
If it's hot standby mode you should be able to do it during a normal workday, if it's load sharing mode I would recommend doing it during a planned maintenance.
Best regards,
LeonBlog:
https://thesystemcenterblog.com LinkedIn:
- Marked as answer by QmarkIT Monday, July 8, 2019 11:00 AM
- Hot standby mode
-
Hello,
You should always backup before doing any changes, the Remove-DhcpServerv4Failover cmdlet should simply remove the failover configuration, and not any scopes.
What failover method do you have configured?
- Hot standby mode
- Load sharing mode
If it's hot standby mode you should be able to do it during a normal workday, if it's load sharing mode I would recommend doing it during a planned maintenance.
Best regards,
Leon
Blog:
https://thesystemcenterblog.com LinkedIn:
It is configured as Load balance but the partner server is not reachable
I still need to plan a maintenance?
- Hot standby mode
-
If the partner server has not been reachable for a while, and your clients/servers are receiving IP addresses from your primary DHCP server only, then you should be fine to remove the failover without a maintenance.
Blog:
https://thesystemcenterblog.com LinkedIn:
-
If the partner server has not been reachable for a while, and your clients/servers are receiving IP addresses from your primary DHCP server only, then you should be fine to remove the failover without a maintenance.
I want to run this cmdlet on the primary DHCP server will it be ok?
Blog:
https://thesystemcenterblog.com LinkedIn:
-
Yes it’s okay to run it on your primary DHCP server.
Blog:
https://thesystemcenterblog.com LinkedIn:
-
Yes it’s okay to run it on your primary DHCP server.
Thank you alot it worked and I managed to configure a new failover
Blog:
https://thesystemcenterblog.com LinkedIn:
-
Great stuff, you're welcome!
Blog:
https://thesystemcenterblog.com LinkedIn: