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.
![](http://2.bp.blogspot.com/_d5cmfrSDdck/SZMiS3IVcWI/AAAAAAAABV8/OJSZKv8Wbqg/s400/Windows7a.png)
Step 1: Open command prompt (Press Start+R, Type cmd and Enter).
![](http://4.bp.blogspot.com/_d5cmfrSDdck/SZMiTA2WsHI/AAAAAAAABWU/MaNULU2je2Y/s400/Windows7d.png)
Example: takeown /f C:\Windows\System32\mfpmp.exe
![](http://1.bp.blogspot.com/_d5cmfrSDdck/SZMiTGZjd0I/AAAAAAAABWM/0c-28_sEkz0/s400/windows7c.png)
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
![](http://3.bp.blogspot.com/_d5cmfrSDdck/SZMiS9IGloI/AAAAAAAABWE/T-SKACbfbGI/s400/windows7b.png)
No comments:
Post a Comment