Windows 10: Can't delete Windows and all Program-files-files(x86)-data folders why

Discus and support Can't delete Windows and all Program-files-files(x86)-data folders why in Windows 10 Support to solve the problem; In D: drive i have the old windows. I didn't uninstalled them i just installed new windows on C: The drive D: was C: but now the drives switched.... Discussion in 'Windows 10 Support' started by Chocolade, Oct 21, 2017.

  1. Chocolade Win User

    Can't delete Windows and all Program-files-files(x86)-data folders why


    In D: drive i have the old windows. I didn't uninstalled them i just installed new windows on C:
    The drive D: was C: but now the drives switched.

    Now in C: i have the new installed windows 10 and it's working fine.
    But on D: i have the old windows folder and also the folders: Program Files, Program Files(x86) and ProgramData

    And when i try to delete all this 4 folders i'm getting in each one of them a message:


    Can't delete Windows and all Program-files-files(x86)-data folders why [​IMG]


    This is how i'm trying to delete:


    Can't delete Windows and all Program-files-files(x86)-data folders why [​IMG]


    In this case the Program Files folder but the same message i'm getting on the other folders.

    :)
     
    Chocolade, Oct 21, 2017
    #1
  2. KentEnnis Win User

    Program Files (x86) (x86)

    I have folders for program files, program files (x86) and program files (x86) (x86). Believe the program files (x86) (x86) is based on loading an incompatible Lexmark printer software as the only folder within is Lexmark 3500-4500 series. Tried to delete
    folder but states "action can't be completed because the folder or a file in it is open in another program. I have uninstalled all associated printer/software from system but can't seem to delete this folder. Any advise would be greatly appreciated. Thx
     
    KentEnnis, Oct 21, 2017
    #2
  3. TWDIV Win User
    Windows 10 Reset, No Program Files (x86)

    I Just did a fresh reset of Windows 10 deleting all my personal files. Logging into my fresh install there is a Program Files folder but no Program Files (x86) Folder hidden or otherwise. Why is this folder not on my C drive and how can I fix this?
     
    TWDIV, Oct 21, 2017
    #3
  4. Can't delete Windows and all Program-files-files(x86)-data folders why

    You need to give yourself a full permission and take ownership of the folders.

    1. In Windows 10 type cmd.exe into Start Menu, right-click on Cmd.exe, and open it as an administrator.

    2. Type following commands:

    Code: Takeown /f D:\Windows /r /D Y Takeown /f "D:\Program Files" /r /D Y Takeown /f "D:\Program Files(x86)" /r /D Y Attrib -s -r -h D:\ProgramData Takeown /f D:\ProgramData /r /D Y Icacls D:\Windows /grant %Username%:F /t /c Icacls "D:\Program Files" /grant %Username%:F /t /c Icacls "D:\Program Files(x86)" /grant %Username%:F /t /c Icacls D:\ProgramData /grant %Username%:F /t /c[/quote] After executing the commands try deleting the folders.
     
    FreeBooter, Oct 21, 2017
    #4
  5. Chocolade Win User
    Could you explain please what are the commands do and why did you make attrib only for programdata but not the other directories ? And if i have a directory or file that is not related to one of this directories what should i do ?
     
    Chocolade, Oct 22, 2017
    #5
  6. The Takeown command allows an administrator to recover access to a file that was denied by re-assigning file ownership.

    Below command gives your user account ownership of the Windows folder and files/subfolders of the Windows folder.

    Code: Takeown /f D:\Windows /r /D Y[/quote] The Attrib command displays or changes file/folder attributes.

    Below command clears hidden, read only and system attributes of the ProgramData folder this is done because Takeown command cannot take ownership of the hidden folder/file. The D:\ProgramData folder by default is hidden.

    Code: Attrib -s -r -h D:\ProgramData[/quote]
    The icacls command is use for modifying or displaying files/folders NTFS permissions.

    Below command given your user account full permission to Windows folder and its files/subfolders.

    Code: Icacls D:\Windows /grant %Username%:F /t /c[/quote]
     
    FreeBooter, Oct 22, 2017
    #6
  7. SIW2 Win User
    You can delete them from booted winpe/winre.
     
  8. spunk Win User

    Can't delete Windows and all Program-files-files(x86)-data folders why

    Rather then trying to Delete Windows System files, why not save any personal files under D:\Users\[YourUserName] (ie) Documents, Pictures, Music, to a different drive, like your C:\ Windows 10 drive, and then Format the D:. drive. Once that is done, you can restore your personal files back to D: as a backup.
     
    spunk, Oct 22, 2017
    #8
  9. Chocolade Win User
    I have on D: too much data like movies programs and other stuff more then 300GB it will take me too much time to copy it and on C: it's the new windows installation C: is smaller hard disk. Deleting the old windows from D: in this case at least is the faster way.
     
    Chocolade, Oct 22, 2017
    #9
  10. f14tomcat Win User
    The simplest and safest way to "Take Ownership" of a folder or file is to use the context menu option provided in this TF tutorial. Then right click the folder or file in question, and click Take Ownership. You then own it, and can move/copy/delete/modify anything you wish. Just be cautious, it does exactly what it says. Use wisely.

    Add Take Ownership to Context Menu in Windows 10 User Accounts Tutorials

    TC
     
    f14tomcat, Apr 4, 2018
    #10
