Rodney Buike - Founder and original lazy admin.

Daniel Nerenberg - Microsoft MVP and lazy admin.

Disclaimer

These postings are provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

SCVMM 2008 Console Error

Recently we had an issue with our production SCVMM 2008 R2 SP1 server.  One day, out of the blue, when you tried to launch the console and connect you would get the following error:

This is actually a SQL error.  To remediate you need to add sa to the dbo role for the VMM database called VirtualManagerDB.  If you followed the default install process SCVMM R2 installs SQL 2005 and has no management tools installed.  You can download and install the SQL Server Management Studio and add the sa account to the dbo role or you can do it with an osql command.  My co-worker Andrew did it via OSQL using the following command…

osql -E -S SCVMMR2\MICROSOFT$VMM$ -Q "USE VirtualManagerDB; EXEC sp_changedbowner ‘sa’"

Service Manager AV Exclusions

Microsoft has a great wiki that outlines all the AV exclusions required for all the different Enterprise products you may have deployed in your organization.  It covers everything from AD to SQL, Failover Cluster Service to IIS, ISA and more.   You can find the Windows Anti Virus Exclusions list here.

Also included in the list is the System Center suite of products, with the exception of Service Manager.  While I am sure Microsoft will get around to updating the wiki you can use the list of files, folders and processes below to create an exclusion list for Service Manager.

Service Manager Folders

The following folder should be excluded from real time AV scanning…

%ProgramFiles%\Microsoft System Center\Service Manager 2010\Health Service State\*

Service Manager Processes

The following processes should be excluded from real time AV scanning…

%programfiles%\Microsoft System Center\Service Manager 2010\HealthService.exe
%programfiles%\Microsoft System Center\Service Manager 2010\MonitoringHost.exe
%programfiles%\Microsoft System Center\Service Manager 2010\Microsoft.Mom.Sdk.ServiceHost.exe
%programfiles%\Microsoft System Center\Service Manager 2010\Microsoft.Mom.ConfigServiceHost.exe