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 (parmanently delete). So follow the steps to get trusted installer 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 file name" /r /d n and enter. And you will get ownership of the folder.
  • Now type icacls "Path and file name" /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

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

7 comments:

  1. The only fix that worked for me. Thanks.

    ReplyDelete
  2. edmarV Sleonel1 October 2012 19:11

    ok ,, it works thanks

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

    ReplyDelete
    Replies
    1. 001 EASY TRICKS17 October 2012 21:59

      If you already deleted the any system file or folder then you can't undo the changes. For this, you have to use recover cd of OS to restore them.

      Delete

Note: only a member of this blog may post a comment.