Mike P,
Thanks for pointing this out. I was able to reproduce the DCOM permissions error on my computers. So, it looks like the Local Service account has insufficient permissions as well. Setting the task to launch using the Local System resolved the issue for me. (For step 5, I entered "System" as the Windows user.)
I've summarized the steps here for completeness.
- Launch Task Scheduler using an account with administrative privileges.
- Click Start, enter “PowerShell”.
- Right-click the Windows PowerShell search result entry and then select Run as administrator.
- In the console window, enter the following command: “taskschd.msc”.
- In the Task Scheduler window, on the left pane, navigate to the folder containing the WSRefreshBannedAppsListTask task. (Note: The path is “Task Scheduler (Local)\Task Scheduler Library\Microsoft\Windows\WS”. A quick way to reach the task is to double-click the entry representing the task that is located on the list in the Active Tasks pane, which is located at the bottom of the window.)
- In the right pane, right-click the WSRefreshBannedAppsListTask task and then click Properties.
- In the WSRefreshBannedAppsListTask Properties window, click Change User or Group…
- In the Select User or Group window, enter “System” in the “Enter the object name to select” text box and then click OK.
- In the WSRefreshBannedAppsListTask Properties window, click OK.