Fix DNS-related activation issues on Windows Server