Change Owner of File, Folder, Drive, or Registry Key in Windows 10  

Page 9 of 10 FirstFirst ... 78910 LastLast

  1. Posts : 4
    Windows 10
       #80

    That worked. Everything is running as it should so far.

    Thanks for the help!
      My Computer


  2. Posts : 71,662
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #81

    Great news. You're most welcome.
      My Computers


  3. Posts : 57
    Win10 Pro N installed AND activated
       #82

    Thanks for this I chose the shift+right click option. Although I took permission fine, when I tried to make a program folder non-read only it had no effect. However I was able to update the program. In the past I have manually taken control of each file individually so I could delete a folder copied from another location. I couldn't use this "technique" on my program folder it would take too long.
      My Computer


  4. Posts : 71,662
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #83

    sgtsixpack said:
    Thanks for this I chose the shift+right click option. Although I took permission fine, when I tried to make a program folder non-read only it had no effect. However I was able to update the program. In the past I have manually taken control of each file individually so I could delete a folder copied from another location. I couldn't use this "technique" on my program folder it would take too long.
    Hello sgtsixpack,

    Correct. Changing the owner wouldn't have any affect on a read-only attribute set for a folder.

    If you like, you could use either tutorial below to clear the read-only attribute of folders.

    (easiest way) = Add Attributes context menu in Windows 10

    (manual) = Set or Unset Read-only Attribute of Files and Folders in Windows 10
      My Computers


  5. Posts : 7,631
    Windows 10 Home 20H2
       #84

    Previously, I had no permission to create RTF files on drive G:.
    Then, I ran the following command. Now I have full access to drive G:.

    iCacls "G:" /INHERITANCE:E /GRANT:R "%UserName%":(F) /T /C

    This tutorial has made no mention of /INHERITANCE:E /GRANT:R
      My Computer


  6. Posts : 5,492
    Windows 11 Home
       #85

    2004 changed something and it changed the way it handles permissions.
    I have to remove the inheritance first, otherwise it will not allow the change.

    Code:
    takeown /s %computername% /u %username% /f "%USERPROFILE%\Desktop" /r /d y
    icacls "%USERPROFILE%\Desktop" /inheritance:r
    icacls "%USERPROFILE%\Desktop" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
      My Computer


  7. Posts : 71,662
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #86

    Matthew Wai said:
    Previously, I had no permission to create RTF files on drive G:.
    Then, I ran the following command. Now I have full access to drive G:.

    iCacls "G:" /INHERITANCE:E /GRANT:R "%UserName%":(F) /T /C

    This tutorial has made no mention of /INHERITANCE:E /GRANT:R
    TairikuOkami said:
    2004 changed something and it changed the way it handles permissions.
    I have to remove the inheritance first, otherwise it will not allow the change.

    Code:
    takeown /s %computername% /u %username% /f "%USERPROFILE%\Desktop" /r /d y
    icacls "%USERPROFILE%\Desktop" /inheritance:r
    icacls "%USERPROFILE%\Desktop" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
    Interesting. Were these drives originally formatted and used on another computer?

    Enable or Disable Inherited Permissions for Objects in Windows

    Add Inherited Permissions Context Menu in Windows
      My Computers


  8. Posts : 7,631
    Windows 10 Home 20H2
       #87

    Brink said:
    Interesting. Were these drives originally formatted and used on another computer?
    I played with the partitions of the USB drive via Macrorit Partition Expert Free Edition on the same computer after booting into Windows PE. Then, on installed Windows 10, I did not have "Full Control" access to the second partition—drive G:.
      My Computer


  9. Posts : 71,662
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #88

    Matthew Wai said:
    I played with the partitions of the USB drive via Macrorit Partition Expert Free Edition on the same computer after booting into Windows PE. Then, on installed Windows 10, I did not have "Full Control" access to the second partition—drive G:.
    What file system did the program use? NTFS?

    Usually, it's best to not use NTFS for removable drives since it could cause permission issues when used on other computers or clean installs.
      My Computers


  10. Posts : 7,631
    Windows 10 Home 20H2
       #89

    The partition software supports FAT32 and NTFS.
    I have formatted the first partition to FAT32 because it contains bootable Windows PE.
    I have formatted the second partition to NTFS because it contains a Windows ISO file.

    NTFS will cause no problem because I have run the following command:

    iCacls "G:" /INHERITANCE:E /GRANT:R "Everyone":(F) /T /C

    Everyone has full access now.
      My Computer


 

Tutorial Categories

Change Owner of File, Folder, Drive, or Registry Key in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 17:59.
Find Us




Windows 10 Forums