Windows: Many types of malware disable booting into safe mode to prevent easy recovery. You can always get around this by reinstalling or restoring your operating system, but that may not be necessary thanks to the free program Safe Mode Fixer.
The tool is an executable file that requires no installation. Upon running the executable file and clicking on the Fix button, repairs are applied to your system followed by an immediate reboot
Safe Mode Fixer can be downloaded from here