1. Joined : Jun 2016
    West Haven, NSW
    Posts : 6
    Windows 10
       31 Oct 2016 #1

    Unable to delete Program Files (X86) folder and files


    My Win10 Home is regularly updated by MS. After a recent update I find I am no longer able to update or completely remove applications.

    An example: Firstly, I am logged in as an administrator. I recently ran a program that informed me that an update was available. I opted to download and install it. When the install ran, it generated the following message:

    "<filename in C:\Program Files (x86)\filename.exe>

    An error occurred while trying to rename a file in the destination directory.
    MoveFile failed; code 83.
    Cannot create a file when that file already exists.

    Click Retry..."

    I tried first running the install program as Administrator, but the same error is generated. The problem resulting from these attempts to update is that the application no longer runs, probably because some critical files have been deleted/moved/renamed pending newer versions being installed.

    I then tried uninstalling the application but the same problem occurs when I run the installer. On checking the folder concerned I find that a number of files still exist. I then attempted to delete these files - the delete operation proceeded without error but the files still remain.
    On checking the security permissions on the folder I find that ALL APPLICATION PACKAGES, ALL RESTRICTED APPLICATION PACKAGES, CREATOR OWNER, my login, Users, and TrustedInstaller did not have Full Control. I attempted to set this on these folders, and was successful for all except CREATOR OWNER, but each attempt generated an error message concerning the files in the folder. The message was:

    "An error occurred while applying security information to:
    <full path name to a file that wasn't deleted>
    Failed to enumerate objects in the container. Access is denied."

    This occurred for each file that wasn't deleted. I then attempted to check the security permissions on some of the files that couldn't be deleted and was told:

    "You must have Read permissions to view the properties of this object. Click Advanced to continue." Clicking the Advanced button generates the same message but offers the Continue button to "attempt the operation with administrative privileges." Clicking that button generates the message: "You do not have permission to view or edit this object's permission settings." On the previous screen the Owner is shown as "Unable to display current owner." and the Change link just generates the "You do not have permission..." message above.

    I find this situation intolerable - updates to installed applications should go through without a hiccup. At this point I am stymied. If anyone has an idea of what to do, I would appreciate your letting me know. This has occurred twice for me now, although the other time I was able to remove the install folder without a problem.

    Paul.
      My System SpecsSystem Spec


  2. Joined : Aug 2016
    S/E England
    Posts : 823
    10 Home x64 (1607), Pro x86 (1511)
       31 Oct 2016 #2

    Were you logged in as a standard user when you got those errors?

    My account is an administrator and I can move, copy and delete files in 'Program Files (x86)' with nothing more than a 'you'll need to provide administrator permission...' prompt. Clicking 'Continue' completes the operation without further messages. I haven't needed to change any of the permissions or ownership from their defaults.
      My System SpecsSystem Spec


  3. Joined : Jun 2016
    West Haven, NSW
    Posts : 6
    Windows 10
       31 Oct 2016 #3

    Bree said: View Post
    Were you logged in as a standard user when you got those errors?

    My account is an administrator and I can move, copy and delete files in 'Program Files (x86)' with nothing more than a 'you'll need to provide administrator permission...' prompt. Clicking 'Continue' completes the operation without further messages. I haven't needed to change any of the permissions or ownership from their defaults.
    Thanks for getting back so quickly, Bree. I realized after posting this thread that I hadn't supplied this info - which I have now corrected.

    I'm the only user on this PC and I am logged in as Administrator. Yes, I too have been getting the "need to provide administrator permission..." message up to yesterday/the day before. A large update was installed late yesterday, so I suspect something has changed to permissions with new installs. These failing updates, however, are to programs that I installed from older downloads only in the last 24 hours. I'm not game to try any other in case I kill it/them too, but since these were installs made before this update, they may go through. (Because I was able to delete fully the install folder in one case, I have been able to get a clean install of the updated app. This other one just stymies me as I can't do that here.)

    Paul.
      My System SpecsSystem Spec


  4. Joined : Jun 2016
    West Haven, NSW
    Posts : 6
    Windows 10
       31 Oct 2016 #4

    Well, out of desperation I rebooted my PC and voila! I was able to delete the install folder of the application that I could not update. I've now been successful in installing the updated version.

    Whatever was causing the previous problem has me completely flummoxed.

    This issue, then, has been solved and I will mark it so.

    Thank you all for any efforts you made on my behalf.

    Paul.
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Entire Program Files (x86) folder deleted - coincided with 1607 update
Hi, My entire Program Files (x86) folder was cleared out a few days ago, I only noticed because my shortcuts no longer have icons. I have lost 400gb worth of files, and cannot recover all of them. Mostly made up of Steam/GOG downloads, so could...
General Support
Solved Accidentally moved program files into another folder now it is corrupt
I accidentally dragged and dropped the "program files (x86)" folder while trying to open it into another folder which caused the folder to become corrupt. It was placed in the WindowsApps folder below. 96675 When I try to open the program...
General Support
Unable to delete files when searching in explorer
I cannot seem to delete files when I'm doing a regular search in windows. I can go to any folder and delete files, but I when I see the same files in a search result, pressing del does nothing and when I right click, I have no option to delete them...
General Support
Solved Need windows store folder from program files
I need windows store folder from program files/windows app which i deleted Only than i can restore it using powershell Please can someone uplaod the 2 windows store folders in program files windows app
Software and Apps
Mysterious Folder in Program Files
I have a strange folder in C:\Program Files (x86) called "My Company Name" and inside it another one called "My Product Name". This one is empty. My ESET Smart Security found nothing. I can't figure it out where it came from. Is this malware?
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:16.
Find Us
Twitter Facebook Google+



Windows 10 Forums