How to fix a known error with network sharing center issue
Network Sharing Center freezes when trying to access it and/or shows the error "Server execution failed."
Launch an elevated command prompt (right click run as administrator)
Then, run the command
What this does is it adds the Administrator group to the Local Service.