Skip to content

Posts tagged ‘system center’


Notification workflow on Work Item assignments (Part 2)

This is a follow-up post to my original post on this topic: SCSM: Notification workflow on Work Item assignments.

With the release of Service Manager 2012 there are now two new work item types, Service Requests and Release Records.  It is also possible to create notifications for assignments of these new work item types.  This is done just like it was done in the original post using the same concepts.

I have attached two new working management pack examples.  One more Service Request and one for Release Records.  Just like the previous packs, you will need to update the notification template GUID to get them to work.  Also, the Service Request example that is attached works similar to the Incident example is my previous post (it also notifies the Affected User that their ticket was assigned).

<WorkflowArrayParameter Name=”NotificationTemplatesType=”guid>
<Item>Change this GUID</Item>



OSD: Access content directly from DP in TS problem

I ran into a problem after migrating my task sequences from Configuration Manager 2007 to 2012.  I found that I could not easily set my task sequence deployments to use the setting “Access content directly from a distribution point when needed by the running task sequence.”  By default it was setting itself to “Download content locally when needed by running task sequence.”

Read moreRead more


Software Update Migration Issues (ConfigMgr 07 to 2012)

During the migration process from Configuration Manager 2007 R3 to Configuration Manager 2012 RTM, we ran into an issue where Deployed Software Updates would not detect as applicable on client machines.  I didn’t find much about this issue on the web, so I thought I would blog about it.

Read moreRead more


Upgrading to SCOM 2012 – SQL Issue

I ran into an issue when upgrading SCOM to 2012 (from 2007 R2 CU5).  The installer stated that the upgrade was successful, but no activity was taking place in my management group.  I had one error in my event logs (see below).

Read moreRead more


System Center 2012 Released

For all those early adopters, Microsoft has now published System Center 2012 RTM to their volume licensing download site and is available for download.  The System Center 2012 Datacenter product contains downloads for all System Center 2012 Products (SCOM, SCCM, SCSM, etc.).  As of now, it is not yet on technet/msdn as far as I can see.  Microsoft also has not yet updated any websites and blogs stating the release.


SCOM Workgroup Monitoring – Disable AD Integration

Because workgroup computers can’t read Active Directory, AD Integration should to be disabled on these systems.  For some reason, the SCOM interactive agent setup will not allow the option “Use Management Group Information from Active Directory” to be disabled (it is grayed out).  However, this  setting can be disabled by installing the agent from the command line, or editing a registry key on an existing agent.

To disable during setup:
Install the SCOM agent with the following command line: MOMAgent.msi USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=<Management Group Here>” MANAGEMENT_SERVER_DNS=<FQDN of management server here> /qb

To disable in the registry:
Open registry editor and nagivate to: SYSTEM\CurrentControlSet\Services\HealthService\Parameters\ConnectorManager“.
Set the EnableADIntegration in the registry to 0′
Restart the HealthService (System Center Management)

If one of the above steps is not completed, you will see the following entry in your Operations Manager event log:

Log Name:      Operations Manager
Source:        HealthService
Date:          <Date/Time>
Event ID:      2010
Task Category: Health Service
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <FQDN>
The Health Service cannot connect to Active Directory to retrieve management group policy.  The error is Unspecified error (0x80004005)


OSD: “Run As” Caveats

When trying to run some customization scripts during an OSD Task Sequence, I found some issues when trying to use the Run As feature during a Run Command Line step.  In my case, I wanted to add the computer object that was being built in the Task Sequence to a custom group in Active Directory.

I found that my script (PowerShell based) ran perfectly when executed in a windows environment, but during the task sequence it would fail.  The root of the problem was that the Run As functionality affects the ability to access COM objects.  When using the Run As feature, I was unable to connect to and manipulate Active Directory.  I found that I had to run the script without the Run As option and embed the credentials in the script itself.  (I used some methods to encrypt the password, but that is really outside the scope of this blog post).  In my case, when using PowerShell, I used the Invoke-Command with the -Credential cmdlet.  The reason I used that cmdlet is because Start-Process and Start-Job can’t use the -Credential parameter when running as Local System (which is what the task sequence uses).

One thing to keep in mind when writing scripts to be used in OSD, if you need to elevate permissions, you may not be able to use the Run As option and may need to find an alternate way of elevating permissions.


SCSM: Notification workflow on Work Item assignments

Update: I have written an additional blog entry on this topic to address both Service Requests and Release Records.  This post can be found here: Notification workflow on Work Item assignments (Part 2)

The Microsoft Service Manager team has written two great blogs on how to create the workflows required in Service Manager to send out notifications when a work item has been assigned/re-assigned.  Initially you might think this could be done in the UI, but actually it must be done in XML.  The Service Manager team has provided great examples on how to do this for both Incidents and Activities.

The blog for Incidents can be found here:

The blog for Activities can be found here:

I followed the blogs above and got it working in no time for both my Incidents and Activities.  However, I also wanted to do this for my Problems and Change Requests.  Read moreRead more