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

Page 3 of 4 FirstFirst 1234 LastLast

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

    Cliff S said: View Post
    The advantage of going all out SSD in portable devices(laptops & Notebooks) is your battery last longer because a lot less heat is produces(less active cooling), and if it should fall or get thumped it won't make a difference to the disk. If you don't transfer too much data, even the price worthy Sandisk SSD's are better than hybrid or spinners at a more affordable price per gigabyte..
    You're probably right on the SSD except to be honest, SSD is still too new and seems to have it's share of reliability problems I've read about which is the reason I haven't touched it yet even though Seagate Technology or Shugart Technology as it was known has had Solid State Hard Drives since the late 1980s, not sure if it's the same as SSD. Good points about it not having problems with vibrations and shocks. I'm just waiting for a larger capacity version to be available that I can walk into a retail store in San Francisco and buy. I already set up a RMA with SanDisk which supposedly is to be acquired by Western Digital Corp for the SanDisk MicroSD 200GB card which is the largest thing that anyone makes right now and only SanDisk makes it. Supposedly, these cards are supposed to be 256GB as it is always double the size of the next lower size which is 128GB but for whatever reason, 56GB is not available so it ends up being 200GB. They are providing a Return Shipment label through the United States Postal Service instead of UPS so I am kind of cautious in sending it back as the USPS is known to misdelivered or lose things and I don't know if anyone will be liable as there is no insurance.

    In any case, it seems the tool I used as far as permissions is concerned did fix the Windows Bootup time as it will have the Windows logo, the spinning circle and then it will be a black screen with the LCD backlight on for like 30 seconds before it goes into the screen with the background image where you have to hit space bar to see the login screen. However, what was weird was that right clicking start menu to load device manager would bring up UAC and also, the setup.exe installer for Realtek HD Audio Drivers tried to install but at the end, Windows would not let it install and the installer basically hanged at that point. I thought maybe because it used
    icacls C:\Windows\* /T /L /Q /C /RESET
    the /L was not needed and tried it without the /L that it did C:\Windows fine, C:\Program Files too without problems but after 2 hours in C:\Users when it got to the C:\Users\UpdatusUser, Windows was completely non-responsive. Task Manager didn't even work so I basically Reboot holding down the shift key after ctrl-alt-del to get that screen and then used the Tweaking.com Windows Repair which did work. It took exactly 00:38:39, 38 minutes and 39 seconds to fix everything and here is what I noticed:

    It did give "ALL APPLICATION PACKAGES" group in:

    C:\Windows [Read, Read and Execute, List folder Contents permissions]
    C:\Program Files [Read, Read and Execute, List folder Contents permissions]

    However, it did not give C:\Program Files\WindowsApps [Read, Read and Execute, List folder Contents permissions]

    it didn't process all the directories under C:\Users except for the Default folder and the current user folder which is supposed to give "All Application Packages" group Full Control permissions which it failed to do so I did those manually.

    When I rebooted, Store would not open as it would close immediately so I had to give C:\Program Files\WindowsApps ALL APPLICATION PACKAGES group permission and immediately I was able to open Windows Store. Device Manager works without UAC and the Realtek HD Audio Driver installed fine using the installer. Device Manager works without UAC in Safe Mode with Networking even before I ran the Tweaking.com Repair Tool. Is Safe Mode with Networking only supposed to connect using Wired Ethernet connections as my Wireless Connection was not working. So other than that, I will do later tonight, log in as the newly created Administrative User, move C:\Program Files\WindowsApps as well as rename the C:\Users\<login>\AppData\Local\tiledatalayer\Database for my account and then do a in-place upgrade install from the new account and after the install when it asks if the current user is correct, I'll just switch to my own account at that point so both the two folders gets recreated.
      My ComputerSystem Spec

  2.    26 Oct 2015 #22

    Hi,

    SSD is still too new and seems to have it's share of reliability problems I've read about which is the reason I haven't touched it yet
    LOL. I mean no disrespect at all but if you think it through you'll realize that you're far more likely to have disk problems with a mechanical HD (and that includes HHD) than any half decent SSD really. Just avoid the ones with known controller problems which I think are rare nowadays.

    Anyways, that aside (it just made me laugh a bit), whenever I encounter permission problems I install Sysinternals Subinacl.msi and run this batch file (admin dos box): acl.bat

    @echo off
    title Resetting ACLs...
    cd /d "%Program Files(x86)%\Windows Resource Kits\Tools"
    echo.
    echo Resetting ACLs...
    echo (this may take several minutes to complete)
    echo.
    echo ==========================================================================
    echo.
    echo System Drive...
    subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
    echo.
    echo.
    echo Windows Directory...
    subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f
    echo.
    echo.
    echo ==========================================================================
    echo.
    echo FINISHED.
    echo.
    echo Press any key to exit . . .
    pause >NUL

    It's not a cure all but it works surprisingly well. If you can read a batch file it's clear what the commands do for you. Obviously it can't work miracles.

    A resource kit for Win 10 wouldn't be a bad idea either.

    Cheers,
      My ComputerSystem Spec


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

    @Almighty1 I know to whom I'll come, if someone else in the forums, has permissions problems now.

    Maybe a note of interest, after our discussions I decided to run Windows Repair(used all tabs) because I've been messing around in my registry(nothing new for me) and used a few customization tools(testing them) and started to have stability issues with IE11, WMP and Reliability History, and I really didn't want to have to reimage and update all the software that has been updated in between, also my music libraries for WMP, Groove and MediaMonkey would have had to be redone.

    So I booted to safe mode with Networking and ran these settings:
    Click image for larger version. 

