Performance Counter

Hi,
I have a Azure Web Api controller and wanted to capture the time it takes for one of it's method and surface that as a performance counter. For example, each time the method enters the controller, I start the clock and on completion stop the clock, log the
difference and display it as a peformance counter.
Any pointers appreciated.
Thanks

hi Sir,
Form your description, I understand you'd like to store the time span as a performance counter. There is no the directly code sample . But you could custom a performance counter and save this data into Azure table storage. I recommend you could download
and try this code sample (http://code.msdn.microsoft.com/windowsazure/Windows-Azure-PerformanceCo-7d80ebf9/sourcecode?fileId=26067&pathId=2000430238
). The sample created a custom performance to store the button event data. Hope you can get some idea from the sample. Any question about this issue, please let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Upgrading from Exchange 2007 SP2 to SP3 stops and fails with Performance Counter

    We are upgrading from Exchange 2007 SP2 to SP3.
    Exchange Server is on Windows 2008 Enterprise 64 bit OS -SP2
    DC is on windows 2008 Enterprise 32 bit OS - SP2
    When we run Exchange SP3 setup.exe GUI, it runs through the pre-requisites completely and then starts to configure the Hub Transport services but @ exactly 55% it throws an error window "Exchange Server Setup encountered an error"
    On repeating this process i noticed it throws the same error at 55% while "Performance COunter Configuring". Please find below the entries of exchangesetup.log
    [2/1/2015 1:09:30 PM] [0] **********************************************
    [2/1/2015 1:09:30 PM] [0] Starting Microsoft Exchange 2007 Setup
    [2/1/2015 1:09:30 PM] [0] **********************************************
    [2/1/2015 1:09:30 PM] [0] Operating System version: Microsoft Windows NT 6.0.6002 Service Pack 2.
    [2/1/2015 1:09:30 PM] [0] Setup version: 8.3.83.6.
    [2/1/2015 1:09:30 PM] [0] Logged on user: chakfig\Administrator.
    [2/1/2015 1:09:30 PM] [0] Command Line Parameter Name='mode', Value='Upgrade'.
    [2/1/2015 1:09:30 PM] [0] Command Line Parameter Name='sourcedir', Value='J:\EXSP01\SP3'.
    [2/1/2015 1:09:30 PM] [0] Command Line Parameter Name='fromsetup', Value=''.
    [2/1/2015 1:09:30 PM] [0] ExSetupUI was started with the following command: '-mode:upgrade -sourcedir:J:\EXSP01\SP3 /FromSetup'.
    [2/1/2015 1:09:30 PM] [0] Setup is choosing the domain controller to use
    [2/1/2015 1:09:31 PM] [0] Setup is choosing a local domain controller...
    [2/1/2015 1:09:35 PM] [0] Setup has chosen the local domain controller PGCDC.chakfig.local for initial queries
    [2/1/2015 1:09:35 PM] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use PGCDC.chakfig.local
    [2/1/2015 1:09:35 PM] [0] Setup is choosing a global catalog...
    [2/1/2015 1:09:35 PM] [0] Setup has chosen the global catalog server PGCDC.chakfig.local.
    [2/1/2015 1:09:35 PM] [0] Setup will use the domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 1:09:35 PM] [0] Setup will use the global catalog 'PGCDC.chakfig.local'.
    [2/1/2015 1:09:35 PM] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 1:09:35 PM] [0] Exchange organization container for the organization is 'CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 1:09:35 PM] [0] Setup will search for an Exchange Server object for the local machine with name 'PGCVMEXG'.
    [2/1/2015 1:09:35 PM] [0] Exchange Server object found : 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 1:09:35 PM] [0] The following roles are unpacked: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole 
    [2/1/2015 1:09:35 PM] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole 
    [2/1/2015 1:09:35 PM] [0] The local server has some Exchange files installed.
    [2/1/2015 1:09:35 PM] [0] Setup will use the path 'J:\EXSP01\SP3' for installing Exchange.
    [2/1/2015 1:09:35 PM] [0] Setup will discover the installed roles from server object 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 1:09:35 PM] [0] 'BridgeheadRole' is installed on the server object.
    [2/1/2015 1:09:35 PM] [0] 'ClientAccessRole' is installed on the server object.
    [2/1/2015 1:09:35 PM] [0] 'MailboxRole' is installed on the server object.
    [2/1/2015 1:09:35 PM] [0] The server is cluster type: 'None'.
    [2/1/2015 1:09:35 PM] [0] The requested cluster type: 'None'.
    [2/1/2015 1:09:35 PM] [0] The installation mode is set to: 'BuildToBuildUpgrade'.
    [2/1/2015 1:09:35 PM] [0] An Exchange organization with name 'chakfig' was found in this forest.
    [2/1/2015 1:09:35 PM] [0] Active Directory Initialization status : 'True'.
    [2/1/2015 1:09:35 PM] [0] Schema Update Required Status : 'False'.
    [2/1/2015 1:09:35 PM] [0] Organization Configuration Update Required Status : 'False'.
    [2/1/2015 1:09:35 PM] [0] Domain Configuration Update Required Status : 'False'.
    [2/1/2015 1:09:35 PM] [0] The locally installed version is 8.3.83.6.
    [2/1/2015 1:09:35 PM] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server'.
    [2/1/2015 1:09:35 PM] [0] The backup copy of the install path is 'C:\Program Files\Microsoft\Exchange Server'.
    [2/1/2015 1:09:35 PM] [0] The backup copy of the previously installed version is '8.2.176.2'.
    [2/1/2015 1:09:36 PM] [0] Setup is determining what organization-level operations to perform.
    [2/1/2015 1:09:36 PM] [0] Because the value was specified, setup is setting the argument OrganizationName to the value chakfig.
    [2/1/2015 1:09:36 PM] [0] The installed .msi file is current for this version of setup.
    [2/1/2015 1:09:36 PM] [0] RootDataHandler has 1 DataHandlers
    [2/1/2015 1:12:38 PM] [0] End of Setup
    [2/1/2015 1:12:38 PM] [0] **********************************************
    [2/1/2015 2:17:36 PM] [0] **********************************************
    [2/1/2015 2:17:36 PM] [0] Starting Microsoft Exchange 2007 Setup
    [2/1/2015 2:17:36 PM] [0] **********************************************
    [2/1/2015 2:17:36 PM] [0] Operating System version: Microsoft Windows NT 6.0.6002 Service Pack 2.
    [2/1/2015 2:17:36 PM] [0] Setup version: 8.3.83.6.
    [2/1/2015 2:17:36 PM] [0] Logged on user: chakfig\Administrator.
    [2/1/2015 2:17:37 PM] [0] Command Line Parameter Name='mode', Value='Upgrade'.
    [2/1/2015 2:17:37 PM] [0] Command Line Parameter Name='sourcedir', Value='J:\EXSP01\SP3'.
    [2/1/2015 2:17:37 PM] [0] Command Line Parameter Name='fromsetup', Value=''.
    [2/1/2015 2:17:37 PM] [0] ExSetupUI was started with the following command: '-mode:upgrade -sourcedir:J:\EXSP01\SP3 /FromSetup'.
    [2/1/2015 2:17:41 PM] [0] Setup is choosing the domain controller to use
    [2/1/2015 2:17:41 PM] [0] Setup is choosing a local domain controller...
    [2/1/2015 2:17:43 PM] [0] Setup has chosen the local domain controller PGCDC.chakfig.local for initial queries
    [2/1/2015 2:17:43 PM] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use PGCDC.chakfig.local
    [2/1/2015 2:17:43 PM] [0] Setup is choosing a global catalog...
    [2/1/2015 2:17:43 PM] [0] Setup has chosen the global catalog server PGCDC.chakfig.local.
    [2/1/2015 2:17:43 PM] [0] Setup will use the domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:17:43 PM] [0] Setup will use the global catalog 'PGCDC.chakfig.local'.
    [2/1/2015 2:17:43 PM] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 2:17:43 PM] [0] Exchange organization container for the organization is 'CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 2:17:43 PM] [0] Setup will search for an Exchange Server object for the local machine with name 'PGCVMEXG'.
    [2/1/2015 2:17:43 PM] [0] Exchange Server object found : 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 2:17:43 PM] [0] The following roles are unpacked: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole 
    [2/1/2015 2:17:43 PM] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole 
    [2/1/2015 2:17:43 PM] [0] The local server has some Exchange files installed.
    [2/1/2015 2:17:43 PM] [0] Setup will use the path 'J:\EXSP01\SP3' for installing Exchange.
    [2/1/2015 2:17:43 PM] [0] Setup will discover the installed roles from server object 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
    [2/1/2015 2:17:43 PM] [0] 'BridgeheadRole' is installed on the server object.
    [2/1/2015 2:17:43 PM] [0] 'ClientAccessRole' is installed on the server object.
    [2/1/2015 2:17:43 PM] [0] 'MailboxRole' is installed on the server object.
    [2/1/2015 2:17:43 PM] [0] The server is cluster type: 'None'.
    [2/1/2015 2:17:43 PM] [0] The requested cluster type: 'None'.
    [2/1/2015 2:17:43 PM] [0] The installation mode is set to: 'BuildToBuildUpgrade'.
    [2/1/2015 2:17:43 PM] [0] An Exchange organization with name 'chakfig' was found in this forest.
    [2/1/2015 2:17:43 PM] [0] Active Directory Initialization status : 'True'.
    [2/1/2015 2:17:43 PM] [0] Schema Update Required Status : 'False'.
    [2/1/2015 2:17:43 PM] [0] Organization Configuration Update Required Status : 'False'.
    [2/1/2015 2:17:43 PM] [0] Domain Configuration Update Required Status : 'False'.
    [2/1/2015 2:17:43 PM] [0] The locally installed version is 8.3.83.6.
    [2/1/2015 2:17:43 PM] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server'.
    [2/1/2015 2:17:43 PM] [0] The backup copy of the install path is 'C:\Program Files\Microsoft\Exchange Server'.
    [2/1/2015 2:17:43 PM] [0] The backup copy of the previously installed version is '8.2.176.2'.
    [2/1/2015 2:17:43 PM] [0] Setup is determining what organization-level operations to perform.
    [2/1/2015 2:17:43 PM] [0] Because the value was specified, setup is setting the argument OrganizationName to the value chakfig.
    [2/1/2015 2:17:43 PM] [0] The installed .msi file is current for this version of setup.
    [2/1/2015 2:17:43 PM] [0] RootDataHandler has 1 DataHandlers
    [2/1/2015 2:17:47 PM] [0] Validating options for the 4 requested roles
    [2/1/2015 2:17:47 PM] [0] UpgradeModeDataHandler has 5 handlers and 5 work units
    [2/1/2015 2:17:52 PM] [0] Validating options for the 4 requested roles
    [2/1/2015 2:17:52 PM] [0] UpgradeModeDataHandler has 5 handlers and 5 work units
    [2/1/2015 2:17:53 PM] [0] **************
    [2/1/2015 2:17:53 PM] [0] Setup will run the task 'test-setuphealth'
    [2/1/2015 2:17:53 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $true -ExchangeVersion '8.3.83.6' -Roles 'Bridgehead' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
    -TargetDir 'C:\Program Files\Microsoft\Exchange Server''  
    [2/1/2015 2:17:53 PM] [1] Beginning processing.
    [2/1/2015 2:18:19 PM] [1] Beginning processing.
    [2/1/2015 2:18:19 PM] [1] Administrator Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
    [2/1/2015 2:18:19 PM] [1] Searching objects "PGCVMEXG" of type "Server" under the root "$null".
    [2/1/2015 2:18:19 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:18:19 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:18:19 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
    [2/1/2015 2:18:20 PM] [1] Ending processing.
    [2/1/2015 2:18:20 PM] [1] Beginning processing.
    [2/1/2015 2:18:20 PM] [1] Administrator Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
    [2/1/2015 2:18:20 PM] [1] Searching objects of type "SmtpSendConnectorConfig" with filter "$null", scope "SubTree" under the root "Administrative Groups".
    [2/1/2015 2:18:20 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:18:20 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
    [2/1/2015 2:18:20 PM] [1] Ending processing.
    [2/1/2015 2:18:20 PM] [1] Ending processing.
    [2/1/2015 2:18:20 PM] [0] **************
    [2/1/2015 2:18:20 PM] [0] Setup will run the task 'test-setuphealth'
    [2/1/2015 2:18:20 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $false -ExchangeVersion '8.3.83.6' -Roles 'ClientAccess' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
    -TargetDir 'C:\Program Files\Microsoft\Exchange Server' -IISInstalled $true'  
    [2/1/2015 2:18:20 PM] [1] Beginning processing.
    [2/1/2015 2:18:26 PM] [1] Beginning processing.
    [2/1/2015 2:18:26 PM] [1] Administrator Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
    [2/1/2015 2:18:55 PM] [1] Searching objects of type "SmtpSendConnectorConfig" with filter "$null", scope "SubTree" under the root "Administrative Groups".
    [2/1/2015 2:18:55 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:18:55 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
    [2/1/2015 2:18:55 PM] [1] Ending processing.
    [2/1/2015 2:18:55 PM] [1] Ending processing.
    [2/1/2015 2:18:55 PM] [0] **************
    [2/1/2015 2:18:55 PM] [0] Setup will run the task 'test-setuphealth'
    [2/1/2015 2:18:55 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $false -ExchangeVersion '8.3.83.6' -Roles 'ClientAccess' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
    -TargetDir 'C:\Program Files\Microsoft\Exchange Server' -IISInstalled $true'  
    [2/1/2015 2:18:55 PM] [1] Beginning processing.
    [2/1/2015 2:19:01 PM] [1] Beginning processing.
    [2/1/2015 2:19:01 PM] [1] Administrator Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
    [2/1/2015 2:19:01 PM] [1] Searching objects "PGCVMEXG" of type "Server" under the root "$null".
    [2/1/2015 2:19:01 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:19:01 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:19:01 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
    [2/1/2015 2:19:01 PM] [1] Ending processing.
    [2/1/2015 2:19:01 PM] [1] Ending processing.
    [2/1/2015 2:19:01 PM] [0] **************
    [2/1/2015 2:19:01 PM] [0] Setup will run the task 'test-setuphealth'
    [2/1/2015 2:19:01 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $false -ExchangeVersion '8.3.83.6' -Roles 'Mailbox' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
    -TargetDir 'C:\Program Files\Microsoft\Exchange Server' -IISInstalled $true'  
    [2/1/2015 2:19:01 PM] [1] Beginning processing.
    [2/1/2015 2:19:04 PM] [1] Beginning processing.
    [2/1/2015 2:19:04 PM] [1] Ending processing.
    [2/1/2015 2:19:07 PM] [1] Beginning processing.
    [2/1/2015 2:19:07 PM] [1] Administrator Active Directory session settings are:  View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
    [2/1/2015 2:19:07 PM] [1] Searching objects "PGCVMEXG" of type "Server" under the root "$null".
    [2/1/2015 2:19:07 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:19:07 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
    [2/1/2015 2:19:07 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
    [2/1/2015 2:19:07 PM] [1] Ending processing.
    [2/1/2015 2:19:08 PM] [1] Ending processing.
    [2/1/2015 2:19:20 PM] [0] Setup is determining what organization-level operations to perform.
    [2/1/2015 2:19:20 PM] [0] Because the value was specified, setup is setting the argument OrganizationName to the value chakfig.
    [2/1/2015 2:19:20 PM] [0] The installed .msi file is current for this version of setup.
    [2/1/2015 2:19:20 PM] [0] RootDataHandler has 1 DataHandlers
    [2/1/2015 2:19:20 PM] [0] **************
    [2/1/2015 2:19:20 PM] [0] Setup will run the task 'Install-BridgeheadRole'
    [2/1/2015 2:19:20 PM] [1] Setup launched task 'Install-BridgeheadRole -DomainController 'PGCDC.chakfig.local' -UpdatesDir 'J:\EXSP01\SP3\Updates''  
    [2/1/2015 2:19:20 PM] [1] Beginning processing.
    [2/1/2015 2:19:20 PM] [1] Attempting Install for BridgeheadRole.
    [2/1/2015 2:19:20 PM] [1] The following roles are current: 
    [2/1/2015 2:19:26 PM] [1] Reading components for role 'BridgeheadRole' from 'res://BridgeheadRoleDefinition.xml'
    [2/1/2015 2:19:26 PM] [1] Found 22 components
    [2/1/2015 2:19:26 PM] [1] Loaded component 'All Roles Common First - Run Once' with 10 task info blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [2/1/2015 2:19:26 PM] [1] Loaded component 'All Roles Common First' with 8 task info blocks from 'res://AllRolesCommonFirst.xml'
    [2/1/2015 2:19:27 PM] [1] Loaded component 'All Roles Precompile Management Binaries' with 30 task info blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
    [2/1/2015 2:19:27 PM] [1] Loaded component 'Bridgehead Permissions Configuration' with 1 task info blocks from 'res://BridgeheadLocalPermissionsComponent.xml'
    [2/1/2015 2:19:27 PM] [1] Loaded component 'Common Perf Counters ' with 2 task info blocks from 'res://CommonPerfCountersComponent.xml'
    [2/1/2015 2:19:27 PM] [1] Loaded component 'Provision Server' with 9 task info blocks from 'res://ProvisionServerComponent.xml'
    [2/1/2015 2:19:28 PM] [1] Loaded component 'All Active-Directory Roles Common' with 14 task info blocks from 'res://AllADRolesCommon.xml'
    [2/1/2015 2:19:28 PM] [1] Loaded component 'Exchange 2003 Pseudo-MTA Configuration' with 1 task info blocks from 'res://LegacyMTAComponent.xml'
    [2/1/2015 2:19:28 PM] [1] Loaded component 'Exchange 2003 SMTP VSI Configuration' with 1 task info blocks from 'res://LegacySMTPComponent.xml'
    [2/1/2015 2:19:29 PM] [1] Loaded component 'Transport Perf Counters' with 21 task info blocks from 'res://TransportPerfCountersComponent.xml'
    [2/1/2015 2:19:29 PM] [1] Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task info blocks from 'res://RpcEpmapFirewallException.xml'
    [2/1/2015 2:19:29 PM] [1] Loaded component 'Bridgehead Role Setter' with 1 task info blocks from 'res://BridgeheadRoleSetterComponent.xml'
    [2/1/2015 2:19:29 PM] [1] Loaded component 'Transport Common Configuration' with 22 task info blocks from 'res://TransportCommonComponent.xml'
    [2/1/2015 2:19:30 PM] [1] Loaded component 'Bridgehead Perf Counters' with 8 task info blocks from 'res://BridgeheadPerfCountersComponent.xml'
    [2/1/2015 2:19:30 PM] [1] Loaded component 'Bridgehead Configuration' with 18 task info blocks from 'res://BridgeheadComponent.xml'
    [2/1/2015 2:19:30 PM] [1] Loaded component 'Transport Log Search Service' with 1 task info blocks from 'res://TransportLogSearchServiceComponent.xml'
    [2/1/2015 2:19:31 PM] [1] Loaded component 'Data Storage Configuration' with 1 task info blocks from 'res://DataStorageComponent.xml'
    [2/1/2015 2:19:31 PM] [1] Loaded component 'Monitoring Service Configuration' with 5 task info blocks from 'res://MonitoringComponent.xml'
    [2/1/2015 2:19:31 PM] [1] Loaded component 'Active Directory Topology Service Configuration' with 2 task info blocks from 'res://AllADRolesCommonServiceControl.xml'
    [2/1/2015 2:19:31 PM] [1] Loaded component 'Bridgehead Service Configuration' with 3 task info blocks from 'res://BridgeheadServiceControl.xml'
    [2/1/2015 2:19:32 PM] [1] Loaded component 'Transport Common Service Control' with 1 task info blocks from 'res://TransportCommonServiceControl.xml'
    [2/1/2015 2:19:32 PM] [1] Loaded component 'All Roles Common Last' with 4 task info blocks from 'res://AllRolesCommonLast.xml'
    [2/1/2015 2:19:32 PM] [1] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole 
    [2/1/2015 2:19:32 PM] [1] Writing informational script to 'C:\ExchangeSetupLogs\Install-BridgeheadRole-20150201-1419320497.ps1'
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleIsClusterNode = $False', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClusterNode = $False'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleRoles = "BridgeheadRole,ClientAccessRole,MailboxRole,AdminToolsRole"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleRoles = "BridgeheadRole,ClientAccessRole,MailboxRole,AdminToolsRole"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleIsAdminToolsRoleInstalled = $True', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsAdminToolsRoleInstalled = $True'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleNetBIOSName = "pgcvmexg"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleNetBIOSName = "pgcvmexg"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleInvocationID = "20150201-1419320497"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleInvocationID = "20150201-1419320497"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleInstallPath = "C:\Program Files\Microsoft\Exchange Server\"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleInstallPath = "C:\Program Files\Microsoft\Exchange Server\"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleStartTransportService = $True', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleStartTransportService = $True'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleLoggedOnUser = "chakfig\Administrator"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggedOnUser = "chakfig\Administrator"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleInstallationMode = "BuildToBuildUpgrade"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleInstallationMode = "BuildToBuildUpgrade"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RolePreviousVersion = "8.2.176.2"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RolePreviousVersion = "8.2.176.2"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleIsMailboxRoleInstalled = $True', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsMailboxRoleInstalled = $True'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleBinPath = "C:\Program Files\Microsoft\Exchange Server\Bin"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleBinPath = "C:\Program Files\Microsoft\Exchange Server\Bin"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleSetupLoggingPath = "C:\ExchangeSetupLogs"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleSetupLoggingPath = "C:\ExchangeSetupLogs"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleFqdnOrName = "pgcvmexg"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleFqdnOrName = "pgcvmexg"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleTargetVersion = "8.3.83.6"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleTargetVersion = "8.3.83.6"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleUpdatesDir = "J:\EXSP01\SP3\Updates"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleUpdatesDir = "J:\EXSP01\SP3\Updates"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleIsClientAccessRoleInstalled = $True', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClientAccessRoleInstalled = $True'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleRoleName = "BridgeheadRole"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleRoleName = "BridgeheadRole"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleDomainController = "PGCDC.chakfig.local"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleDomainController = "PGCDC.chakfig.local"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleProductPlatform = "amd64"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleProductPlatform = "amd64"'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleIsBridgeheadRoleInstalled = $True', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsBridgeheadRoleInstalled = $True'.
    [2/1/2015 2:19:32 PM] [1] Executing '$RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"'.
    [2/1/2015 2:19:32 PM] [1] Found 136 tasks to execute
    [2/1/2015 2:19:32 PM] [1] Processing component 'All Roles Common First - Run Once' (Configuring the server.).
    [2/1/2015 2:19:32 PM] [1] Executing 'if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName = 'Installdw20shared.msilog';
    } install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
    LOGVERBOSE=1");', handleError = False
    [2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName
    = 'Installdw20shared.msilog'; } install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
    LOGVERBOSE=1");'.
    [2/1/2015 2:19:32 PM] [2] Beginning processing.
    [2/1/2015 2:19:33 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
    [2/1/2015 2:19:33 PM] [2] PackagePath was set to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'; normalizing to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
    [2/1/2015 2:19:33 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
    [2/1/2015 2:19:33 PM] [2] Installing MSI package 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007.xml, Xml Node Name = _locDefinition
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge.xml, Xml Node Name = _locDefinition
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007_WinSrv2008.xml, Xml Node Name = _locDefinition
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError
    = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge_WinSrv2008.xml, Xml Node Name = _locDefinition
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:34 PM] [1] Executing 'Set-WERRegistryMarkers;', handleError = False
    [2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-WERRegistryMarkers;'.
    [2/1/2015 2:19:34 PM] [2] Beginning processing.
    [2/1/2015 2:19:34 PM] [2] Ending processing.
    [2/1/2015 2:19:35 PM] [1] Processing component 'All Roles Common First' (Creating the Exchange server configuration in the Active Directory).
    [2/1/2015 2:19:35 PM] [1] Executing '$RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames', handleError = False
    [2/1/2015 2:19:35 PM] [2] Launching sub-task '$error.Clear(); $RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames'.
    [2/1/2015 2:19:35 PM] [1] Executing 'Set-LocalPermissions', handleError = False
    [2/1/2015 2:19:35 PM] [2] Launching sub-task '$error.Clear(); Set-LocalPermissions'.
    [2/1/2015 2:19:35 PM] [2] Beginning processing.
    [2/1/2015 2:19:49 PM] [2] Ending processing.
    [2/1/2015 2:19:49 PM] [1] Executing 'get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true', handleError = False
    [2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true'.
    [2/1/2015 2:19:49 PM] [1] Executing 'get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true', handleError = False
    [2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true'.
    [2/1/2015 2:19:49 PM] [1] Executing 'get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true', handleError = False
    [2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true'.
    [2/1/2015 2:19:49 PM] [1] Executing '$mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile -MofFilePath:$mflFilePath;',
    handleError = True
    [2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); $mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile
    -MofFilePath:$mflFilePath;'.
    [2/1/2015 2:19:49 PM] [2] Beginning processing.
    [2/1/2015 2:19:49 PM] [2] Exchange tracing provider was installed successfully.
    [2/1/2015 2:19:49 PM] [2] Ending processing.
    [2/1/2015 2:19:49 PM] [2] Beginning processing.
    [2/1/2015 2:19:49 PM] [2] Exchange tracing provider was installed successfully.
    [2/1/2015 2:19:49 PM] [2] Ending processing.
    [2/1/2015 2:19:49 PM] [1] Processing component 'All Roles Precompile Management Binaries' (Pre-compiling management binaries.).
    [2/1/2015 2:19:49 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/1/2015 2:19:49 PM] [2] Beginning processing.
    [2/1/2015 2:19:49 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll" /verbose
    [2/1/2015 2:19:50 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll
    All compilation targets are up to date.
    [2/1/2015 2:19:50 PM] [2] Process standard error: 
    [2/1/2015 2:19:50 PM] [2] Ending processing.
    [2/1/2015 2:19:50 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/1/2015 2:19:50 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/1/2015 2:19:50 PM] [2] Beginning processing.
    [2/1/2015 2:19:50 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll" /verbose
    [2/1/2015 2:19:50 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll
    All compilation targets are up to date.
    [2/1/2015 2:19:50 PM] [2] Process standard error: 
    [2/1/2015 2:19:50 PM] [2] Ending processing.
    [2/1/2015 2:19:50 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/1/2015 2:19:50 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/1/2015 2:19:50 PM] [2] Beginning processing.
    [2/1/2015 2:19:50 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll" /verbose
    [2/1/2015 2:19:51 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll
    All compilation targets are up to date.
    [2/1/2015 2:19:51 PM] [2] Process standard error: 
    [2/1/2015 2:19:51 PM] [2] Ending processing
    [2/1/2015 2:20:07 PM] [2] Process standard error: 
    [2/1/2015 2:20:07 PM] [2] Ending processing.
    [2/1/2015 2:20:07 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.PowerShell.configuration.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/1/2015 2:20:07 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.PowerShell.configuration.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/1/2015 2:20:07 PM] [2] Beginning processing.
    [2/1/2015 2:20:07 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.PowerShell.configuration.dll" /verbose
    [2/1/2015 2:20:10 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.PowerShell.configuration.dll
    All compilation targets are up to date.
    [2/1/2015 2:20:10 PM] [2] Process standard error: 
    [2/1/2015 2:20:10 PM] [2] Ending processing.
    [2/1/2015 2:20:10 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Management.SnapIn.Esm.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/1/2015 2:20:10 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Management.SnapIn.Esm.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/1/2015 2:20:10 PM] [2] Beginning processing.
    [2/1/2015 2:20:10 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Management.SnapIn.Esm.dll" /verbose
    [2/1/2015 2:20:12 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Management.SnapIn.Esm.dll
    All compilation targets are up to date.
    [2/1/2015 2:20:12 PM] [2] Process standard error: 
    [2/1/2015 2:20:12 PM] [2] Ending processing.
    [2/1/2015 2:20:12 PM] [1] Processing component 'Bridgehead Permissions Configuration' (Setting folder and registry permissions).
    [2/1/2015 2:20:12 PM] [1] Executing 'Set-LocalPermissions -Feature:"Bridgehead"', handleError = False
    [2/1/2015 2:20:12 PM] [2] Launching sub-task '$error.Clear(); Set-LocalPermissions -Feature:"Bridgehead"'.
    [2/1/2015 2:20:12 PM] [2] Beginning processing.
    [2/1/2015 2:20:12 PM] [2] Ending processing.
    [2/1/2015 2:20:12 PM] [1] Processing component 'Common Perf Counters ' (Configuring performance counters).
    [2/1/2015 2:20:12 PM] [1] Executing 'new-perfcounters -DefinitionFileName ExchangeTopologyPerformanceCounters.xml', handleError = True
    [2/1/2015 2:20:12 PM] [2] Launching sub-task '$error.Clear(); new-perfcounters -DefinitionFileName ExchangeTopologyPerformanceCounters.xml'.
    [2/1/2015 2:20:12 PM] [2] Beginning processing.
    [2/1/2015 2:20:12 PM] [2] Processing file: C:\Program Files\Microsoft\Exchange Server\Setup\Perf\ExchangeTopologyPerformanceCounters.xml
    [2/1/2015 2:20:12 PM] [2] Performance counter name is Latest Exchange Topology Discovery Time in Seconds, type is NumberOfItems32.
    [2/1/2015 2:20:12 PM] [2] Performance counter name is Number of Exchange Topology Discoveries, type is NumberOfItems32.
    [2/1/2015 2:20:12 PM] [2] Performance counter name is Number of Siteless Servers, type is NumberOfItems32.
    Appreciate if someone can help us move forward in this scenario.
    We have
    1. disabled anti virus and tried.
    2. removed watermarks and action entries in the registry
    3. tried almost everything mentioned on google but i am not able to move forward.
    Please help. we need this as part of our migration to Exchange 2013 for co-existence.
    Thank you.
    Philip

    ExchangeSetup.log (part 3)
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleSetupLoggingPath = "C:\ExchangeSetupLogs"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleSetupLoggingPath = "C:\ExchangeSetupLogs"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleFqdnOrName = "pgcvmexg"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleFqdnOrName = "pgcvmexg"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleTargetVersion = "8.3.83.6"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleTargetVersion = "8.3.83.6"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleUpdatesDir = "C:\SP3\Updates"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleUpdatesDir = "C:\SP3\Updates"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleIsClientAccessRoleInstalled = $True', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClientAccessRoleInstalled = $True'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleRoleName = "BridgeheadRole"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleRoleName = "BridgeheadRole"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleDomainController = "PGCDC.platcorp.local"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleDomainController = "PGCDC.platcorp.local"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleProductPlatform = "amd64"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleProductPlatform = "amd64"'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleIsBridgeheadRoleInstalled = $True', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleIsBridgeheadRoleInstalled = $True'.
    [2/2/2015 8:06:45 PM] [1] Executing '$RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"'.
    [2/2/2015 8:06:45 PM] [1] Found 136 tasks to execute
    [2/2/2015 8:06:45 PM] [1] Processing component 'All Roles Common First - Run Once' (Configuring the server.).
    [2/2/2015 8:06:45 PM] [1] Executing 'if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName = 'Installdw20shared.msilog';
    } install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
    LOGVERBOSE=1");', handleError = False
    [2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName
    = 'Installdw20shared.msilog'; } install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
    LOGVERBOSE=1");'.
    [2/2/2015 8:06:45 PM] [2] Beginning processing.
    [2/2/2015 8:06:45 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
    [2/2/2015 8:06:45 PM] [2] PackagePath was set to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'; normalizing to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
    [2/2/2015 8:06:45 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
    [2/2/2015 8:06:45 PM] [2] Installing MSI package 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007.xml, Xml Node Name = _locDefinition
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge.xml, Xml Node Name = _locDefinition
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007_WinSrv2008.xml, Xml Node Name = _locDefinition
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError
    = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge_WinSrv2008.xml, Xml Node Name = _locDefinition
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Executing 'Set-WERRegistryMarkers;', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-WERRegistryMarkers;'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:06:47 PM] [2] Ending processing.
    [2/2/2015 8:06:47 PM] [1] Processing component 'All Roles Common First' (Creating the Exchange server configuration in the Active Directory).
    [2/2/2015 8:06:47 PM] [1] Executing '$RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); $RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames'.
    [2/2/2015 8:06:47 PM] [1] Executing 'Set-LocalPermissions', handleError = False
    [2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-LocalPermissions'.
    [2/2/2015 8:06:47 PM] [2] Beginning processing.
    [2/2/2015 8:07:00 PM] [2] Ending processing.
    [2/2/2015 8:07:00 PM] [1] Executing 'get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true', handleError = False
    [2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true'.
    [2/2/2015 8:07:00 PM] [1] Executing 'get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true', handleError = False
    [2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true'.
    [2/2/2015 8:07:00 PM] [1] Executing 'get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true', handleError = False
    [2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true'.
    [2/2/2015 8:07:00 PM] [1] Executing '$mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile -MofFilePath:$mflFilePath;',
    handleError = True
    [2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); $mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile
    -MofFilePath:$mflFilePath;'.
    [2/2/2015 8:07:00 PM] [2] Beginning processing.
    [2/2/2015 8:07:01 PM] [2] Exchange tracing provider was installed successfully.
    [2/2/2015 8:07:01 PM] [2] Ending processing.
    [2/2/2015 8:07:01 PM] [2] Beginning processing.
    [2/2/2015 8:07:01 PM] [2] Exchange tracing provider was installed successfully.
    [2/2/2015 8:07:01 PM] [2] Ending processing.
    [2/2/2015 8:07:01 PM] [1] Processing component 'All Roles Precompile Management Binaries' (Pre-compiling management binaries.).
    [2/2/2015 8:07:01 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/2/2015 8:07:01 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/2/2015 8:07:01 PM] [2] Beginning processing.
    [2/2/2015 8:07:01 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll" /verbose
    [2/2/2015 8:07:02 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll
    All compilation targets are up to date.
    [2/2/2015 8:07:02 PM] [2] Process standard error: 
    [2/2/2015 8:07:02 PM] [2] Ending processing.
    [2/2/2015 8:07:02 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/2/2015 8:07:02 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/2/2015 8:07:02 PM] [2] Beginning processing.
    [2/2/2015 8:07:02 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll" /verbose
    [2/2/2015 8:07:02 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll
    All compilation targets are up to date.
    [2/2/2015 8:07:02 PM] [2] Process standard error: 
    [2/2/2015 8:07:02 PM] [2] Ending processing.
    [2/2/2015 8:07:02 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/2/2015 8:07:02 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/2/2015 8:07:02 PM] [2] Beginning processing.
    [2/2/2015 8:07:02 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll" /verbose
    [2/2/2015 8:07:02 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll
    All compilation targets are up to date.
    [2/2/2015 8:07:02 PM] [2] Process standard error: 
    [2/2/2015 8:07:02 PM] [2] Ending processing.
    [2/2/2015 8:07:02 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Common.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/2/2015 8:07:02 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Common.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/2/2015 8:07:02 PM] [2] Beginning processing.
    [2/2/2015 8:07:02 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Common.dll" /verbose
    [2/2/2015 8:07:03 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Common.dll
    All compilation targets are up to date.
    [2/2/2015 8:07:03 PM] [2] Process standard error: 
    [2/2/2015 8:07:03 PM] [2] Ending processing.
    [2/2/2015 8:07:03 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Core.Strings.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/2/2015 8:07:03 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Core.Strings.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/2/2015 8:07:03 PM] [2] Beginning processing.
    [2/2/2015 8:07:03 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Core.Strings.dll" /verbose
    [2/2/2015 8:07:03 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Core.Strings.dll
    All compilation targets are up to date.
    [2/2/2015 8:07:03 PM] [2] Process standard error: 
    [2/2/2015 8:07:03 PM] [2] Ending processing.
    [2/2/2015 8:07:03 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Net.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
    [2/2/2015 8:07:03 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Net.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
    [2/2/2015 8:07:03 PM] [2] Beginning processing.
    [2/2/2015 8:07:03 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Net.dll" /verbose
    [2/2/2015 8:07:04 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Net.dll
    All compilation targets are up to date.

  • Some performance counter objects are not available for a 32-bit process on 64-bit versions of Windows Server 2012 standard

    When we try to gather performance counter information for a 32-bit process on a 64-bit computer that is running Microsoft Windows Server 2012, all our performance counter objects are not available with 32 bit perfmon application (C:\Windows\SysWOW64\perfmon.exe)
    I didn't notified any errors while registering our counter objects or while running Perfmon.exe
    Note: Same counter objects are available and working fine with Windows Server 2008 R2.
    for diagnostic our counters on WIN2012, ran command as follows:
     cd c:\windows\sysWOW64
     lodctr /Q
    I am able to see all our counter objects on response and infact all were shown as enabled, as shown below
    Appreciate quiclk response with solution or clues to diagnose it more details.
    Thanks & Regards,
    Sudhakar Rudra

    Hi,
    Thanks for your reply.
    I hope you understood our problem.
    same our system counter objects (ver x), we able to browse from Perfmon 32 bit app on Windows 7, Windows 2008 R2 (64bit) OS but not on Windows 2012.
    I am able to see all counter objects registered as follows (same at HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\HMI Alarm Class\Performance,
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\HMI Alarm Class\Performance
    and
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HMI Alarm Class\Performance)
    Only difference I observed that "Disable Performance Counters" were set to 4 in Windows 2012 OS unlike other windows 7 64bit OS and there is no differnece for remaining all entires.
    I tried setting that "Disable Performance Counters" value to "0", but some how they get reset to "4", no luck..
    I think "Disable Performance Counters" value either "0", or "4", should not matter for browsing our counters with 32bit bit perfmon applicaiton.
    Do you see any issues of registry entries. ?
    On what basis perfomance monitor list few enabled counters?
    How can we add our counters manually to perfomance monitor?

  • SQL Query - SCOM2012R2 Performance Counter

    Need some assistance with a SQL query against my SCOM DW. I want this to do a select within a select. The inner select must collect the raw data for a performance counter, for the last 5 minutes. But SCOM will only give me counters that collected in the
    last 5 minutes. What i want is the last value for every managed instance. - 1500 servers. 
    The outer SELECT must then filter this by doing a count on how many servers it collected a value for that are above 80% - and then divide that number by the total managed servers to give me a percentage of servers above 80% memory used. Eg - it counts 10
    servers are above 80%, but theres 100 servers - then gives me a final figure of 90%. 
    select (count(abc.DaValue)) from (
      select
        vManagedEntity.Path
        ,vPerformanceRule.ObjectName
        ,vPerformanceRule.CounterName
        ,AVG(vPerfRaw.SampleValue) AS DaValue
      from vPerfRaw
        join vPerformanceRuleInstance on vPerformanceRuleInstance.PerformanceRuleInstanceRowid = vPerfRaw.PerformanceRuleInstanceRowid
        join vPerformanceRule on vPerformanceRule.RuleRowId = vPerformanceRuleInstance.RuleRowId
        join vManagedEntity on vManagedEntity.ManagedEntityRowid = vPerfRaw.ManagedEntityRowId
      where vPerfRaw.Datetime > DATEADD(minute, -20, GETUTCDATE())
      and vPerformanceRule.ObjectName = 'Memory'
      and vPerformanceRule.CounterName = 'PercentMemoryUsed'
      GROUP BY Path, ObjectName, CounterName, Name
      Order by DaValue DESC) 
      as abc
    where abc.DaValue >= 80
    This statement gives me the result
    Msg 1033, Level 15, State 1, Line 15
    The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP, OFFSET or FOR XML is also specified.
    Any ideas ?

    Latest update - 
    SELECT count(DISTINCT abc.server) as NoOfServers,
    count(case when abc.DaValue >= 90 then abc.DaValue end) 'MemoryAbove90%'
    FROM( select TOP 100 PERCENT 
    vManagedEntity.Path as Server ,vPerformanceRule.ObjectName 
    ,vPerformanceRule.CounterName ,AVG(vPerfRaw.SampleValue) AS DaValue
    from Perf.vPerfRaw join vPerformanceRuleInstance on vPerformanceRuleInstance.PerformanceRuleInstanceRowid = vPerfRaw.PerformanceRuleInstanceRowid
    join vPerformanceRule on vPerformanceRule.RuleRowId = vPerformanceRuleInstance.RuleRowId
    join vManagedEntity on vManagedEntity.ManagedEntityRowid = vPerfRaw.ManagedEntityRowId
    where vPerfRaw.Datetime > DATEADD(minute, -10, GETUTCDATE())
    and vPerformanceRule.ObjectName = 'Memory' and vPerformanceRule.CounterName = 'PercentMemoryUsed'
    GROUP BY Path, ObjectName, CounterName, Name
    Order by DaValue DESC)  as abc
    This gives me Total Servers collected from, and Total Servers found to have AVG collections over 90% for Memory Util. 
    My KPI states that I must only display the number of servers that are above 90%, for more than 10minutes.
    The problem with this is that when i run it over a 10 minute period, I get collections for about 40% of my managed servers only.
    I want to know if anyone has a better way of collecting the perf data over a 10 minute period ? 
    What i was thinking of doing is  running this query with time interval on 11 minutes, populating a temp table with the data, running the query
    again with time interval on 1 minute ago, and comparing the results. IF it finds a match, I know that the server has been over 90% memory util for 10 minutes - then i can count it ? Its probably not entirely accurate, but Im out of ideas. From here, i want
    to export the Values for Total Servers and TotalServersAbove90% into Excel, and build a guage off it that will reflect a % of Servers within SLA -Memory Util. 
    Im not entirely familiar with SCOM collection intervals, IF I run the query for the last 1 minute - It seems to skip alot of servers and only returns
    data from about 50, is that because its not cycling on those at that moment ? In which case my idea above wont work.
    UPDATE 2 - i think this will do it
    Our OPS guy just told me that we sample every 10min. So immediately im thinking, perhaps i can run the query for the last 11 minutes - IF more than
    1 sample is above 90%, the server is above 90% for more than 10min.
    But, when i run this query 
    select TOP 100 Percent Path, AVG(SampleValue) AS Value, DateTime  from Perf.vPerfRaw pvpr  inner join vManagedEntity vme on pvpr.ManagedEntityRowId
    = vme.ManagedEntityRowId  inner join vPerformanceRuleInstance vpri on pvpr.PerformanceRuleInstanceRowId = vpri.PerformanceRuleInstanceRowId  inner join vPerformanceRule vpr on vpr.RuleRowId = vpri.RuleRowId WHERE ObjectName = 'Memory' AND CounterName
    = 'PercentMemoryUSed' AND Datetime > DATEADD(minute, -1, GETUTCDATE()) AND SampleValue >= 90 GROUP BY Path, SampleValue, DateTime ORDER BY DateTime DESC
    I get a few servers, but some have more than 1 entry in the last 1 minute.  Which means that i cant compare 2 samples.
    Perhaps i could say if ALL samples collected per server in that 11 minute period are > 90, 
    then add 1 to MemoryAbove90% 

  • Where to find the performance counter information?

    Code:
    class Program
    static void Main(string[] args)
    if(CreatePerformanceCounters())
    Console.WriteLine("Created performance counters");
    Console.WriteLine("Please restart application");
    Console.ReadKey();
    return;
    var totalOperationsCounter = new PerformanceCounter(
    "MyCategory",
    "# operations executed",
    false);
    var operationPerSecondCounter = new PerformanceCounter(
    "MyCategory",
    "# operations / sec",
    false);
    totalOperationsCounter.Increment();
    operationPerSecondCounter.Increment();
    private static bool CreatePerformanceCounters()
    if(!PerformanceCounterCategory.Exists("MyCategory"))
    CounterCreationDataCollection counters = new CounterCreationDataCollection
    new CounterCreationData(
    "# operations executed",
    "Total number of operations executed",
    PerformanceCounterType.NumberOfItems32),
    new CounterCreationData(
    "# operations /sec",
    "Number of operations executed per second",
    PerformanceCounterType.RateOfCountsPerSecond32)
    PerformanceCounterCategory.Create("MyCategory",
    "Sample category for Codeproject", counters);
    return true;
    return false;
    After running it, it displays two line information on the screen. But where is the location to store these information? I want to look at it.

    Hello ardmore,
    >>After running it, it displays two line information on the screen. But where is the location to store these information? I want to look at it.
    You could performance counter monitor:
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    Or see it in the Visual Studio directly:
    In the Server Explore of Visual Studio, expand the Servers, find Performance Counters, you could see the MyCategory counter and other system counters:
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Performance counter updating error

    Hello,
    We are getting flooded with alerts event code 106. Is there a problem with the counters. We also get these on our mailbox server also. The servers are exchange 2013 on prem. The we have 2 CAS and 4 mailbox servers. 
    Application:MSExchange Common:106
    Performance counter updating error. Counter name is Client-side Calls, category name is MSExchange Active Manager Client. Option
    Performance counter
    updating error. Counter name is Unique servers queried, category name is MSExchange Active Manager Client. Optional code: 3. Exception: The exception thrown is : System.InvalidOperationException: The requested Performance Counter is no
    Performance counter updating error. Counter name is Client-side Calls, category name is MSExchange Active Manager Client. Optional code: 2. Exception: The exception thrown is : System.InvalidOperationException:
    The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly. at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter.get_RawValue() at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.get_RawValue()
    Last worker process info : System.ArgumentException: Process with an Id of 1832 is not running. at System.Diagnostics.Process.GetProcessById(Int32 processId) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo() Processes running
    while Performance counter failed to update: 7020 splunk-perfmon 588 services 976 svchost 384 TrustedInstaller 1368 svchost 6620 rdpclip 1168 rundll32 1560 inetinfo 5300 XenDpriv 1160 svchost 2144 XenGuestAgent 2340 Microsoft.Exchange.Directory.TopologyService
    8444 conhost 956 LogonUI 2528 w3wp 2724 WmiPrvSE 6884 explorer 5472 nvwmi64 544 winlogon 3104 w3wp 772 nvvsvc 3292 MSExchangeFrontendTransport 2108 WMSvc 7228 w3wp 332 smss 1312 spoolsv 3872 rundll32 4856 WmiApSrv 6704 w3wp 5444 winlogon 3864 svchost 1104
    VSSVC 6404 ccSvcHst 10552 vds 504 csrss 5032 Smc 6804 dwm 696 svchost 496 wininit 4632 rundll32 888 svchost 6600 w3wp 492 w3wp 2264 Ec2Config 1672 MSExchangeHMHost 2064 svchost 9512 splunkd 7972 w3wp 1860 SMSvcHost 872 svchost 5792 csrss 5592 MSExchangeHMWorker
    1452 ruby 1840 svchost 6764 w3wp 1048 svchost 456 csrss 7152 w3wp 1388 bedbg 3996 Microsoft.Exchange.UM.CallRouter 4380 splunk-wmi 2812 WmiPrvSE 2024 ccSvcHst 3792 Microsoft.Exchange.ServiceHost 600 lsass 796 nvwmi64 5756 w3wp 1580 msdtc 2796 svchost 428 svchost
    820 nvSCPAPISvr 1016 svchost 1996 svchost 1600 Microsoft.Exchange.Diagnostics.Service 4356 nvxdsync 4352 taskeng 608 lsm 4936 svchost 2964 beremote 6312 taskhost 1976 svchost 4 System 10640 conhost 0 Idle Performance Counters Layout information: FileMappingNotFoundException
    for category MSExchange Active Manager Client : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchange active manager client. Error Details: 2 at Microsoft.Exchange.Diagnostics.FileMapping.OpenFileMapping(String
    name, Boolean writable) at Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)

    Hi,
    Please try the following steps:
    1. Stop all the exchange-related services on the server
    2. Open the command prompt by “Run as an Administrator”
    3. Go to "C:\Program files\Microsoft\Exchange Server\V15\Setup\Perf"
    4. To Unload Counter
    ===============
    C:\Program files\Microsoft\Exchange Server\V15\Setup\Perf>unlodctr "MSExchaneg Active Manager Client"
    5. To Load Counter
    =============
    C:\Program files\Microsoft\Exchange Server\V15\Setup\Perf>lodctr ActiveManagerClientPerfmon.ini
    Then check whether the issue persists. The solution above is referred to the following similar thread:
    https://social.technet.microsoft.com/Forums/exchange/en-US/58692b89-d83e-4f3a-b991-9bb38b8ccad0/performance-counters-update-errors-exchange-active-manager-client-ones?forum=exchange2010
    Regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Winnie Liang
    TechNet Community Support

  • Performance counter for BTS 2010

    As per below link BizTalk 2006 shipped with 294 performance counters.
    http://blogs.technet.com/b/clint_huffman/archive/2008/09/02/how-to-use-the-pal-tool-for-biztalk-performance-analysis.aspx
    Howmany performance counter supported by BTS 2010?

    If you are looking for performance counters for 2010, here is the msdn link -
    msdn.microsoft.com/en-us/library/aa578394.aspx

  • Performance counter registry hive consistency failed

    Hi everybody,
    i just bough a tablet from China running Window 8.1 32 bit os sytem. 
    i tried to install sql server 2008 rs but i got this error, performance counter registry hive consistency failed
    i tried to google the result but i got stuck.
    i open the registry and under Peflib i have following folders
    _V2Provider
    009
    0804
    currentlanguage
    under the 009 and currrenlanguage i can see counter and help
    but under _V2Provider and 0804 it was emthy, i was trying to find the way to copy it from other folders but i dont know how.
    please help me to solve this problem so i can go on installing the sql 2008r2
    thanks

    Hello,
    Please try the solutions and workarounds contained on the following resources:
    http://www.thewindowsclub.com/performance-counter-registry-hive-consistency-check
    http://cc.bingj.com/cache.aspx?q=http%3a%2f%2fwww.thewindowsclub.com%2fperformance-counter-registry-hive-consistency-check+&d=4716481039762124&mkt=en-US&setlang=en-US&w=DuZLAhe5tCpgzrvY7gDTglyZBBlX52os
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Performance counter definition file is invalid

    I've been trying to resolve some of the many issues I've run into after installing Exchange 2013 CU2 as a fresh install before migrating my users from 2007.  We'd run into this bug that was generating a ton of event logs for missing performance counters:
    http://support.microsoft.com/kb/2870416
    It includes a PowerShell script to reregister all of the performance counters that come with Exchange 2013.  When running it on my servers, it generated an error for one of the performance counter definition files.
    53 C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\InfoWorkerMultiMailboxSearchPerformanceCounters.xml
    New-PerfCounters : The performance counter definition file is invalid.
    At line:6 char:4
    +    New-PerfCounters -DefinitionFileName $f
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (:) [New-PerfCounters], TaskException
        + FullyQualifiedErrorId : [Server=EXM-SNA-0001,RequestId=b7edcf81-0f96-4937-a4a7-3bc8f6165132,TimeStamp=10/10/2013 9:30:50 PM] 79EF1430,Microsoft.Exchange.Management.Tasks.NewPerfCounters
    I opened the files in Notepad and this one didn't have any obvious errors or differences in structure compared to the other files.  An internet search showed no one else reporting this error processing this file that I could find.  I'd be curious
    if anyone else running CU2 is able to register this performance counter.
    New-PerfCounters -DefinitionFileName "C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\InfoWorkerMultiMailboxSearchPerformanceCounters.xml"

    That would take MS about 10 seconds to fix in a patch lol!  You seem to have strong working knowledge of the PerfCounters.  I just installed CU7 and have successfully worked through all of the counter issues with the exception of one: MSExchange
    LiveIdBasicAuthentication.  I can't find the PerfCounter that I need to register anywhere and it is driving me nuts!  I clearly just need to install the counter, but I can't find the definition or really any information on it at all.  I even
    replicated the the disks of the exchange server, extracted all of the archives in the installed directory and the source media, and indexed the contents of anything even remotely text based.  I can't find this file or a reference to it anywhere.  If
    you Google it all you get back is some bogus torrent site! Hoping you'll be able to point me in the right direction...
    Counter: MSExchange LiveIdBasicAuthentication
    Definition File: LiveIdAuthenticationCounters.xml
    Event ID 106 - MSExchange Common
    Performance counter updating error. Counter name is Current Requests Pending, category name is MSExchange LiveIdBasicAuthentication. Optional code: 2. Exception: The exception thrown is : System.InvalidOperationException: The
    requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    Performance Counters Layout information: FileMappingNotFoundException for category MSExchange LiveIdBasicAuthentication : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchange
    liveidbasicauthentication. Error Details: 2
    ExchangeSetup.log (Same Old Error - Setup point to wrong Perf Folder)
    [02.14.2015 04:31:01.0238] [2] [WARNING] The performance counter definition file D:\Exchange\Bin\Perf\AMD64\LiveIdAuthenticationCounters.xml could not be found.
    Parameter name: DefinitionFileName
    [02.14.2015 04:31:01.0238] [2] [WARNING] The performance counter definition file D:\Exchange\Bin\Perf\AMD64\LiveIdAuthenticationCounters.xml could not be found.
    Parameter name: DefinitionFileName
    [02.14.2015 04:31:01.0238] [2] Ending processing new-PerfCounters
    [02.14.2015 04:31:01.0238] [1] The following 1 error(s) occurred during task execution:
    [02.14.2015 04:31:01.0238] [1] 0.  ErrorRecord: The performance counter definition file D:\Exchange\Bin\Perf\AMD64\LiveIdAuthenticationCounters.xml could not be found.

  • Performance/Counter Based Maintenance Plan

    Dear All,
    Please guide me the detailed process related with "Performance/Counter Based Maintenance Plan" with step wise(with Tcode) .
    its urgent
    Please help.
    Sushant

    Hi Sushant,
    as it's urgent, I simply refer to a blpg document created by Maheswaran KD:
    Behavior of Performance Based Plan in SAP Plant Maintenance
    Please, all credits to Maheswaran!
    Regards,
    P.

  • Performance Counter monitors stay unhealthy even when values drop below thresholds

    I'm investigating some (SCOM 2012) alerts on our Exchange 2013 (SP1) environment:
    Malware filtering is taking too long (90th percentile)
    Mailbox Transport Submission is not keeping up with the work...
    Queue Alert: Internal Aggregate Delivery Queue (Normal Priority) exceeds threshold
    The total number of messages in shadow queues exceeds 1500
    All the monitors are Performance Counter based monitors. When I investigate those performance counters (found via the Crimson Channels in the Eventlogs ../ActiveMonitoring/Monitordefinition) all affected counters have already dropped below threshold values
    but the associated Health Sets stay unhealthy
    IE: Get-ServerHealth -Identity '<Server>' -HealthSet '<HealthSet>'  still reports Total.Shadow.Queue.Length.Above.Threshold.Monitor as UnHealthy while perfmon reports values way below 1500 for that particular server.
    How to (re)evaluate the monitors ?

    For investigation purposes I've added some perfmoncounters in SCOM
    Another server now alerts 'Total number of messages in shadow queues exceeds 1500'. On the specific server the treshold never reached 1500; it was about 5 at the time the alert fired ?!?
    Now it seems the alerts fire for no reason and cannot be reset (I want Managed Availability to reset the alert, not scom)
    The XML of Eventlog\Applications and Serviices/Microsoft/Exchange/ActiveMonitoring/MonitorDefinition/
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Microsoft-Exchange-ActiveMonitoring" Guid="{ECD64F52-A3BC-47B8-B681-A11B7A1C8770}" />
    <EventID>7</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>7</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-07-08T12:08:40.460212000Z" />
    <EventRecordID>15316181</EventRecordID>
    <Correlation />
    <Execution ProcessID="38980" ThreadID="30424" />
    <Channel>Microsoft-Exchange-ActiveMonitoring/MonitorDefinition</Channel>
    <Computer>XXXX</Computer>
    <Security UserID="S-1-5-18" />
    </System>
    - <UserData>
    - <EventXML xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="myNs">
    <Id>577</Id>
    <AssemblyPath>C:\Program Files\Microsoft\Exchange Server\V15\Bin\Microsoft.Office.Datacenter.ActiveMonitoringLocal.dll</AssemblyPath>
    <TypeName>Microsoft.Office.Datacenter.ActiveMonitoring.OverallConsecutiveSampleValueAboveThresholdMonitor</TypeName>
    <Name>Total.Shadow.Queue.Length.Above.Threshold.Monitor</Name>
    <WorkItemVersion>[null]</WorkItemVersion>
    <ServiceName>HubTransport</ServiceName>
    <DeploymentId>0</DeploymentId>
    <ExecutionLocation>[null]</ExecutionLocation>
    <CreatedTime>2014-07-08T12:08:40.4602120Z</CreatedTime>
    <Enabled>1</Enabled>
    <TargetPartition>[null]</TargetPartition>
    <TargetGroup>[null]</TargetGroup>
    <TargetResource />
    <TargetExtension>[null]</TargetExtension>
    <TargetVersion>[null]</TargetVersion>
    <RecurrenceIntervalSeconds>0</RecurrenceIntervalSeconds>
    <TimeoutSeconds>30</TimeoutSeconds>
    <StartTime>2014-07-08T12:08:40.4602120Z</StartTime>
    <UpdateTime>2014-07-08T12:04:53.7722193Z</UpdateTime>
    <MaxRetryAttempts>0</MaxRetryAttempts>
    <ExtensionAttributes>[null]</ExtensionAttributes>
    <SampleMask>EDS/Performance Counter/MSExchangeTransport Shadow Redundancy Host Info\Shadow Queue Length\_total</SampleMask>
    <MonitoringIntervalSeconds>600</MonitoringIntervalSeconds>
    <MinimumErrorCount>0</MinimumErrorCount>
    <MonitoringThreshold>1500</MonitoringThreshold>
    <SecondaryMonitoringThreshold>1</SecondaryMonitoringThreshold>
    <ServicePriority>2</ServicePriority>
    <ServiceSeverity>0</ServiceSeverity>
    <IsHaImpacting>0</IsHaImpacting>
    <CreatedById>50</CreatedById>
    <InsufficientSamplesIntervalSeconds>28800</InsufficientSamplesIntervalSeconds>
    <StateAttribute1Mask>[null]</StateAttribute1Mask>
    <FailureCategoryMask>0</FailureCategoryMask>
    <ComponentName>ServiceComponents/HubTransport/High</ComponentName>
    <StateTransitionsXml>[null]</StateTransitionsXml>
    <AllowCorrelationToMonitor>0</AllowCorrelationToMonitor>
    <ScenarioDescription>[null]</ScenarioDescription>
    <SourceScope>[null]</SourceScope>
    <TargetScopes>[null]</TargetScopes>
    <Version>65536</Version>
    </EventXML>
    </UserData>
    </Event>

  • Start and stop error for performance counter in Perfmon of Windows server 2008

    Dear All,
    There is a centralized monitoring server to monitor a few Windows server 2003.
    There is a error when I start the performance counter for remote servers.
    But it can be started again after 10 seconds.
    Error:
    When attempting to start the Data Collector Set the following system error occured:
    The process cannot access the file because it is being used by another process.
    Another issue is I cannot start or stop the performance counter in command line (logman.exe) after 1 month.
    The error message is similar to the above, it mentioned something is using the files.
    I have to reboot my server.
    I don't know how can I find out the root cause.
    Please help.
    Regards,
    Tommy Chan

     
    Dear Tommy,
    This issue may be caused by certain programs running in the background.
    If it is convenience for you to restart the server, you can do that and test the result.
    If the issue persists, you can try a Clean Boot.
    Clean boot
    =================
    Let’s disable all startup items and third party services when booting. This method will help us determine if this issue is caused by a loading program or service. Please perform the following steps:
    1. Click the Start Button type "msconfig" (without quotation marks) in the Start Search box, and then press Enter.
    Note: If prompted, please click Continue on the User Account Control (UAC) window.
    2. Click the "Services" tab, check the "Hide All Microsoft Services" box and click "Disable All" (if it is not gray).
    3. Click the "Startup" tab, click "Disable All" and click "OK".
    Then, restart the computer. When the "System Configuration Utility" window appears, please check the "Don't show this message or launch the System Configuration Utility when Windows starts" box and click OK.
    Please test this issue in the Clean Boot environment, if the issue disappears in the Clean Boot environment, we can use a 50/50 approach to quickly narrow down which entry is causing the issue.
    If the issue still occurs, we may need to collect some trace information of the error message by using Process Monitor.
    1. Download process monitor from the link given here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    2. Run the process monitor on the problematic server:
    3. Start Process Monitor. You will see File/Registry activity is being captured.
    4. Press Ctrl+E to stop logging data.
    5. Press Ctrl+X to clear the currently captured data.
    6. Under Process Monitor, press Ctrl+E to start gathering data.
    7. Now try to reproduce the issue: Start or stop the performance counter in command line to let the error message appear again.
    8. Under Process Monitor, Press Ctrl+E to stop capturing.
    9. Please save the captured data from Process Monitor to a file (File->Save) and upload this file to the following site:
    https://sftus.one.microsoft.com/choosetransfer.aspx?key=626b99a0-c31f-4cd9-9fec-5e0597adef20
    Password: i#qil_O$Q[
    Please also collect the Process Explorer log on the problematic client:
    1. Run the process monitor on the problematic client:
    2. Start Process Monitor. You will see File/Registry activity is being captured.
    3. Press Ctrl+E to stop logging data.
    4. Press Ctrl+X to clear the currently captured data.
    5. Under Process Monitor, press Ctrl+E to start gathering data.
    6. Now try to reproduce the issue: Start or stop the performance counter in command line on the server to let the error message appear again.
    7. Under Process Monitor, Press Ctrl+E to stop capturing.
    8. Please save the captured data from Process Monitor to a file (File->Save) and upload it to the above site as well.
    Tim Quan - MSFT

  • Performance counter in storport?

    Hello,
    I would like to expose a custom performance counter from a storport driver. Can i just use kcs.h or do i have to plumb it through in a different way?

    No, you don't use kcs at all, that is a simple sample.  Take a look at SCSI_WMI_REQUEST_BLOCK
    https://msdn.microsoft.com/en-us/library/windows/hardware/ff565393(v=vs.85).aspx  WMI is the way to setup custom counters, and this structure is what is passed in for them.  You probably want to take a look at
    https://msdn.microsoft.com/en-us/library/windows/hardware/ff567452(v=vs.85).aspx which describes the callback.
    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

  • The requested Performance Counter is not a custom counter...

    Hello All,
    I'm very new to both Oracle & .NET/IIS, and I am having trouble configuring one of my five IIS6/Win2003 servers. I have successfully deployed the same code on three other servers, each with the same ODAC (11.1.0.5.10 Beta) installation. Using sqlplus, I've been able to validate the connection to my db. There is even code using an older Oracle driver in part of the codebase that connects and works fine with the db, but I can't get my ODAC-reliant code to work.
    When I try to access the code that uses ODAC, I get the error below.
    Thanks in advance for any clues at all!
    - Jason
    The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    Source Error:
    Line 7: // Code that runs on application startup
    Line 8:
    Line 9: DashboardBusiness.WorkflowHelper.Init();
    Line 10: }
    Line 11:
    Source File: d:\Inetpub\hhh.net\shared\iHHH\Dashboard\Global.asax Line: 9
    Stack Trace:
    [InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.]
    System.Diagnostics.PerformanceCounter.Initialize() +1232
    System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly) +110
    System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name) +70
    System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.OnStarted() +220
    System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e) +11
    System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0
    System.Workflow.Runtime.WorkflowRuntime.StartRuntime() +835
    DashboardBusiness.WorkflowHelper.Init() +95
    ASP.global_asax.Application_Start(Object sender, EventArgs e) in d:\Inetpub\hhh.net\shared\iHHH\Dashboard\Global.asax:9
    Version Information: Microsoft .NET Framework Version:2.0.50727.1378; ASP.NET Version:2.0.50727.1378

    I've never seen this error in the context of trying to connect via ODP.NET or ODT.
    If you have Oracle Dev Tools for Visual Studio installed, you can try to create a connection to the database using Server Explorer. If this works, that means your ODP.NET connection is just fine.
    If you don't have VS or the tools, another thing you can try is connecting through ODP.NET using a simple OracleConnection.Open. Make sure you have your client set up to connect to the DB server.
    Here's some info about connecting to the DB:
    http://download.oracle.com/docs/html/B28089_01/featConnecting.htm#sthref101

  • How to resolve "Performance counter registry hive consistency check" failed?

    I want to install SQL Server 2008 November CTP Developer Enu. When "System Configuration Check" it shows:
    Rule "Performance counter registry hive consistency check" failed.
    The performance counter registry hive is corrupted.
    And cannot continue installing. How to solve this problem?

    I've actually solved the problem for my Vista and Win 7 (traditional chinese version).
    After revising %systemroot%\system32\WmiApRpl.ini:
    "[info]
    drivername=WmiApRpl
    symbolfile=WmiApRpl.h 
    [languages]
    004=Chinese (Traditional)
    009=English
    [objects]
    WMI_Objects_004_NAME=WMI Objects
    WMI_Objects_009_NAME=WMI Objects
    MSiSCSI_ConnectionStatistics_00000_004_NAME=iSCSI Connections
    MSiSCSI_ConnectionStatistics_00000_009_NAME=MSiSCSI_ConnectionStatistics
    MSiSCSI_InitiatorInstanceStatistics_00001_004_NAME=iSCSI Initiator Instance
    MSiSCSI_InitiatorInstanceStatistics_00001_009_NAME=MSiSCSI_InitiatorInstanceStatistics
    MSiSCSI_InitiatorLoginStatistics_00002_004_NAME=iSCSI Initiator Login statistics
    MSiSCSI_InitiatorLoginStatistics_00002_009_NAME=MSiSCSI_InitiatorLoginStatistics
    MSiSCSI_MMIPSECStats_00003_004_NAME=iSCSI HBA Main Mode IPSEC Statistics
    MSiSCSI_MMIPSECStats_00003_009_NAME=MSiSCSI_MMIPSECStats
    MSiSCSI_NICPerformance_00004_004_NAME=MSiSCSI_NICPerformance
    MSiSCSI_NICPerformance_00004_009_NAME=MSiSCSI_NICPerformance
    MSiSCSI_QMIPSECStats_00005_004_NAME=iSCSI HBA Quick Mode IPSEC Statistics
    MSiSCSI_QMIPSECStats_00005_009_NAME=MSiSCSI_QMIPSECStats
    MSiSCSI_RequestTimeStatistics_00006_004_NAME=iSCSI Request Processing Time
    MSiSCSI_RequestTimeStatistics_00006_009_NAME=MSiSCSI_RequestTimeStatistics
    MSiSCSI_SessionStatistics_00007_004_NAME=iSCSI Sessions
    MSiSCSI_SessionStatistics_00007_009_NAME=MSiSCSI_SessionStatistics
    ProcessorPerformance_00008_004_NAME=處理器效能
    ProcessorPerformance_00008_009_NAME=ProcessorPerformance
    Video_Scheduler_Statistics_00009_004_NAME=Video Scheduler
    Video_Scheduler_Statistics_00009_009_NAME=Video_Scheduler_Statistics"
    I have realized that the code 009 is for english language and 004 for chinese traditional and in my "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
    NT\CurrentVersion\Perflib" did only exist 009 and 0404 key.
    Hence, i've created a new 004 key and copied 009 counter and help contents to this newly created key.
    Without restarting the OS, I was able to install smoothly MS SQL server express RC2.
    I'm so happy to have overcome this problem.
    But just out of curiosity does anyone know the syntax for the language codes? (009 for English, 004 for Chinese and 0404?

Maybe you are looking for

  • Life after Calendar Conversion

    I posted this in the Snow Leopard and MobileMe forums but it may have some relevance here too. Like at least a few of you, I waited until the very last minute before converting my MM calendar.  I had been following the trials and tribulations of ever

  • OS X 10.5.2 won't create alias with icon preview

    I have successfully been able to create alias copies of .NEF and .JPG files. The original files have the "icon preview" of the actual image. However, when I create the alias, I only get the "blank page" with the curved arrow in the lower left corner.

  • I went on a website, then another window opened and said i had a virus. how do i get rid of the virus.

    I was just browsing on the internet. opened a website called watch32.com and another window opened saying i have a virus. i have done a scan using clamXav and it says that there is no infected files but when i go to the console it says the know virus

  • Concensus Approval

    Please note that i know how to setup AP Approval workflow and i didnt find sth cleared in the manauals to build parallel approval with Concensus ... i already built the parallel approval and its working when you choose first responder wins but i want

  • " is missing - FCP can't see file name to reconnect it

    I have moved a large amount of files assuming I could easily reconnect using media manager. It now says " is missing and seems unable to see that I have 100s of named files to import. The only solution I have is going through each file one by one and