Users who try to flush the dns cache might receive the error message “Windows IP Configuration Could not flush the DNS Resolver Cache: Function failed during execution” if the DNS Client service is deactivated.
The solution to fix this error message is to enable the DNS Client service again in the Services configuration menu. I’m not sure if it makes that much sense to flush the cache if the DNS Client is disabled as it should mean that Windows is not resolving and storing DNS at all. Experts who might to weight in are encouraged to do so.
You can start the service by typing [Windows R], [services.msc] [enter]. Locate the DNS Client service, right-click it and select properties from the menu.
You need to set the service to manual or automatic before you are able to start the service.