remove magnify.exe

August 13, 2013

Problem

You hate magnify.exe yet you are unable to delete magnify.exe

Solution

  1. Take ownership of magnify.exe
  2. Move it to a new filename
  3. Celebrate

i_hate_magnify.bat

takeown /f "%windir%\system32\Magnify.exe" && icacls "%windir%\system32\Magnify.exe" /grant administrators:F
echo "Took ownership of Magnify.exe!"
move "%windir%\system32\Magnify.exe" "%windir%\system32\Magnify.exe.ihateyou"
pause