Name:	Image 005.png 
Views:	24 
Size:	76.5 KB 
ID:	44908

    And now it runs even smoother than a fresh install after all the 3rd party software gets installed.
    I have used it since Windows 7, It's just a reimage is usually faster, but since my last image there were too many changes to catch up on, I thought I would try this first.


      My ComputersSystem Spec


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

    @fdegrove

    It all really depends. Whether the drive is mechanical or not doesn't matter as I've had my share of drives dying over the years. Just to give some examples.

    In 1995, Seagate 3.5" 2GB SCSI Barracuda Drive (this line came from Control Data Corp(CDC)/Imprimis) - died after I defragged with Norton SystemWorks 9.0 when I rebooted the system. Norton SystemWorks For Windows 1.0 came out after that, maybe there was a problem with 9.0.

    1996, The replacement drive died as I had the drive upside down on the floor and a dust fell on the circuit board which caused a spark.

    1998 - IBM ThinkPad 770Z high-end notebook with the IBM TravelStar 14.1GB 7200RPM HD, this was the largest available at the time. The system worked for exactly 12 days and then the HDD failed. It went to 12 data recovery companies and not even 1% of the data was recoverable. So much for the 95% success recovery rate, I'm in the unlucky 5%.

    2002 - Dell Inspiron 8200 Notebook - it came with the IBM TravelStar 60GB 7200RPM HDD and I added a second one to do software RAID in FreeBSD. One of the drives eventually dies. So was replaced with a pair of Seagate 160GB, one which failed on February 14, 2011.

    2015 - August 19, 2015 - I bought the largest MicroSD Card available which was 200GB and only Sandisk makes it. Last week, the card no longer writes or formats. I can delete and read from the files without problems.

    I still haven't mentioned the problems I had with Quantum, Maxtor Colorado aka MiniScribe, IBM DeskStar, HP, Priam among other drives. I've done atleast 200+ RMA's over the years and this is drives for just one computer.

    Remember that MTBF means average, one can always get a lemon and it's luck of the draw as you and I can buy exactly the same product and one of us might have reliability issues. The 2 Western Digital 750GB Scorpio Black Edition in the ASUS G74SX-3DE that has been powered on 24x7x365 since 2011 is still working which is considered reliable as far as I am concerned.

    As for the batch script, it will work but remember I'm trying to get it back to default permissions.
    @Cliff S
    I did the in-place upgrade install last night with the 2nd newly created administrator account. What is interesting is running Setup.exe, if I said yes to Download Updates, it will say Checking for Updates but even after two hours, nothing happens when it usually would work. So I just did it without checking for updates and it did the install fine. At the end of the install, I clicked on I'm not x user, it did a restart and basically booted to the lock screen and then I logged in. It did the Out of Box Experience like usual and it did recreate C:\Program Files\WindowsApps and all the default apps work and my Default tiles is the same as the original August 11, 2015 installation which looks like this:

    Click image for larger version. 

Name:	2015-10-27_8-38-00.jpg 
Views:	0 
Size:	117.4 KB 
ID:	44983

    Windows in-place upgrade installs September 12, 2015-October 18, 2015 looks like this where the 3 tiles (Minecraft Windows 10 Beta, Flipboard, I<3Radio) are all not installed on the system, makes it seems like Microsoft is getting advertising revenue for those, would be cool to know how they can pin tiles for uninstalled apps though):

    Click image for larger version. 

