Main Forum > Tweaking.com Support & Help
Reset File Permissions - Windows Repair v3.6.1 - Windows 10
maxXPsoft:
--- Quote from: Almighty1 on October 27, 2015, 08:02:44 am ---then try to open Store or any of the default apps, does it open? If not, adding "ALL APPLICATION PACKAGES" group to C:\Program Files\WindowsApps will usually allow the app to open again as I've been testing this in different scenario after doing a in-place upgrade install. Cortana and Search doesn't count as those are located in C:\Windows\SystemApps and run using .exe files.
--- End quote ---
Have that on right click
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
Can't I've uninstalled everything MS from my Start :tongue: except Store
Almighty1:
--- Quote from: Shane on October 27, 2015, 09:25:21 am ---I use my program to export out the permissions from windows 10 with all updates and all added features. That way it has the most complete list that it can. It then restores these on the system it is ran.
So it firsts sets permissions to give full access so that it is able to set the permissions, this also helps grab and set non windows files and folders and registry keys. Then it does the restore to defaults, which it extracts the files that has the data for it and does the work.
With the amount of updates have been coming out for 10 like crazy I have to get the defaults updated just to make sure I stay on top of it.
Shane
--- End quote ---
Your program actually did a great job other than what I mentioned as it is fast too, took only 38 minutes and 39 seconds. I tried this method before using your tool and while it uses icacls to reset, it messed things up as driver installers could not install and opening device manager from right clicking start menu would bring up UAC and ofcourse the process took 5+ hours for my current user directory in a elevated command prompt.
http://lallouslab.net/2013/08/26/resetting-ntfs-files-permission-in-windows-graphical-utility
which basically does:
takeown /r /f C:\Windows\*
icacls C:\Windows\* /T /Q /C /RESET
Your program actually does set the permissions back to defaults except it should probably try to process the entire C:\Users directory since web instructions tells people to fix Windows Store problems by messing with the entire C:\Users rather than just the current users folder. Now it would be cool if it can fix the Start Menu not working problem which is the reason I always do the in-place upgrade installs as in my case, it only happens after a reboot when I login randomly about a month later and whenever it happens, I can tell the start menu is broken because HDDHealth would complain at startup it cannot write C:\Program Files\HDDHealth\_identity.bin, it never writes that file except when it was installed as I can see it writing C:\Windows\_identity.bin based on the most recent modification times.
Almighty1:
--- Quote from: maxXPsoft on October 27, 2015, 04:00:34 pm ---
--- Quote from: Almighty1 on October 27, 2015, 08:02:44 am ---then try to open Store or any of the default apps, does it open? If not, adding "ALL APPLICATION PACKAGES" group to C:\Program Files\WindowsApps will usually allow the app to open again as I've been testing this in different scenario after doing a in-place upgrade install. Cortana and Search doesn't count as those are located in C:\Windows\SystemApps and run using .exe files.
--- End quote ---
Have that on right click
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
Can't I've uninstalled everything MS from my Start :tongue: except Store
--- End quote ---
Except the right click method doesn't work as when you actually do the apply to child folders and files in the GUI when you right click Properties for a folder then Security then Advanced, it will have Access Denied to some files and folders which was the reason for the takeown and the icacls lines which would never fail on any of the files. Win10 is known to break permissions even for files in a users home directory by default and it has nothing to do with ownership, the GUI or registry method will not work on some stubborn files as my home directory has over 125,000 files and it's usually a dozen files that causes the problem and I usually have to manually take ownership of the files as well as give it the correct permissions. Besides, if you uninstalled everything, you wouldn't have a problem anyways since I'm talking about getting it as stock install. Besides, why would the apps fail to work if all one did was gave themselves full control of the file even after giving ownership back to NT Service/TrustedInstaller which was the default and then only work if a certain group was added to the permissions which didn't even exist originally. Apparently, Microsoft knows something we don't. ;)
http://www.tenforums.com/user-accounts-family-safety/10914-permissions-issues-you-do-not-currently-have-permission.html
Shane:
In Windows Repair v3.6.2 I went and got all the updated default permissions for 10 for both the registry and files.
Shane
Navigation
[0] Message Index
[*] Previous page
Go to full version