MIDFilePermEnforcer Issue: An unexpected error occurred: C:\ServiceNow MID Server\agent: Access is deniedIssue An unexpected error occurred: C:\ServiceNow MID Server\agent: Access is denied. The error message is displayed in the MID Server issues related list and does not seem to impact any MID Server functions.ReleaseAll current releases of the MID ServerCauseThe MID Server File Permission enforcement script, upon MID Server startup, is designed to ensure that the file permissions on the 'agent' folder and its contents are correctly set. However, in this case, the MID Server user does not have 'Full control' of the 'agent' folder itself. As a result, when the script attempts to enforce the file permissions recursively, it encounters an issue where it cannot change the Access Control Lists (ACLs) on the folder due to insufficient permissions. This leads to the 'Access is denied' error, which prevents the script from successfully enforcing the file permissions. This issue can be resolved by granting the necessary permissions to the MID Server user, specifically 'Full control' of the 'agent' folder and its contents, and then restarting the MID Server service.ResolutionGrant the Windows user 'Full control' of the agent folder & its contents. The 'Run as' user of the MID Server Windows service so check services.msc if you're unsure. Restart the MID Server service.The MID Server issue should become 'Resolved' after the MID restarts.