It is unfortunate to hear that running the setup as administrator did not help.
Having a look on the "Enable controlled folder access"
Microsoft article, at the bottom of the page I could see the following PowerShell cmdlet:
Code: Select all
Set-MpPreference -EnableControlledFolderAccess Enabled
This cmdlet is said to enable the "Controlled Folder Access"
feature. On the other hand, by using the following cmdlet:
Code: Select all
Set-MpPreference -EnableControlledFolderAccess Disabled
The feature should be disabled. Both of the above cmdlets should be run from an elevated PowerShell session (run as administrator).
With that being said, I thought about the following approach:
We can maybe try to disable this feature before our shortcuts are created and then re-enable it after the shortcut is created. Both of these can be achieved through a custom action. Since the above solutions are both using PowerShell, you can try to achieve this through a "Run PowerShell inline script"
The custom action that disables the feature must be placed before the "CreateShortcuts"
standard action and the custom action that enables it must be placed afterwards.
In order to schedule a custom action according to another one, in this case, the "CreateShortcuts"
custom action, you can proceed as it follows:
- go to "Custom Actions"
- right click on "Add Resources"
action group --> "Show Standard Action"
--> "Add Resources"
--> click on "CreateShortcuts"
That should display the custom action in the custom action's list. After doing so, simply drag and drop the above mentioned PowerShell custom actions accordingly.
Unfortunately, due to the high flow of tickets, I did not have time to test this, so please test it and let me know the outcome.
Hope this helps.
All the best,