A request to allocate an ephemeral port number from the global UDP port space has failed due to all such ports being in use.

Problem:
Event 4266
A request to allocate an ephemeral port number from the global UDP port space has failed due to all such ports being in use.

Workaround:
Use netstat -anob
Look for several dnscache entries

Find PID number for the dnscache service:
tasklist /SVC|find /i “dns”

Kill the pid:
TASKKILL /PID <PID process number> /F

Remember to start the other serviecs used by that pid (as it is controlled by svchost.exe)