Skip to main content
Question

Create folder Worklet getting Access Denied

  • August 5, 2026
  • 3 replies
  • 23 views

Forum|alt.badge.img

I have the worklet from one of the Automox University sessions that is supposed to create a folder on C but I am getting access denied error messages. I also tried to have it create a folder in the working directory  of C:\programdata and it also gets access denied. The service is run as System. 

3 replies

Shereen-Automox
Forum|alt.badge.img

Hi there! Could you share the name of the course with me?


Forum|alt.badge.img
  • Author
  • Novice
  • August 6, 2026

JohnG-Automox
Forum|alt.badge.img
  • Automox Employee
  • August 7, 2026

Hi ​@abeidson ! 

The "Access Denied" error on folders like C:\ and C:\ProgramData is typically caused by endpoint protection blocking write access, such as Windows Defender's Controlled Folder Access feature, or similar tamper/ransomware protection in third-party EPP software.

For Windows Defender You can verify this by running on an affected device: Get-MpPreference | Select-Object EnableControlledFolderAccess


For other EPP software, check your EPP’s security console for blocked activity logs or write-protection settings on your target folder.

As a quick workaround and test, try using an unprotected path like C:\Windows\Temp\Automox\ instead.

If you continue to have issues after checking this, please reach out to Automox Support at https://help.automox.com and they can help troubleshoot further.

 

Have a great day!