Thema:

Can't delete Windows and all Program-files-files(x86)-data folders why

Loading...
  1. Can't delete Windows and all Program-files-files(x86)-data folders why - Similar Threads - Can't delete Program

  2. Can't delete Wildtangent folder in the Programs Files x86

    in Windows 10 Network and Sharing
    Can't delete Wildtangent folder in the Programs Files x86: Because my HP said that it was nearly full I double checked for bloatware like istalled games etc. However I find folders in the Programs Files x86 that should have disappeared when I uninstalled the programs such as WildTangent games. It won't let me delete it because it's...
  3. Can't delete Wildtangent folder in the Programs Files x86

    in Windows 10 Software and Apps
    Can't delete Wildtangent folder in the Programs Files x86: Because my HP said that it was nearly full I double checked for bloatware like istalled games etc. However I find folders in the Programs Files x86 that should have disappeared when I uninstalled the programs such as WildTangent games. It won't let me delete it because it's...
  4. Can't delete Wildtangent folder in the Programs Files x86

    in Windows 10 Gaming
    Can't delete Wildtangent folder in the Programs Files x86: Because my HP said that it was nearly full I double checked for bloatware like istalled games etc. However I find folders in the Programs Files x86 that should have disappeared when I uninstalled the programs such as WildTangent games. It won't let me delete it because it's...
  5. deleted program files x86

    in Windows 10 Network and Sharing
    deleted program files x86: I deleted Program files x86 by mistake .How I can create same folder ,whenever I have tried to create same folder there is an error as this files is in use.. please help me to create the folder or restore it....
  6. Legacy program data and X86 files

    in Windows 10 Network and Sharing
    Legacy program data and X86 files: I am updating a legacy program written several years ago. Developed in VB6 yes, it still runs, it has always installed and run under the Program Files X86 folder. All program files have installed there and the program is running. Where is the data stored and how do I get...
  7. Is it safe to delete the adobe folders located in program files and program files (x86) in...

    in Windows 10 Ask Insider
    Is it safe to delete the adobe folders located in program files and program files (x86) in...: So I want to completely uninstall photoshop from my computer but I am worried that if I delete the Adobe folders from these locations my system will malfunction in some way. Am I just being paranoid? submitted by /u/josechiri707 [link] [comments]...
  8. Can't delete Programs files and program files x86

    in Windows 10 Network and Sharing
    Can't delete Programs files and program files x86: I am trying to change what disk i am using so i copied over the program files and program files x86 but i can't delete the old it just says file is still open but nothing else is open...
  9. Unable to delete Program Files (X86) folder and files

    in Windows 10 Support
    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...
  10. Are the Program Files and Program Files (x86) folders important?

    in Windows 10 Support
    Are the Program Files and Program Files (x86) folders important?: Hi, I was wondering how important the two mentioned folders are when installing a software. I know most programs suggest being installed to one of them, but it is really necessary? What happens if I choose another folder? I use the game client Steam for example. It...