{"id":8886,"date":"2022-07-10T23:32:21","date_gmt":"2022-07-10T21:32:21","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=8886"},"modified":"2024-07-23T23:09:23","modified_gmt":"2024-07-23T21:09:23","slug":"windows-sysprep-error-machine-is-in-an-invalid-state-or-we-couldnt-update-the-recorded-state","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-sysprep-error-machine-is-in-an-invalid-state-or-we-couldnt-update-the-recorded-state\/","title":{"rendered":"Windows: Sysprep error &#8220;Machine is in an invalid state or we couldn&#8217;t update the recorded state.&#8221;"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_8886 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_8886')){$('.twoclick_social_bookmarks_post_8886').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Sysprep%20error%20%26%238220%3BMachine%20is%20in%20an%20invalid%20state%20or%20we%20couldn%26%238217%3Bt%20update%20the%20recorded%20state.%26%238221%3B\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Awhen%20during%20the%20execution%20of%20sysprep%20the%20error%20message%20%22A%20fatal%20error%20occured%20while%20trying%20to%20sysprep%20machine%22%20is%20shown%20check%20the%20setupact.log%20and%20setuperr.log%20in%20%22C%3A%5Cwindows%5Csystem32%5Csysprep%5Cpanther%22.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-sysprep-error-machine-is-in-an-invalid-state-or-we-couldnt-update-the-recorded-state\\\/\",\"post_id\":8886,\"post_title_referrer_track\":\"Windows%3A+Sysprep+error+%26%238220%3BMachine+is+in+an+invalid+state+or+we+couldn%26%238217%3Bt+update+the+recorded+state.%26%238221%3B\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>when during the execution of sysprep the error message &#8220;A fatal error occured while trying to sysprep machine&#8221; is shown check the <strong>setupact.log<\/strong> and <strong>setuperr.log<\/strong> in <strong>&#8220;C:\\windows\\system32\\sysprep\\panther&#8221;<\/strong>.<br \/>\n<!--more--><br \/>\n<figure id=\"attachment_8887\" aria-describedby=\"caption-attachment-8887\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2022\/07\/Sysprep_fatal_error.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2022\/07\/Sysprep_fatal_error-300x114.png\" alt=\"Sysprep fatal error\" width=\"300\" height=\"114\" class=\"size-medium wp-image-8887\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2022\/07\/Sysprep_fatal_error-300x114.png 300w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2022\/07\/Sysprep_fatal_error.png 329w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-8887\" class=\"wp-caption-text\">Sysprep fatal error<\/figcaption><\/figure><\/p>\n<p>This error can occure when the sysprep state of the machine is invalid. The state are saved in 2 registry keys<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; reg query HKLM\\System\\Setup\\status\\SysprepStatus\r\n\r\nHKEY_LOCAL_MACHINE\\System\\Setup\\status\\SysprepStatus\r\n    GeneralizationState    REG_DWORD    0x7\r\n    CleanupState           REG_DWORD    0x2\r\n\r\n<\/pre>\n<p>In an normal state these values are set as shown above. If not set it<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; reg add HKLM\\System\\Setup\\status\\SysprepStatus \/v GeneralizationState \/t REG_DWORD \/d 7 \/f\r\nD:\\&gt; reg add HKLM\\System\\Setup\\status\\SysprepStatus \/v CleanupState        \/t REG_DWORD \/d 2 \/f\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, when during the execution of sysprep the error message &#8220;A fatal error occured while trying to sysprep machine&#8221; is shown check the setupact.log and setuperr.log in &#8220;C:\\windows\\system32\\sysprep\\panther&#8221;.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[519,1869,128,20],"class_list":["post-8886","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fatal-error","tag-invalid-state","tag-sysprep","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=8886"}],"version-history":[{"count":6,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8886\/revisions"}],"predecessor-version":[{"id":9822,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8886\/revisions\/9822"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=8886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=8886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=8886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}