cacls works intermittently

Home Forums Scripting General Scripting cacls works intermittently

Viewing 1 post (of 1 total)
  • Author

  • confuseis

    Cacls c:program1 /e /g joebloggs:f >>c:usersdesktopscript-log.txt 2>&1 Crazy thing is it works sometimes and not others.
    The output of the command is redirected to a text file and it shows “processed c:program1”
    But when I go to double check the result, the user joebloggs is not in the acls list (Security tab).

    I have tried this on an identical machine with the same image and then it works sometimes!

    It has to work every time.

    Anyone know why this occurs?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by: