Windows XP Safe mode not working after virus infection - solution. There is nothing worse than trying to get rid of a virus and 99% of the time you need safe mode to accomplish this. Viruses are getting smarter nowadays and remove the registry keys to stop you from doing this. If your system boots up fine but safe mode restarts your computer when loading then this is for you! This file will work with XP SP2 and SP3 versions of your operating system. Download the Zip and click on the file and allow it to run. Restart the machine and enjoy accessing safe mode once again. If by some means this does not work then register with us so we can help you. .