Learn How to take Ownership of a file in Windows Vista Or Windows 7
In Windows 7 Or Vista when we try to edit or delete a system file it may show an error message as shown below. Sometimes we need to remove a system file which we consider it useless, for example mfpmp.exe etc. we need to take ownership of the file in order to rename it or delete it.

Step 1: Open command prompt (Press Start+R, Type cmd and Enter).

Example: takeown /f C:\Windows\System32\mfpmp.exe

icacls (Full path of the file and file name) /grant (user name):F and press Enter
For example, icacls C:\Windows\System32\mfpmp.exe /grant DENNIS:F
