Aggressive local firewalls can block the SolidWorks Installation Manager independently of the Hosts file. Temporarily disable your real-time antivirus protection and Windows Defender Firewall during the installation phase.
After saving the hosts file, open the as administrator and type: ipconfig /flushdns This ensures Windows immediately recognizes the changes you made. solidworks host file block install