I have saw many posts about this problem, many questions but few answers.
So, how do we set permissions to workflow tasks:
- In workflow code behind create a HybridDictionary property something like this:

- Go to the CreateTask action/shape properties

- The hidden feature is in the SpecialPermissions property
When you click the "…" button as usual this window appears

The big secret is not to click the "…" button in the SpecialPermissions property, but in the round blue circle near SpecialPermissions, this window appears

- Choose the right property and it's working

Simple and easy.

![[FIX] BizTalk Server 2010, 2013, 2013 R2 & 2016 errors “Class not registered (WinMgmt)” or “Access denied”](https://blogit.create.pt/wp-content/uploads/2018/07/access-black-and-white-blur-270514-218x150.jpg)



















