New
#80
That worked. Everything is running as it should so far.
Thanks for the help!
That worked. Everything is running as it should so far.
Thanks for the help!
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
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
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
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:.
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.