Hi,
I tried the same command in my lab, and it didn’t work out. It seems that there’re some conflict in the command. Therefore, I tried another command on my computer:
icacls "C:\Users\Administrator\Desktop\Daily" /c /grant "Administrator":(NP) /T
And it worked:
For your reference:
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/icacls
Thanks for your time.
Best regards,
Danny
-----------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.