Monday 11 February 2013

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" (ForWindows 7). You will see cmd icon on search result. Right click on it and Runas 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.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...