Custom Actions: Forbidden and Warning Values

Modified on Fri, 01 Oct 2021 at 05:25 AM

Using one of the forbidden commands in the the script during the definition of the custom action, the operator will receive the message below and the custom action won't be saved. 

Please find here the list of forbidden Commands:

  • Invoke
  • Exit

  • VirtualAlloc  

  • CreateThread    

  • GetDelegateForFunctionPointer   

  • Throw    

  •  powershell.exe   

  • Set-MpPreference 

  • InteropServices.Marshal   

  • Reflection.Assembly.Load  

  • invoke-command

Using one of the warning commands in the the script during the definition of the custom action, the operator will receive the message below. The custom action will still be saved but we suggest to update it using alternative commands. 


Please find here the list of warning Commands:   

  • Sleep    
  • Start-Sleep    
















Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article