If you want to allow the installation of SolidWorks, simply remove the entries you added to the hosts file.