New
#11
Thanks Cliff S!
I'm on a ASUS G74SX-3DE except pretty much what is said on that page is the same as what I mentioned in the original post above as the first solution is:
which for me, when I did it 3 times as recommended results in:Code:sfc /scannow
Then:Code:C:\WINDOWS\system32>sfc /scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. Verification 100% complete. Windows Resource Protection did not find any integrity violations. C:\WINDOWS\system32>sfc /scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. Verification 100% complete. Windows Resource Protection did not find any integrity violations. C:\WINDOWS\system32>sfc /scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan. Verification 100% complete. Windows Resource Protection did not find any integrity violations.
Code:Dism /Online /Cleanup-Image /CheckHealth
which results in:
Then:Code:C:\WINDOWS\system32>Dism /Online /Cleanup-Image /CheckHealth Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 No component store corruption detected. The operation completed successfully.
Code:Dism /Online /Cleanup-Image /ScanHealth
which results in:
Code:C:\WINDOWS\system32>Dism /Online /Cleanup-Image /ScanHealth Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 [==========================100.0%==========================] No component store corruption detected. The operation completed successfully.
then:
Code:Dism /Online /Cleanup-Image /RestoreHealth
which results in:
It then mentions:Code:C:\WINDOWS\system32>Dism /Online /Cleanup-Image /RestoreHealth Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 [==========================100.0%==========================] The restore operation completed successfully. The operation completed successfully.
In my case, what I did was using C:\Windows for example:Code:icacls "c:\programdata" /reset /T /C
so the only difference is I'm specifying /Q.Code:C: CD \Windows icacls * /T /Q /C /RESET
From the icacls usage info:
What I am confused about here when it says "replaces ACLs with default inherited ACLs for all matching files." is will it also replace each subfolder and their files so if a file or subfolder is set as inherit/disinherit or the opposite of what it is supposed to be, will it reset it back to what it was by default. I noticed when I did that command, Start Menu -> Settings -> Accounts -> Family & Other Users:Code:ICACLS name /reset [/T] [/C] [/L] [/Q] replaces ACLs with default inherited ACLs for all matching files. /T indicates that this operation is performed on all matching files/directories below the directories specified in the name. /C indicates that this operation will continue on all file errors. Error messages will still be displayed. /L indicates that this operation is performed on a symbolic link itself versus its target. /Q indicates that icacls should suppress success messages.
Both Add a family member and Add someone else to this PC would open with Just a moment and the spinning cursor would not stop even after 3 hours but after the command above, it opens immediately. It does show Access Denied on some files when the command was run.
I tried it on C:\Users and the problem is it shows Access Denied and also file not found for files that have long names or links somewhere else.
The other things mentioned:
I already did #1 as indicated above, have not tried #2. As for #3, it doesn't reset the file permissions because what happened was Windows would go to that light blue screen and I can see it install updates, reboot, install updates again on the light blue screen then it would reboot and stay at the light blue screen after it says Just a moment with the spinning circle for about 2 hours. Seems like Windows is keep fighting with the permissions. With the repair in-place upgrade, after installing, it logs into the account by default after the password but when I reboot, it basically goes to that light blue screen to perform the updates, reboot and then it would be stuck at the light blue screen with the spinning circle after the Just a Moment for about 2 hours. So it seems like this doesn't fix the permissions issue which icalcs did when I performed it on C:\Windows mentioned above. What I'm thinking about doing is maybe copy those folders in C:\Program Files\WindowsApps for things that I added which are no longer available elsewhere. delete C:\Program Files\WindowsApps as a folder altogether and let the Windows in-place upgrade install recreate it but is there a good way to have it recreate the start menu and the default tiles as it seems one cannot delete the C:\Users\<login>\AppData\Local\tiledatalayer folder as it will just create a new vedatamodel.edb file which will result in a Start Menu with no tiles and when the Windows in-place upgrade install is done, it will just use whatever vedatamodel.edb was already there so if it was broken, it would not fix it. I also noticed that even when I add a new user, the default apps do not work either and I always have to manually fix it for the user added.Code:If this doesn't work, a person has a couple of choices: 1. Run dism /online /cleanup-image /restoreheatlh in admin cmd. I don't believe this advanced command was included in Win 7 by default, so a requirement for this would be to download the Windows 7 WAIK from Microsoft.com which would include the full Deployment and Imaging Tools Environment 2.Attempt to use dism with the /source command, however, the source must be either a Windows installation disk for your architecture of Windows, or an offline Windows installation of the same architecture which DISM can copy files from 3.The easiest way, although more time consuming, will be to use your Windows Installation Media to "upgrade" to the same version and architecture of Windows that is currently installed. This is called a Repair Install and it must be perfomed like an upgrade, i.e. the installation must be rain from within the booted OS, and the "upgrade" option must be selected. This will allow you to keep all installed programs and user data, although there may be a handful of programs and drivers that may need to be installed if they installed files into the %windir% [Windows Folder], as a repair install replaces all system files within the %windir% and a select few other locations.
Also saw this:
Resetting NTFS files security and permission in Windows | lallous lab
which is basically the icacls method and they have a new tool as well:
Resetting NTFS files permission in Windows lab
Got the original idea here:
https://www.winhelp.us/troubleshooting-windows.html
Last edited by Almighty1; 25 Oct 2015 at 22:25.