Warning: Creating default object from empty value in /home/platne/serwer68747/public_html/blog.porowski.pro/wp-content/themes/smartblog/framework/admin/redux-framework/inc/class.redux_filesystem.php on line 29
2015 | Dariusz Porowski {Tech} Blog
Top Menu

Yearly Archives 2015

Suddenly in one of my customers, Service Management Automation (SMA) service has stopped. After quick basic infrastructure review (like SQL connection, networking, etc) everything looks good. In event log I observed error with Event ID 2222 and below description:

The service exited. The Runbook Worker Service (rbsvc) service on machine ServerName is not in the current deployment.


After small investigation and troubleshooting, the issue was license expiration (after 180 days running in trial). To fix this issue, just apply System Center license key to SMA using below PowerShell script:

$WebServiceEndpoint = 'https://localhost'
Set-SmaLicense -ProductKey $ProductKey -WebServiceEndpoint $WebServiceEndpoint

To summarize above:

  • Symptom
    • SMA service (rbsvc) does not want to start and generate Event ID 2222
  • Cause
    • License expiration after 180 days of trial
  • Solution

Couple of days ago on Microsoft Virtual Academy was published deep dive course about Hyper-V in upcoming Windows Server 2016 (about 6 hours of great content). The course is led by Matt McSpirit – Technical Evangelist at Microsoft (@mattmcspirit) and Ben Armstrong (@VirtualPCGuy) – Principal Program Manager Lead on the core virtualization team at Microsoft. I just done it and it’s awesome! I highly recommend it! 🙂 What you learn in this course:

  • Learn about Hyper-V and how the new release forms the Microsoft Datacenter Platform foundation.
  • Explore recommended resources to help you continue your learning around Windows Server 2016.
  • Learn how Windows Server and Hyper-V Containers differ from VMs and how to put them to use.
  • Find out how you can seamlessly upgrade to the next version of Windows Server.
  • Learn about Hyper-V features that now light up with Linux guests.
  • Learn about new features that provide increased redundancy and improved availability.
  • Explore a number of new Hyper-V and Windows Server 2016 features that make an IT Pro’s life easier.
  • Learn about isolation capabilities which can help protect against malware.
  • Explore some of the new and powerful Windows Server 2016 virtual machine (VM) security capabilities.
  • Explore a new Windows Server deployment option, Nano Server, and how it is used as a Hyper-V host.
  • Explore some of the improvements which help ensure that Hyper-V operates better at scale.

See the course on MVA – Windows Server 2016: Virtualization Deep Dive

One of the best practices is run Windows Azure Pack Application Pools on dedicated account. WAP has quite a lot Application Pools and changing each manually is not very comfortable. You can do bulk change using below PowerShell script (Assumption: You use the same identity for each AppPool).

### Change the variables to fit your environment
$userName = "domain\username"
$password = "password"

### Let's start the party!
Import-Module WebAdministration
$appPools = Get-ChildItem IIS:\AppPools | where { $_.Name -like "MgmtSvc-*" }
foreach($appPool in $appPools)
    $appPool.processModel.userName = $userName
    $appPool.processModel.password = $password
    $appPool.processModel.identityType = 3
    $appPool | Set-Item
    $name = $appPool.name
    Write-Host "$name updated..." -ForegroundColor Green
Write-Host "Done!" -ForegroundColor Yellow

Of course you can easily customize the script to other things than the WAP by changing the condition 🙂

Update Rollup 8 for System Center 2012 R2 (KB3096378) released ! This time new features and bug fixes cover below components:


  1. First test everything in your test or lab environment, before you deploy an Update Rollup in production environment!
  2. Before you deploy UR8, make sure you applied previous UR releases. You need to keep installation order of UR releases. First install previous releases, if you have not already done.
  3. Make sure you will plan right upgrade sequencing in your production environment. Before it, read this TechNet article: Upgrade Sequencing for System Center 2012 R2.

Happy upgrading 🙂