Educational and entertainment tips.

Delete Program Files (x86) from Windows 7


Though you did a clean install from Windows 7 (64 bit) to Windows 7 (32 bit), you still had a "Program Files (x86)" folder and a "Windows.old" folder. You are able to delete the "Windows.old" folder but the "Program Files (x86)" folder will not be deleted without trusted installer permission.

To delete this folder first you have to take ownership of this folder and then you need to give your account full control permission on this file. Then like other folder you can delete the "Program Files (x86)" folder by delete or shift+delete (permanently delete). So follow the steps to get trustedinstaller permission.

  • Click on "Start" menu and type cmd into "Search programs and files" (For Windows 7). You will see cmd icon on search result. Right click on it and Run as Administrator.
  • Into the command prompt type takeown /f "Path and filename" /r /d n and enter. And you will get ownership of the folder.
  • Now type icacls "Path and filename" /grant administrators:F /t and enter.

For example:
takeown /f "C:\Program Files (x86)" /r /d n
icacls "C:\Program Files (x86)" /grant administrators:F /t
full control permission

After Successfully processed the files and like other folders, you can delete the "Program Files (x86)" folder.

8 comments:

Reploid said... 9 Jul 2012 11:29:00

The only fix that worked for me. Thanks.

Reply
edmarV Sleonel said... 1 Oct 2012 19:11:00

ok ,, it works thanks

Reply
Ankit singh said... 17 Oct 2012 02:24:00

how to undo the changes i.e i dont want to delete any systen file or folder?????
plzzz reply me sooon
........

Reply
Mamadou Mbaye said... 22 Oct 2012 15:59:00

the second step dont works for me

Reply
Devin Patel said... 18 Nov 2012 16:49:00

Second step doesn't work

Reply
samhela said... 15 Jan 2013 15:30:00

Wow, Tnx works for me all the steps.

Reply
Rusale Baga said... 5 Sep 2013 15:43:00

thanks. I found this tutorial everywhere but wasn't able to understand.
now I understand it. Thanks for the detailed explanation. :D

Reply
Carlos Leemet said... 8 Sep 2013 21:16:00

Haha that was too easy, thanks! :P

Reply

Post a Comment