Name:	2015-09-13_20-48-19.jpg 
Views:	1 
Size:	139.2 KB 
ID:	44985

    I'll create 2 new account(s), Standard and Administrator types to see what it actually generates.

    I don't have another Windows 10 machine to compare to but when booting, is it supposed to have a black screen right after the Windows logo with spinning cursor during bootup and before the lock screen?

    Speaking about default apps, I noticed C:\Program Files\WindowsApps and my Start Menu all apps no longer has HP All-In-One, ASUS Welcome, Candy Crush Saga and Twitter. Does the Windows Installer actually install certain apps automatically based on what other desktop applications or hardware you have?

    In any case, permissions for folders...

    C:\Users does not have ALL APPLICATION PACKAGES group so I added it manually.
    C:\Windows has ALL APPLICATION PACKAGES group by default
    C:\Program Files (x86) has ALL APPLICATION PACKAGES group by default
    C:\Program Files has ALL APPLICATION PACKAGES group by default
    C:\Program Files\WindowsApps does not have ALL APPLICATION PACKAGES group by default but the apps all open and run until the following is done in a elevated command prompt as it comes in handy to know what is in that folder and when one needs to do a elevated Powershell with the command
    Code:
     Add-AppxPackage -register "C:\Program Files\WindowsApps\(app name)\appxmanifest.xml" -DisableDevelopmentMode
    :

    Code:
    takeown  /f "C:\Program Files\WindowsApps" /r
    icacls      "C:\Program Files\WindowsApps" /grant "%USERDOMAIN%\%USERNAME%":(F) /t
    After doing that and changing the owner back to TrustedInstaller, Store and other apps will open and close immediately until one adds "ALL APPLICATION PACKAGES" group to C:\Program Files\WindowsApps, wonder why it wasn't needed before.

    I actually thought about using all the tabs in Windows Repair tool from tweaking.com but I wonder would it actually cause more problems than I started with. Glad to hear your system runs even smoother than a fresh install. Now only if someone is able to develop a tool that fixes the Start Menu not working problem as I don't think there is a standard way of fixing it as it seems to have a different solution for everyone.
      My ComputerSystem Spec


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

    looks like this where the 3 tiles (Minecraft Windows 10 Beta, Flipboard, I<3Radio) are all not installed on the system, makes it seems like Microsoft is getting advertising revenue for those, would be cool to know how they can pin tiles for uninstalled apps though):
    I think the "uninstalled" app tiles are just direct links to the stores download. You know how in a fresh Ubuntu install there are options to install an app directly under More Suggestions?

    Click image for larger version. 

Name:	Image 002.png 
Views:	2 
Size:	542.7 KB 
ID:	44989
    Maybe it's the same thing, after all Microsoft has stolen borrowed a lot from Ubuntu.

    don't have another Windows 10 machine to compare to but when booting, is it supposed to have a black screen right after the Windows logo with spinning cursor during bootup and before the lock screen?
    I think it just depends on how fast your machine is and after prefetch/superfetch had time to get enough information for ReadyBoot.etl to fill up.
      My ComputersSystem Spec


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

    Good point, I just wonder is there a way for a user to do it with tools or other means. All my Linux/BSD machines are CLI so haven't used the GUI portion of it to be able to tell. Never knew that Ubuntu had tiles either. I thought Microsoft would have adopted Unix for the base and put a GUI on top similar to how Mac went to NextStep with the Mach10 kernel and FreeBSD for the Darwin OS and then Aqua on top to make OSX, perhaps after they got out of Xenix which was Microsoft's version of Unix, they aren't touching it with a 500 foot pole.

    I thought it might be the video drivers because I remember when I first upgraded from Windows 7, I might not have that black screen portion before the lock screen at bootup. Ofcourse nVidia drivers have been updated atleast twice with new versions via Geforce Experience.
      My ComputerSystem Spec


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

    All my video drivers are up to date, and I have Windows set to automatically log me in(netplwiz), but after POST and the spinning dots, on both machines when the login screen comes up the screen "jerks" and I get my desktop. But remember I'm using SSD's in both, so my disk and RAM is probably faster than my video card at loading. But still there is a tiny anomaly at boot.
      My ComputersSystem Spec


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

    I think the SSD does make a difference and what it loads before the lock screen too as I remember with Windows XP, I have to wait until the HDD has no activity before I login, otherwise it will not load all the startup items. Forgot to mention the reason I don't use GUI's on Unix like OSes is because even though the machine is on the same LAN, I usually ssh to it from Windows machines instead of physically using the computer.
      My ComputerSystem Spec


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

    Almighty1 said: View Post
    I think the SSD does make a difference and what it loads before the lock screen too as I remember with Windows XP, I have to wait until the HDD has no activity before I login, otherwise it will not load all the startup items. Forgot to mention the reason I don't use GUI's on Unix like OSes is because even though the machine is on the same LAN, I usually ssh to it from Windows machines instead of physically using the computer.
    Have you seen this then: Microsoft bringing SSH to Windows and PowerShell
      My ComputersSystem Spec


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

    Cliff S said: View Post
    Nope but the default built-in telnet is insecure anyways and besides, these are protocols on the TCP/IP stack used in all modern OSes came from BSD4.4 anyways. I had always used SecureCRT for that purpose including having access to Usenet newsgroups when I had the nntp port redirect.

    Anyways, here's the answer to the default tiles created on the 2 newly created accounts, both administrator, one is a local and the other is a Microsoft account which seems to be way different than the one created on my account and ofcourse as I stated earlier, it includes tiles for things that are not installed (Twitter, Candy Crush Saga, I<3Radio, Flipboard, Minecraft Windows 10 Edition Beta), just wished I knew how they created the links and how Windows actually generates the default start menu tiles as maybe the original primary user with administrator is treated differently than additional accounts on the system:
    Click image for larger version. 

Name:	2015-10-27_10-57-36.png 
Views:	0 
Size:	251.8 KB 
ID:	45021
      My ComputerSystem Spec


 
Page 3 of 4 FirstFirst 1234 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