Grant, Revoke, Get DCOM permissions using PowerShell (Tony MCP's module)

celsoglima 371 Reputation points
2020-10-15T14:50:54.27+00:00

I have a Windows 2016 server that has been showing some DCOM permission messages in the Event Viewer. As I was investigating how to resolve those messages, I came across a PowerShell module in the TechNet Gallery written by Tony MCP. As this is a dev/test server, I decided to give it a try. I don't know if it was just a coincidence and something else happened, but the server now has issues with the start menu and task bar with regard to context menus and icons. Initially I thought it was just a corrupted profile, so I created a new account. The start menu does not even come up under this new account. There are now message about the Shell Experience Host. I also noticed windows update has been failing, but the server has the latest patch updates. The server has been rebooted a good number of times already.

I took a look at the module code but could not find anything odd to the extent of my knowledge of DCOM permissions. Do any of you guys have enough experience with this module or DCOM permissions in general to tell me what might have happened? Does anybody know how to reach out to Tony MCP?

I was forgetting to mention I have already tried DSIM with system file checker. Profiles have been deleted. I also ran that Get-AppXPackage piped through Add-AppXPackage with no good result.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,348 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,322 questions
0 comments No comments
{count} votes

Accepted answer
  1. celsoglima 371 Reputation points
    2020-11-06T16:28:38.093+00:00

    I just want to close this post as I have resolved the issue. Unfortunately, I had to reinstall the OS as an upgrade as none of the suggestions have come across worked. The DSIM utility was reporting an issue with the component store with the message "the component store is repairable." If that was a coincidence, it was a heck of a coincidence. The downside of my approach is that all the component object errors in the event viewer are showing up again.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dave Patrick 425.8K Reputation points MVP
    2020-10-15T15:06:44.323+00:00

    Sounds like some other issue to me. I know the PS module you speak of and I've used it a number of times on various 2016 server without issue.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments