Monthly Archive: September 2014

Sep 10

KB2966828 breaks Net.Pipe listener adapter service and more!

NOTE РThis has been fixed with the MS14-053 update.

 

 

Install from Windows Server 2012 R2 Update 1 media (technet, MSDN, etc. – doesn’t matter):
Install Server 2012 R2

Add the features .NET 3.5, HTTP, and Non-HTTP activation, and you will end up with the service in question, Net.Pipe Listener Adapter:
Service is working...

Install KB2966828, and restart (that is the awesome PSWindowsUpdate in action):
Install KB2966828...

The service is now busted:
It's not working anymore!

I’ve also encountered it causing issues with starting ASP.NET app pools and causing failures while running iisreset. A quick workaround is to add the public key token that is failing (b03f5f7f11d50a3a, found while debugging the crash) to the registry in the strong name validation bypass list:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\StrongName\Verification\*,b03f5f7f11d50a3a

Adding that will allow things to work again, until the problem is fixed by Microsoft at some point.

Permanent link to this article: http://www.cluberti.com/blog/2014/09/10/kb2966828-breaks-net-pipe-listener-adapter-service-and-more/

Sep 05

Put agent into maintenance mode remotely via PowerShell in SCOM 2012 R2

Our SCOM monitoring environment monitors one of our provisioning environments, where machines come and go regularly. These hosts are potentially in many, many different groups depending on function, and they can come and go many times a day. Yes, a group can be put into maintenance mode easily, but doing so for a host, remotely, isn’t necessarily as easy. Here’s a PowerShell script (created after reading about something similar on the Coretech Blog, here) that takes machine names passed in as the first parameter, places all machine names in an array, and sets each machine into maintenance mode in a particular SCOM management group. There’s little error checking here, so if you wanted to make this more robust, you’d probably want to add some parameter validation, etc. Without ado, here it is:

Permanent link to this article: http://www.cluberti.com/blog/2014/09/05/put-agent-into-maintenance-mode-remotely-via-powershell-in-scom-2012-r2/

Bad Behavior has blocked 396 access attempts in the last 7 days.