Can access some user files after reloading Windows 10 Pro


  1. Posts : 43
    Windows 10 Pro
       #1

    Can access some user files after reloading Windows 10 Pro


    I just reloaded Win 10 on a new SSD drive, but after that, I can't read some of the old user files, saying that I have no access rights. Some allow me to go through after I clicked "continue as Adminstrator", but a couple just won't

    The files are ok, and readable when I rebooted on the old Win 10.

    Please help.
      My Computer


  2. VBs
    Posts : 83
    Windows 10 x64 Insider
       #2

    You probably need to take ownership of files/folders/drives.
    Take Ownership of a File or Folder
    This is for windows 7 but it should work same way for win 10
    Here is another article with pictures:
    Quick Tip: Take ownership of files and folders in Windows - TechRepublic
      My Computer


  3. Posts : 43
    Windows 10 Pro
    Thread Starter
       #3

    Thanks, following that, I manage to get hold of the top level folder, but none of the sub-folders even though I ask for the ownership change to be rippled through, and there are like a hundred different subfolders at different level. For the one I tried, when I reached the file level, I don't seem to change the file permission.

    Looks like it is going to be a long process.

    Any other ideas.
      My Computer


  4. Posts : 43
    Windows 10 Pro
    Thread Starter
       #4

    Perhaps if there is a way to relinquish ownership by the previous owner, if I switch back to the other Win 10 on the system?
      My Computer


  5. Posts : 2,832
    Windows 10 Pro X64
       #5

    Hi,

    This should solve it all in one go:

    Download and install this:

    https://www.microsoft.com/en-us/down....aspx?id=23510

    Then copy this into notepad and save as a .bat (batch) file. Right click that and run as administrator. Make sure you have administrator rights when logged on.

    @echo off
    title Resetting ACLs...
    cd /d "%ProgramFiles(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


    When all that is done you should be able to access your files in the usual way. You can uninstall subinacl.msi afterwards if you like.

    Cheers,
      My Computers


  6. Posts : 43
    Windows 10 Pro
    Thread Starter
       #6

    Thanks a lot. You know what, after what I said yesterday, today, after starting up the system, everything comes good. Windows do behave in a funny way, at least not something that I understand.

    Thanks for your efforts, I shall try it when I hit the next batch of folders that are having the same problem. Do I run this under the original Wind 10 or the newly installed Win10?

    cheers


    fdegrove said:
    Hi,

    This should solve it all in one go:

    Download and install this:

    https://www.microsoft.com/en-us/down....aspx?id=23510

    Then copy this into notepad and save as a .bat (batch) file. Right click that and run as administrator. Make sure you have administrator rights when logged on.

    @echo off
    title Resetting ACLs...
    cd /d "%ProgramFiles(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


    When all that is done you should be able to access your files in the usual way. You can uninstall subinacl.msi afterwards if you like.

    Cheers,
      My Computer


  7. Posts : 2,832
    Windows 10 Pro X64
       #7

    Hi,

    Do I run this under the original Wind 10 or the newly installed Win10?
    You run it on the system that causes these troubles.

    Good to see it seems to have "cured" itself though.

    Cheers,
      My Computers


 

  Related Discussions
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 02:01.
Find Us




Windows 10 Forums