{"id":1570,"date":"2015-03-25T08:35:20","date_gmt":"2015-03-25T08:35:20","guid":{"rendered":"http:\/\/andyparkes.co.uk\/blog\/?p=1570"},"modified":"2015-03-25T09:24:20","modified_gmt":"2015-03-25T09:24:20","slug":"adding-roles-and-features-to-an-offline-virtual-machine","status":"publish","type":"post","link":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/","title":{"rendered":"Adding Roles and Features To an Offline Virtual Machine"},"content":{"rendered":"<p>A few days ago I restarted a virtual machine and was presented with the message.<\/p>\n<blockquote>\n<p><strong>We couldn&#8217;t complete the updates <\/strong><\/p>\n<p><strong>Undoing changes<\/strong><\/p>\n<p><strong>Don\u2019t turn off your computer<\/strong>&#160;<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/chnages.png\"><img loading=\"lazy\" decoding=\"async\" title=\"chnages\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 7px 12px 7px 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"chnages\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/chnages_thumb.png\" width=\"531\" height=\"195\" \/><\/a><\/p>\n<p>Very helpful.<\/p>\n<p>The server just sat there for ages, apparently doing nothing. <\/p>\n<p>After a brief search I came across <a href=\"https:\/\/social.technet.microsoft.com\/Forums\/windowsserver\/en-US\/e58c8b30-b91a-4d90-a1b5-8859ffc3b92c\/kb2920189-fails-to-install-on-generation-2-vms?forum=winserverhyperv\" class=\"broken_link\">a post on the Microsoft forums<\/a> that indicated an update was giving some problems (<a href=\"http:\/\/support.microsoft.com\/en-us\/kb\/2920189\">KB2920189<\/a>)<\/p>\n<p>One of the suggested actions was to disable secure boot, start the virtual machine, allow the update to install and then re-enable secure boot. <\/p>\n<p>It\u2019s a Windows 2012 R2 Gen2 virtual machine so it had that option. <\/p>\n<p>I turned it off but this didn\u2019t doing anything. <\/p>\n<p>A further post on the forum pointed to a <a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2962824\">known issue with that update<\/a>. The fix for that is to install the BitLocker features as the update is looking it. You don\u2019t need to encrypt any drives, just have the feature installed. My specific problem wasn\u2019t exactly described in that article but it wouldn\u2019t hurt to add the feature and find out.<\/p>\n<p>But how to do that if the server won\u2019t even boot?<\/p>\n<p>Well as the title probably already suggests you can do this with a virtual machine when it\u2019s offline. <\/p>\n<p>Shut the virtual machine down<\/p>\n<p>Start server manager and select the \u201cAdd roles and features\u201d option<\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image5.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 7px 12px 7px 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image_thumb5.png\" width=\"506\" height=\"219\" \/><\/a><\/p>\n<p>Click through the first couple of pages on the wizard until you get the server selection page.<\/p>\n<p>From here you need the \u201cSelect a virtual hard\u201d option at the top of the screen<\/p>\n<p>Then choose the virtual hard disk that has your operating system at the bottom of the screen. <\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image6.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 7px 12px 7px 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image_thumb6.png\" width=\"557\" height=\"290\" \/><\/a><\/p>\n<p>From here it\u2019s exactly the same as method to add a role or feature as normal.<\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image7.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 7px 12px 7px 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image_thumb7.png\" width=\"566\" height=\"294\" \/><\/a><\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image8.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 7px 12px 7px 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/image_thumb8.png\" width=\"566\" height=\"294\" \/><\/a><\/p>\n<p>After that i started the machine, the update installed and all was good. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few days ago I restarted a virtual machine and was presented with the message. We couldn&#8217;t complete the updates Undoing changes Don\u2019t turn off your computer&#160; Very helpful. The server just sat there for ages, apparently doing nothing. After a brief search I came across a post on the Microsoft forums that indicated an<\/p>\n<p><a class=\"readmore\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/\"><span class=\"arrow-right icon\"><\/span>Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[132,119],"tags":[],"class_list":["post-1570","post","type-post","status-publish","format-standard","hentry","category-hyper-v-2","category-windows-server-2012"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding Roles and Features To an Offline Virtual Machine - Andy&#039;s Techie Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding Roles and Features To an Offline Virtual Machine - Andy&#039;s Techie Blog\" \/>\n<meta property=\"og:description\" content=\"A few days ago I restarted a virtual machine and was presented with the message. We couldn&#8217;t complete the updates Undoing changes Don\u2019t turn off your computer&#160; Very helpful. The server just sat there for ages, apparently doing nothing. After a brief search I came across a post on the Microsoft forums that indicated anRead More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/\" \/>\n<meta property=\"og:site_name\" content=\"Andy&#039;s Techie Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-25T08:35:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-25T09:24:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/chnages_thumb.png\" \/>\n<meta name=\"author\" content=\"Andy Parkes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy Parkes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/\",\"name\":\"Adding Roles and Features To an Offline Virtual Machine - Andy&#039;s Techie Blog\",\"isPartOf\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\"},\"datePublished\":\"2015-03-25T08:35:20+00:00\",\"dateModified\":\"2015-03-25T09:24:20+00:00\",\"author\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\"},\"breadcrumb\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/andyparkes.co.uk\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding Roles and Features To an Offline Virtual Machine\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/\",\"name\":\"Andy&#039;s Techie Blog\",\"description\":\"Professional Geek\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\",\"name\":\"Andy Parkes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"caption\":\"Andy Parkes\"},\"description\":\"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.\",\"sameAs\":[\"http:\/\/www.andyparkes.co.uk\/blog\"],\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding Roles and Features To an Offline Virtual Machine - Andy&#039;s Techie Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/","og_locale":"en_US","og_type":"article","og_title":"Adding Roles and Features To an Offline Virtual Machine - Andy&#039;s Techie Blog","og_description":"A few days ago I restarted a virtual machine and was presented with the message. We couldn&#8217;t complete the updates Undoing changes Don\u2019t turn off your computer&#160; Very helpful. The server just sat there for ages, apparently doing nothing. After a brief search I came across a post on the Microsoft forums that indicated anRead More","og_url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/","og_site_name":"Andy&#039;s Techie Blog","article_published_time":"2015-03-25T08:35:20+00:00","article_modified_time":"2015-03-25T09:24:20+00:00","og_image":[{"url":"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2015\/03\/chnages_thumb.png"}],"author":"Andy Parkes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Parkes","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/","url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/","name":"Adding Roles and Features To an Offline Virtual Machine - Andy&#039;s Techie Blog","isPartOf":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#website"},"datePublished":"2015-03-25T08:35:20+00:00","dateModified":"2015-03-25T09:24:20+00:00","author":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d"},"breadcrumb":{"@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2015\/03\/25\/adding-roles-and-features-to-an-offline-virtual-machine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/andyparkes.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"Adding Roles and Features To an Offline Virtual Machine"}]},{"@type":"WebSite","@id":"https:\/\/andyparkes.co.uk\/blog\/#website","url":"https:\/\/andyparkes.co.uk\/blog\/","name":"Andy&#039;s Techie Blog","description":"Professional Geek","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d","name":"Andy Parkes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","caption":"Andy Parkes"},"description":"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.","sameAs":["http:\/\/www.andyparkes.co.uk\/blog"],"url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pmvJ6-pk","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1570"}],"version-history":[{"count":2,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1570\/revisions"}],"predecessor-version":[{"id":1580,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1570\/revisions\/1580"}],"wp:attachment":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}