{"id":72,"date":"2014-06-27T00:43:34","date_gmt":"2014-06-26T22:43:34","guid":{"rendered":"https:\/\/www.vioreliftode.com\/?p=72"},"modified":"2016-04-15T14:43:55","modified_gmt":"2016-04-15T12:43:55","slug":"windows-system-resource-manager-and-windows-server-2012-r2","status":"publish","type":"post","link":"https:\/\/www.vioreliftode.com\/index.php\/windows-system-resource-manager-and-windows-server-2012-r2\/","title":{"rendered":"Windows System Resource Manager and Windows Server 2012 R2"},"content":{"rendered":"<input class=\"fooboxshare_post_id\" type=\"hidden\" value=\"72\"\/><p><a href=\"http:\/\/technet.microsoft.com\/library\/hh831568.aspx\" target=\"_blank\">Features Removed or Deprecated in Windows Server 2012<br \/>\n<\/a><em>&#8220;<span style=\"color: #2a2a2a;\">Windows System Resource Manager (WSRM) is deprecated. Similar functionality is provided by Hyper-V.<\/span>&#8221;<br \/>\n<\/em><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dn303411.aspx\" target=\"_blank\">Features Removed or Deprecated in Windows Server 2012 R2<\/a><br \/>\n<span style=\"color: #2a2a2a;\">Windows Server Resource Manager * &#8211; marked as removed.<br \/>\n<\/span><em>* mistake on the Microsoft site. There is\u00a0no such feature (<\/em><span style=\"color: #2a2a2a;\"><em>Windows <span style=\"text-decoration: underline;\">Server<\/span> Resource Manager), but they refer to Windows <span style=\"text-decoration: underline;\">System<\/span> Resource Manager.<\/em><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>So, no more\u00a0<span style=\"color: #2a2a2a;\">Windows System Resource Manager on Windows Server 2012 R2, but as you will see later in this post there is still something we can do. It is ridiculous to see Microsoft finds\u00a0Hyper-V as replacement of WSRM (<em>providing similar functionality<\/em>). How does Microsoft thinks I can prioritize, or keep the Windows\u00a0<span style=\"text-decoration: underline;\">process<\/span> usage under control with Hyper-V? By making a VM per application and use the Hyper-V resource allocations? That means we have to\u00a0pay more!<br \/>\nI understand Hyper-V &amp; VDI can replace the clasical Terminal Server &amp; WSRM setup, but WSRM is not only used by the Remote Desktop Session Hosts (formerly TS).<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Anyway, we cannot install WSRM on Windows Server 2012 R2 using the &#8220;Add Roles and Features&#8221;, but this doesn&#8217;t stop us to manually deploy WSRM and still use it.<br \/>\nWhat I will explain next is step by step how to deploy WSRM and still use it with Windows Server 2012 R2. This configuration is NOT\u00a0supported by Microsoft, but if you are smart enough and know how WSRM works you will understand this setup is harmless. This setup has also some limitations, but those limitations are minor inconveniences compared with not having WSRM at all.<\/p>\n<p>&nbsp;<\/p>\n<p>1. You will need a Windows 2012 server (let&#8217;s name it sever A). On the Windows 2012 server (A) you will install and configure WSRM exactly how you would like to have it on the Windows 2012 R2 server (server B) where you would like to run it. At this step please define also the\u00a0Process Matching Criteria,\u00a0Resource Allocation Policies,\u00a0Calendar Events,\u00a0WSRM Properties.<\/p>\n<p>&nbsp;<\/p>\n<p>2. On the sever B you will have to add the Windows Internal Database feature. This feature is not required all the time. Some simple configurations of WSRM doesn&#8217;t even require it, but I am mentioning this step because I never know how complex your configuration is. <em>For example the <a title=\"Windows System Resource Manager and SharePoint 2013\" href=\"https:\/\/www.vioreliftode.com\/index.php\/windows-system-resource-manager-and-sharepoint-2013\/\" target=\"_blank\">WSRM configuration I use for my SharePoint test environment<\/a> doesn&#8217;t require the\u00a0Windows Internal Database.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_01.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-74 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_01-300x212.jpg\" alt=\"WSRM_W2012_R2_SETUP_01\" width=\"300\" height=\"212\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_01-300x212.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_01.jpg 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>3. On the server B you will need to\u00a0copy the\u00a0C:\\Windows\\System32\\Windows System Resource Manager folder from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_02.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-76 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_02-300x177.jpg\" alt=\"WSRM_W2012_R2_SETUP_02\" width=\"300\" height=\"177\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_02-300x177.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_02.jpg 862w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>4. On the server B you will need to copy\u00a0C:\\Windows\\System32\\wsrm.exe and\u00a0C:\\Windows\\System32\\WSRM.msc from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_03.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-77 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_03-300x174.jpg\" alt=\"WSRM_W2012_R2_SETUP_03\" width=\"300\" height=\"174\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_03-300x174.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_03.jpg 847w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>5. Import on the server B the [HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\Services\\WSRM] registry exported from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_04.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-78 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_04-300x176.jpg\" alt=\"WSRM_W2012_R2_SETUP_04\" width=\"300\" height=\"176\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_04-300x176.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_04.jpg 847w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>6. Import on the server B the [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\WSRM] registry exported from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_05.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-80 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_05-300x176.jpg\" alt=\"WSRM_W2012_R2_SETUP_05\" width=\"300\" height=\"176\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_05-300x176.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_05.jpg 849w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>7. Import on the server B the [HKEY_CLASSES_ROOT\\AppID\\{0643C58D-5861-4F0C-AE82-FC867CCEDD7A}] registry exported from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_06.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-82 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_06-300x176.jpg\" alt=\"WSRM_W2012_R2_SETUP_06\" width=\"300\" height=\"176\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_06-300x176.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_06.jpg 844w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>8. Import on the server B the [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MMC\\SnapIns\\FX:{585cee48-ce61-4a2c-a3b1-2ab794b6e311}] registry exported from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_07.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-83 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_07-300x175.jpg\" alt=\"WSRM_W2012_R2_SETUP_07\" width=\"300\" height=\"175\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_07-300x175.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_07.jpg 856w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>9. Import on the server B the [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MMC\\SnapIns\\FX:{723e46e7-fd90-43bb-a909-64ef13d744e0}] registry exported from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_08.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-86 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_08-300x175.jpg\" alt=\"WSRM_W2012_R2_SETUP_08\" width=\"300\" height=\"175\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_08-300x175.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_08.jpg 850w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>10. Import on the server B the [HKEY_CLASSES_ROOT\\CLSID\\{E8BCFFAC-B864-4574-B2E8-F1FB21DFDC18}] registry exported from server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_09.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-85 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_09-300x175.jpg\" alt=\"WSRM_W2012_R2_SETUP_09\" width=\"300\" height=\"175\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_09-300x175.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_09.jpg 844w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>11. Create \u00a0a new String Value registry in [HKEY_CLASSES_ROOT\\Local Settings\\MuiCache\\XXXX\\52C64B7E]\n<span style=\"line-height: 1.5;\">Value name:\u00a0<\/span><em style=\"line-height: 1.5;\">@%SystemRoot%\\system32\\wsrm.exe,-110<br \/>\n<\/em><span style=\"line-height: 1.5;\">Value data:\u00a0<\/span><em style=\"line-height: 1.5;\">Assigns computer resources to multiple applications running on Windows Server. If this service is stopped or disabled, no management will occur, no accounting data will be collected, and the administrator will not be able to use command-line controls to administer Windows System Resource Manager.<br \/>\n<\/em><em><a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_10.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-88 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_10-300x177.jpg\" alt=\"WSRM_W2012_R2_SETUP_10\" width=\"300\" height=\"177\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_10-300x177.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_10.jpg 851w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/em><\/p>\n<p>&nbsp;<\/p>\n<p>12. Restart your server.<\/p>\n<p>At this point we finished to manually deploy the WSRM on Windows Server 2012 R2.<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_11.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-90 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_11-300x183.jpg\" alt=\"WSRM_W2012_R2_SETUP_11\" width=\"300\" height=\"183\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_11-300x183.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_11.jpg 928w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Please keep in mind the existing WSRM.EXE denies all the MMC connections. Despite this limitation the WSRM process is running well &#8211; is applying the resource allocation policy as it was defined on the Server A.<br \/>\n<a href=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_12.jpg\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone wp-image-91 size-medium\" src=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_12-300x108.jpg\" alt=\"WSRM_W2012_R2_SETUP_12\" width=\"300\" height=\"108\" srcset=\"https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_12-300x108.jpg 300w, https:\/\/www.vioreliftode.com\/wp-content\/uploads\/2014\/06\/WSRM_W2012_R2_SETUP_12.jpg 471w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<em>Connecting to WSRM on the selected computer is not supported because its version is not compatible with your installation.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Yes, I know is frustrating to not be able to use the MMC console to control the WSRM directly on Windows Server 2012 R2, but keep in mind this is a minor inconvenience for a heavy WSRM user. The solution is simple &#8211; always have a Windows Server 2012 machine where WSRM is installed. On that machine define the Resource Allocation Policies as you need, export the configuration settings (please make sure you export everything &#8211; select all the check boxes), on the R2 server stop the WSRM windows service, copy the WSRM export configuration files to\u00a0C:\\Windows\\System32\\Windows System Resource Manager\\data and after that restart the WSRM service.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Features Removed or Deprecated in Windows Server 2012 &#8220;Windows System Resource Manager (WSRM) is deprecated. Similar functionality is provided by Hyper-V.&#8221; Features Removed or Deprecated in Windows Server 2012 R2 Windows Server Resource Manager * &#8211; marked as removed. * mistake on the Microsoft site. There is\u00a0no such feature (Windows Server Resource Manager), but they &hellip; <a href=\"https:\/\/www.vioreliftode.com\/index.php\/windows-system-resource-manager-and-windows-server-2012-r2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows System Resource Manager and Windows Server 2012 R2<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[32],"tags":[37,31,30],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4NfDd-1a","_links":{"self":[{"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/posts\/72"}],"collection":[{"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vioreliftode.com\/index.php\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}