Windows 10: How to reset default file permissions for these directories?

Page 1 of 4 123 ... LastLast

  1. Posts : 806
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
       25 Oct 2015 #1

    How to reset default file permissions for these directories?


    The other day, I was trying to fix Windows Default Apps not working by adding "ALL APPLICATION PACKAGES" to the following directories as indicated here:
    https://support.microsoft.com/en-us/kb/2798317

    However, it seems to have messed up the permissions as what I did was take ownership and then added both myself and "ALL APPLICATION PACKAGES".

    My question is, how do I reset the permissions of the following folders and their sub folders and sub files to the defaults:

    C:\Program Files
    C:\Windows
    C:\Users

    Does this command below do it?
    icacls * /T /Q /C /RESET

    My other question is will it fix the folders to the default inheritance if I enabled inheritance to child folders/files for a folder that was by default disabled or if I disabled inheritance to the child folders/files for a folder that is by default enabled?

    Other than the above, Am I correct that I will have to manually change the permission for each users folder under C:\Users so they own and have full control of that folder.
      My ComputerSystem Spec


  2. Posts : 2,278
    Windows 10.3 Home 1703 x64 (Home per choice)
       25 Oct 2015 #2

    You could try Windows Repair Free to reset file permissions.
      My ComputerSystem Spec


  3. Posts : 806
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
    Thread Starter
       25 Oct 2015 #3

    I downloaded that earlier and opened it, except it requires running in safe mode. The problem is the system might not boot to safe mode's login screen until I fix the permissions as it will be stuck at the light blue screen with the spinning circle for 2 hours before it will show the login screen. Apparently, a in-place repair upgrade install of Windows will not fix the permissions.
      My ComputerSystem Spec


  4. Posts : 14,883
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       25 Oct 2015 #4

    Almighty1 said: View Post
    I downloaded that earlier and opened it, except it requires running in safe mode. The problem is the system might not boot to safe mode's login screen until I fix the permissions as it will be stuck at the light blue screen with the spinning circle for 2 hours before it will show the login screen. Apparently, a in-place repair upgrade install of Windows will not fix the permissions.
    It's only strongly recommended to run in safe mode. All you have to do is turn off your anti virus and run for your specific problem. This with running safe mode is a new recommendation from them. I have been using the tool for years now.
      My ComputersSystem Spec


  5. Posts : 806
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
    Thread Starter
       25 Oct 2015 #5

    Cliff S said: View Post
    It's only strongly recommended to run in safe mode. All you have to do is turn off your anti virus and run for your specific problem. This with running safe mode is a new recommendation from them. I have been using the tool for years now.
    Can't turn off anti-virus as Norton products have this problem where the disable part is greyed out listed under Hot Issues #4:
    HOT ISSUES FIXES - NIS/NAV/N360 22.5 | Norton Community

    In any case, I always thought AV's don't run under safe mode even if it was enabled.

    I'm still confused on the reset file permissions in the tool as it seems to indicate, it will add to the permissions, will it set the user/groups/owner back to default as well?

    As this is what it says:
    Reset File Permissions:


    The repair will grant administrators, system, users and everyone full rights to every file on the selected drives.


    This will only ADD the permissions, it will not remove current permissions or the owner of a file.


    When certain files lose their proper permissions, then lots of problems can happen, such as not being able to install windows updates, program errors, services failing and so on.


    WARNING: This repair can take a very significant amount of time to complete, depending on the speed of your CPU & the number of files on the drive.


    ******
    For Windows 7, 8, 8.1 & 10
    ******
    The program will set the default permissions instead of the full admin privileges that are done on XP.


    This way proper permissions are put back and your machine stays secure.


    ******
    Last edited by Almighty1; 25 Oct 2015 at 09:15.
      My ComputerSystem Spec


  6. Posts : 14,883
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       25 Oct 2015 #6

    Almighty1 said: View Post
    Can't turn off anti-virus as Norton products have this problem where the disable part is greyed out listed under Hot Issues #4:
    HOT ISSUES FIXES - NIS/NAV/N360 22.5 | Norton Community

    In any case, I always thought AV's don't run under safe mode even if it was enabled.

    I'm still confused on the reset file permissions in the tool as it seems to indicate, it will add to the permissions, will it set the user/groups/owner back to default as well?

    As this is what it says:
    Reset File Permissions:


    The repair will grant administrators, system, users and everyone full rights to every file on the selected drives.


    This will only ADD the permissions, it will not remove current permissions or the owner of a file.


    When certain files lose their proper permissions, then lots of problems can happen, such as not being able to install windows updates, program errors, services failing and so on.


    WARNING: This repair can take a very significant amount of time to complete, depending on the speed of your CPU & the number of files on the drive.


    ******
    For Windows 7, 8, 8.1 & 10
    ******
    The program will set the default permissions instead of the full admin privileges that are done on XP.


    This way proper permissions are put back and your machine stays secure.


    ******
    I was saying you can run it normally without going to safe mode. But the AV must be turned off, and your's won't let you.... hmmmm, I'm glad I stay with defender. Only the highlighted is what is done now, it was changed one or two versions ago, for system security reasons(plus users who didn't know what they were doing were breaking their systems when they had total control of their system.

    Also he's decided this program should "Repair" Windows, not "Tweak" it.
      My ComputersSystem Spec


  7. Posts : 806
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
    Thread Starter
       25 Oct 2015 #7

    Cliff S said: View Post
    I was saying you can run it normally without going to safe mode. But the AV must be turned off, and your's won't let you.... hmmmm, I'm glad I stay with defender. Only the highlighted is what is done now, it was changed one or two versions ago, for system security reasons(plus users who didn't know what they were doing were breaking their systems when they had total control of their system.

    Also he's decided this program should "Repair" Windows, not "Tweak" it.
    To be honest, when someone mentioned the program in responses to others a few weeks ago, I thought it was advertising for the program but until you responded with your quality reputation, I didn't know to try it or not. LOL. In any case, my Norton was actually installed in Win7 as the update provided Win10 compatibility but it worked fine until a few weeks ago when it permanently was greyed out, normally a reboot will fix it but with the newer update of them trying to fix the problem, it made the problem permanent. After I fix the file permissions, hopefully it knows about the ALL APPLICATION PACKAGES for those folders, I'm going to do another in-place upgrade reinstall just to make sure Windows actually install correctly as it seems Windows doesn't change the permissions when it installs as I was wondering why the boot up was taking so long and going to Settings and trying to add a user would also be on Just a moment with the circle spinning for hours, I tried icacls * /T /Q /C /RESET while in the C:\Windows folder and that fixed it, now it opens up instantly like it's supposed to. I was wondering is there anything I can do because Default Apps including Store does not work even doing the in-place upgrade reinstall as basically what happens is C:\Program Files\WindowsApps does not have ALL APPLICATION PACKAGES as part of the permissions, if I added that and then did the Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}, all the apps would work, it won't work if I run the command without adding ALL APPLICATION PACKAGES first.
      My ComputerSystem Spec


  8. Posts : 14,883
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       25 Oct 2015 #8

    After the repair install have you checked your time zone setting and permissions & location settings in privacy settings in the settings app?
      My ComputersSystem Spec


  9. Posts : 806
    Windows XP/7/8/8.1/10, Linux, Android, FreeBSD Unix
    Thread Starter
       25 Oct 2015 #9

    Cliff S said: View Post
    After the repair install have you checked your time zone setting and permissions & location settings in privacy settings in the settings app?
    Yes, and it's correctly set. The problem is more the All Application Packages which needs to be added to that folder first as this is the 5th repair install I did in the last week due to the Start Menu stop working, All Application Packages was manually added on September 12, 2015 reinstall and the original August 11, 2015 upgrade from Win7 but with those, the Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode} didn't work, I had to use Add-AppxPackage -register "C:\Program Files\WindowsApps\*\appxmanifest.xml" -DisableDevelopmentMode
    where * is the name of the app directory, only the apps in C:\Program Files\WindowsApps would not work as everything in C:\Windows\SystemApps works fine.
      My ComputerSystem Spec


  10. Posts : 14,883
    Microsoft Windows 10 Pro 64-bit 14393, Windows 10 Insider Fast Ring, Windows 8.1 Update, Ubuntu
       25 Oct 2015 #10
      My ComputersSystem Spec


 
Page 1 of 4 123 ... LastLast

Related Threads
Browsers & Email Reset Microsoft Edge to Default in Windows 10 in Tutorials
How to Reset Microsoft Edge to Default in Windows 10 Microsoft Edge is a new web browser that will be available across the Windows 10 device family. It is fast, compatible, and built for the modern Web. This tutorial will show you how to...
So two things; when I restart my computer my saved and in-use cursor always resets back to the default cursor pack that comes with the system. I had this issue in Windows 8.1 too, but now it's getting on my nerves because I've got to go to the...
Reset Windows 10 Administrator Account to default in User Accounts and Family Safety
So I've had some issues with my Administrator account but not for the others where it mentioned explorer.exe interface was not supported and all of my other programs lost his functionality (Skype,Games,Microsoft Edge). I did some research on some...
Merge Directories in General Support
I have two large Directories (about 25 GB each, 6-7000 files) that contain similar information. One may have newer files than the other. I would like to merge them into one Directory and eliminate duplicate files. Is there some software that...
Hi there I can't use EDGE as my default browser as I have a few media servers and as has been pointed out that as EDGE is a universal app addresses like 127.0.0.1:8000 (i.e localhost type stuff) are no longer addressable. I need these types of...
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 09:56.
Find Us