{"id":9376,"date":"2025-12-02T02:25:33","date_gmt":"2025-12-02T02:25:33","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=9376"},"modified":"2025-12-02T23:53:11","modified_gmt":"2025-12-02T23:53:11","slug":"iis-breaks-converting-hyper-v-iis-servers-to-vmware","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/iis-breaks-converting-hyper-v-iis-servers-to-vmware","title":{"rendered":"IIS breaks Converting Hyper V IIS servers to Vmware"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">iisreset \/stop\nnet stop cryptsvc<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\"># Take ownership temporarily (needed on some machines)\ntakeown \/F \"C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys\" \/R \/D Y\n\n# Reset permissions to defaults (this repairs the broken inheritance)\nicacls \"C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys\" \/reset \/T \/C \/Q\n\n# Explicitly re-add the required accounts with correct rights\nicacls \"C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys\" \/grant \"NETWORK SERVICE:(OI)(CI)(F)\" \/T\nicacls \"C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys\" \/grant \"IIS_IUSRS:(OI)(CI)(R,W,M)\" \/T\nicacls \"C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys\" \/grant \"SYSTEM:(OI)(CI)F\" \/T\nicacls \"C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys\" \/grant \"Administrators:(OI)(CI)F\" \/T<\/code><\/pre>\n\n\n\n<p>The new Machine will have two sets of Keys in &#8220;C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys&#8221;<\/p>\n\n\n\n<p>e.g.<\/p>\n\n\n\n<p>f686aace6942fb7f7b6d801628cd8692_&lt;old-machine-SID&gt; <\/p>\n\n\n\n<p>c475b7f03624e23d08b0e79e4f0c11fc_&lt;old-machine-SID&gt; <\/p>\n\n\n\n<p>f686aace6942fb7f7b6d801628cd8692_&lt;new-machine-SID&gt;<\/p>\n\n\n\n<p>c475b7f03624e23d08b0e79e4f0c11fc_&lt;new-machine-SID&gt;<\/p>\n\n\n\n<p>Backup files in  &#8220;C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys&#8221;<\/p>\n\n\n\n<p>Keep a copy of the &lt;new-machine-SID&gt;<\/p>\n\n\n\n<p>Delete the *__&lt;new-machine-SID&gt; files<\/p>\n\n\n\n<p>Rename the files *_&lt;old-machine-SID&gt; -&gt; *_&lt;new-machine-SID&gt; <\/p>\n\n\n\n<p>net start cryptsvc iisreset<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Also <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/12\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"813\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/12\/image-1-1024x813.png\" alt=\"\" class=\"wp-image-9384 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/12\/image-1-1024x813.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/12\/image-1-300x238.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/12\/image-1-768x610.png 768w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/12\/image-1.png 1078w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The new Machine will have two sets of Keys in &#8220;C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys&#8221; e.g. f686aace6942fb7f7b6d801628cd8692_&lt;old-machine-SID&gt; c475b7f03624e23d08b0e79e4f0c11fc_&lt;old-machine-SID&gt; f686aace6942fb7f7b6d801628cd8692_&lt;new-machine-SID&gt; c475b7f03624e23d08b0e79e4f0c11fc_&lt;new-machine-SID&gt; Backup files in &#8220;C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys&#8221; Keep a copy of the &lt;new-machine-SID&gt; Delete [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9376","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=9376"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9376\/revisions"}],"predecessor-version":[{"id":9385,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9376\/revisions\/9385"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=9376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=9376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=9376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}