SCOM 2012 R2 - Forced to terminate the following PowerShell script because it ran past the configured timeout 300 seconds.

Getting the following in a new implementation of SCOM 2012 R2 integrated with SCVMM 2012 R2.  Any help would be appreciated.  Every few hours 5 of these show up in the Ops Man console.

Log Name:      Operations Manager
Source:        Health Service Modules
Date:          11/21/2013 12:14:15 PM
Event ID:      22402
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SV9OSCOM1.pwc.ad
Description:
Forced to terminate the following PowerShell script because it ran past the configured timeout 300 seconds.
 
Script Name: PowerShellScript
One or more workflows were affected by this. 
Workflow name: Microsoft.SystemCenter.VirtualMachineManager.2012.UserRoleVMCountMonitor
Instance name: Administrator
Instance ID: {9519D8EE-AA0C-FA1C-0AC5-96F42B6B6BF0}
Management group: PWCMG0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Health Service Modules" />
    <EventID Qualifiers="49152">22402</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-21T17:14:15.000000000Z" />
    <EventRecordID>55573</EventRecordID>
    <Channel>Operations Manager</Channel>
    <Computer>SV9OSCOM1.pwc.ad</Computer>
    <Security />
  </System>
  <EventData>
    <Data>PWCMG0</Data>
    <Data>Microsoft.SystemCenter.VirtualMachineManager.2012.UserRoleVMCountMonitor</Data>
    <Data>Administrator</Data>
    <Data>{9519D8EE-AA0C-FA1C-0AC5-96F42B6B6BF0}</Data>
    <Data>PowerShellScript</Data>
    <Data>300</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

November 21st, 2013 9:46pm

Querying information about all the user roles quota seems to be taking time - how many user roles do you have ? Does increasing the TimeoutSeconds to a much higher value help this situation?
Free Windows Admin Tool Kit Click here and download it now
December 4th, 2013 10:07pm

Hi there,

I am having the same error here. And I only have an handfull user roles.

Any other idea?

Gunter

February 4th, 2015 6:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics