Where Can I Locate Information Concerning Default File Ownership ?

Page 1 of 2 12 LastLast

  1. Posts : 275
    Windows 10 Pro 64-bit, Version 21H2, Build 19044.1620
       #1

    Where Can I Locate Information Concerning Default File Ownership ?


    Hi,
    I'm currently running Windows 10 Pro 64-bit edition, Version 21H1, O.S. Build 19043.899, W/Windows Feature Experience Pack 120.2212.3030.0 installed. My question is concerning 'default' ownership of files in windows 10, I'm trying to locate a site that would let me view that information. One file that I have a question about is this one: ‪C:\Documents and Settings\davyp\Local Settings ? The 'davyp' is my administrator username, the reason that I'm seeking information concerning this is while using the following: Add Take Ownership to Context Menu in Windows 10 | Tutorials (tenforums.com) & I also have this enable in my context menu: Add Change Owner to Context Menu in Windows 10 | Tutorials (tenforums.com) . In regards to the file that I have included in bold letters in this post, using the take ownership I changed the owner of that file to myself, I don't know if that was okay or not ?
    David
      My Computers


  2. Posts : 15,985
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @Davy49,

    See if this helps.

    Open CMD Prompt and change the directory to C:\Documents and Settings\davyp\Local Settings. Type this command into the CMD Prompt and press <Enter> . . .

    Code:
    
    dir /q /ad
    Code:
    
    21/03/2021  11:06    <DIR>          BUILTIN\Administrators .
    21/03/2021  11:06    <DIR>          NT AUTHORITY\SYSTEM    ..
    20/03/2021  22:19    <DIR>          BUILTIN\Administrators xxx Reset

    The fourth column might be what you are looking for.

    If you want a more detailed list that includes the actual file names, type this command into the CMD Prompt and press <Enter> . . .

    Code:
    
    dir /q
    Code:
    
    21/03/2021  11:06    <DIR>          BUILTIN\Administrators .
    21/03/2021  11:06    <DIR>          NT AUTHORITY\SYSTEM    ..
    20/03/2021  18:44             1,626 BUILTIN\Administrators aaa.bat
    18/03/2021  14:31             1,751 NT AUTHORITY\SYSTEM    Adobe Reader X.lnk
    21/03/2021  08:55               760 BUILTIN\Administrators bbb.bat
    18/03/2021  20:15               741 BUILTIN\Administrators Notepad++.lnk

    I used the Desktop on the above examples and posted a few of the entries to give you an idea of the ouput.

    I hope this helps.
      My Computer


  3. Posts : 275
    Windows 10 Pro 64-bit, Version 21H2, Build 19044.1620
    Thread Starter
       #3

    Hi Paul,
    I tried following these instructions: "See if this helps.

    Open CMD Prompt and change the directory to C:\Documents and Settings\davyp\Local Settings. Type this command into the CMD Prompt and press <Enter> . . .

    Am I supposed to be using the command prompt in the administrator mode or just the regular mode ?
    I tried using the command prompt in the administrator mode & received this:

    C:\WINDOWS\system32>C:\Documents and Settings\davyp\Local Settings'C:\Documents' is not recognized as an internal or external command, operable program or batch file.

    And in the regular mode:

    C:\Users\davyp>C:\Documents and Settings\davyp\Local Settings'C:\Documents' is not recognized as an internal or external command, operable program or batch file.

    I'm thinking that I seem to be having some serious old age moments this morning, thanks so much for trying to help me !!
    David
      My Computers


  4. Posts : 1,244
    Windows 10 Pro x64 21H2 (Build: 19044.1415)
       #4

    @Paul Black
    I think your dir command only shows current properties and not what should be the default.

    There is a file included in previous versions of Windows (and even Win 10) that was used to restore default permissions, however since Windows 7 and 8 this is no longer reliable method, using it would lead to corruption and there is no alternative. (at least not supported by MS)

    There was also a link to MS site about that file but you can only find it in search engine caches.
      My Computer


  5. Posts : 275
    Windows 10 Pro 64-bit, Version 21H2, Build 19044.1620
    Thread Starter
       #5

    Hi,
    I'm so glad to be a member of the forums, in the past I've tried to provide help to others, but now I'm needing help myself, thank goodness that users do offer help to other users !
    David
      My Computers


  6. Posts : 26,963
    Windows 10 (Pro and Insider Pro)
       #6

    Davy49 said:
    Hi Paul,
    I tried following these instructions: "See if this helps.

    Open CMD Prompt and change the directory to C:\Documents and Settings\davyp\Local Settings. Type this command into the CMD Prompt and press <Enter> . . .

    Am I supposed to be using the command prompt in the administrator mode or just the regular mode ?
    I tried using the command prompt in the administrator mode & received this:

    C:\WINDOWS\system32>C:\Documents and Settings\davyp\Local Settings'C:\Documents' is not recognized as an internal or external command, operable program or batch file.

    And in the regular mode:

    C:\Users\davyp>C:\Documents and Settings\davyp\Local Settings'C:\Documents' is not recognized as an internal or external command, operable program or batch file.

    I'm thinking that I seem to be having some serious old age moments this morning, thanks so much for trying to help me !!
    David
    You have to change dir to that folder. Type "cd" in front of that path:

    Code:
    cd "C:\Documents and Settings\davyp\Local Settings"
    Edit----------
    also another possibility is to repair system with Tweaking.com - Windows Repair Free/Pro , but be careful.

    File permissions and ownership changing to default can be tricky, and is not so well documented after Windows 7 era. So, System partition backup is highly recommended!
      My Computers


  7. Posts : 15,985
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #7

    Hello @Davy49,

    Davy49 said:
    I'm thinking that I seem to be having some serious old age moments this morning, thanks so much for trying to help me !!
    You are VERY welcome. I will do some more investigating for you.
      My Computer


  8. Posts : 275
    Windows 10 Pro 64-bit, Version 21H2, Build 19044.1620
    Thread Starter
       #8

    I kept thinking that I was missing something in the command prompt window, turns out it was just a simple 'cd'. After doing so here are my results:

    Volume in drive C is System
    Volume Serial Number is 63A4-8190


    Directory of C:\Documents and Settings\davyp\Local Settings


    03/21/2021 04:35 AM <DIR> DESKTOP-VCOHR8B\davyp .
    03/21/2021 04:35 AM <DIR> DESKTOP-VCOHR8B\davyp ..
    04/12/2020 11:30 AM <JUNCTION> DESKTOP-VCOHR8B\davyp Application Data [C:\Users\davyp\AppData\Local]
    11/11/2020 03:22 AM <DIR> DESKTOP-VCOHR8B\davyp Apps
    07/11/2020 05:04 AM <DIR> DESKTOP-VCOHR8B\davyp bitwarden-updater
    03/16/2021 04:36 AM <DIR> DESKTOP-VCOHR8B\davyp BraveSoftware
    02/18/2021 06:22 AM <DIR> DESKTOP-VCOHR8B\davyp CEF
    12/21/2020 07:41 AM <DIR> DESKTOP-VCOHR8B\davyp com.add0n.node
    06/22/2020 04:59 AM <DIR> DESKTOP-VCOHR8B\davyp Comms
    03/16/2021 03:27 AM <DIR> DESKTOP-VCOHR8B\davyp ConnectedDevicesPlatform
    01/22/2021 11:47 PM <DIR> DESKTOP-VCOHR8B\davyp CrashDumps
    02/26/2021 06:28 PM <DIR> DESKTOP-VCOHR8B\davyp D3DSCache
    02/18/2021 05:04 AM <DIR> DESKTOP-VCOHR8B\davyp Datastream
    03/16/2021 05:09 AM <DIR> DESKTOP-VCOHR8B\davyp Diagnostics
    12/20/2020 03:47 AM <DIR> DESKTOP-VCOHR8B\davyp Discord
    01/23/2021 12:29 AM <DIR> DESKTOP-VCOHR8B\davyp ElevatedDiagnostics
    03/16/2021 04:34 AM <DIR> DESKTOP-VCOHR8B\davyp Google
    04/13/2020 06:17 AM <DIR> DESKTOP-VCOHR8B\davyp Hewlett-Packard
    04/12/2020 11:30 AM <JUNCTION> DESKTOP-VCOHR8B\davyp History [C:\Users\davyp\AppData\Local\Microsoft\Windows\History]
    04/13/2020 08:42 AM <DIR> DESKTOP-VCOHR8B\davyp HP
    09/29/2020 06:39 AM <DIR> DESKTOP-VCOHR8B\davyp Intel
    08/03/2020 03:36 AM <DIR> DESKTOP-VCOHR8B\davyp Mega Limited
    02/26/2021 05:33 PM <DIR> DESKTOP-VCOHR8B\davyp MEGAsync
    03/21/2021 01:27 AM <DIR> DESKTOP-VCOHR8B\davyp Microsoft
    08/24/2020 06:26 AM <DIR> DESKTOP-VCOHR8B\davyp MicrosoftEdge
    10/07/2020 06:23 AM <DIR> DESKTOP-VCOHR8B\davyp OneDrive
    03/21/2021 06:45 AM <DIR> DESKTOP-VCOHR8B\davyp Packages
    06/23/2020 01:52 PM <DIR> DESKTOP-VCOHR8B\davyp PeerDistRepub
    10/15/2020 03:48 PM <DIR> DESKTOP-VCOHR8B\davyp PlaceholderTileLogoFolder
    07/11/2020 07:59 AM <DIR> DESKTOP-VCOHR8B\davyp Programs
    09/24/2020 05:51 AM <DIR> DESKTOP-VCOHR8B\davyp Publishers
    06/02/2020 05:00 AM <DIR> DESKTOP-VCOHR8B\davyp speech
    03/21/2021 07:33 AM <DIR> DESKTOP-VCOHR8B\davyp Temp
    06/24/2020 02:03 AM <DIR> DESKTOP-VCOHR8B\davyp VirtualStore
    03/19/2021 02:36 AM <DIR> DESKTOP-VCOHR8B\davyp Vivaldi
    0 File(s) 0 bytes
    35 Dir(s) 942,464,847,872 bytes free


    I'm thinking that I might need to change the ownership back to the 'default' owner, but since I didn't check before I took ownership, now I don't actually know who to change the ownership to. Now you can hopefully see why I posted my original question.
      My Computers


  9. Posts : 15,985
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #9

    Hello @Davy49,

    Davy49 said:
    I'm thinking that I might need to change the ownership back to the 'default' owner, but since I didn't check before I took ownership, now I don't actually know who to change the ownership to.

    Now you can hopefully see why I posted my original question.

    Have a look at this to see if it will help => How to Add Reset Permissions to Context Menu in Windows

    I would Strongly Suggest that you create a System Image FIRST if you are not familiar with Permissions etc.

    I hope this helps.
      My Computer


  10. Posts : 275
    Windows 10 Pro 64-bit, Version 21H2, Build 19044.1620
    Thread Starter
       #10

    Hi,
    I'm currently using this method to reset permissions: Add Reset Permissions to Context Menu in Windows | Tutorials (tenforums.com), the good thing about all of this is the fact that the computer in question is not my main computer. I've actually been thinking about formatting the hard drive & starting over from scratch. I really don't like doing so, but if I need to I will. While I'm typing this reply, the permissions are being reset back to their defaults in the folder I mentioned. I'm actually resetting this entire folder: C:\Documents and Settings
    David
      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 04:47.
Find Us




Windows 10 Forums