{"id":863,"date":"2016-03-30T14:09:39","date_gmt":"2016-03-30T12:09:39","guid":{"rendered":"http:\/\/dety.net.ua\/?p=863"},"modified":"2016-03-30T14:09:39","modified_gmt":"2016-03-30T12:09:39","slug":"sysprep-your-windows-os-for-more-than-3-times","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=863","title":{"rendered":"Sysprep your Windows OS for more than 3 times"},"content":{"rendered":"<p>Copy-pasted from: <a href=\"http:\/\/system-center.me\/miscellaneous\/sysprep-your-windows-os-for-more-then-3-times\/\" target=\"_blank\">http:\/\/system-center.me\/miscellaneous\/sysprep-your-windows-os-for-more-then-3-times\/<\/a><\/p>\n<p>It can happen, the need of re-syspreping an already syspreped machine, why ? maybe you lost your Image master. so.. you\u00a0running the setup process, adding the changes you want, relocating the XML answerfile, running the sysprep with \/generalize switch.. the process is running for few seconds and then the sysprep window is disappeared. well.. open the sysprep log file under \\sysprep\\Panther \u2026 there you will find setup error log, if the logfile contains this line :<\/p>\n<blockquote><p>Date Time, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn\u2019t update the recorded state, dwRet = 31<\/p><\/blockquote>\n<p>then Microsoft say\u2026 \u201cHey dude, bummer\u2026, <a href=\"http:\/\/support.microsoft.com\/kb\/947212\" target=\"_blank\">re-create the whole image<\/a>\u201c.<\/p>\n<p>well\u2026 it\u2019s not so true\u2026 this error indicates that you syspreped the machine more then 3 times, you cant do that\u2026 if the windows system was already activated by pre OEM activation you cant even re-arm the machine.. so you have 2 problems, one \u2013 can\u2019t sysprep anymore and probably you can\u2019t re-arm your machine (it wont let you sysprep if you cant re-arm..).<\/p>\n<p>so, first check if you can re-arm by runing the <em>slmgr.vbs \/dlv<\/em> and check the re-arm counter, if it set to zero.. you need to do the following : <a href=\"http:\/\/support.microsoft.com\/kb\/929828\">http:\/\/support.microsoft.com\/kb\/929828<\/a> (set the &lt;SkipRearm&gt;1&lt;\/SkipRearm&gt; like in the example, note: this option will make the product key window to appear in the setup process).<\/p>\n<p>you can also try running : slmgr.vbs \u2013rearm, to rearm Windows.<\/p>\n<p>after that, let\u2019s come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :<\/p>\n<blockquote><p>HKEY_LOCAL_MACHINE\\SYSTEM\\Setup\\Status\\SysprepStatus\\GeneralizationState\\<\/p>\n<p>CleanupState:2<br \/>\nHKEY_LOCAL_MACHINE\\SYSTEM\\Setup\\Status\\SysprepStatus\\GeneralizationState\\<\/p>\n<p>GeneralizationState:7<\/p><\/blockquote>\n<p>After done with the registry, do the following :<\/p>\n<ol>\n<li>Start -&gt; Run : msdtc -uninstall (wait few seconds)<\/li>\n<li>Start -&gt; Run : msdtc -install (wait few seconds)<\/li>\n<li>Restart the machine<\/li>\n<li>Check the registry for the right registry keys values<\/li>\n<li>sysprep with the new XML answerfile.<\/li>\n<li>and.. Walla !<\/li>\n<li>Have fun.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Copy-pasted from: http:\/\/system-center.me\/miscellaneous\/sysprep-your-windows-os-for-more-then-3-times\/ It can happen, the need of re-syspreping an already syspreped machine, why ? maybe you lost your Image master. so.. you\u00a0running the setup process, adding the changes you want, relocating the XML answerfile, running the sysprep with \/generalize switch.. the process is running for few seconds and then the sysprep window is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-863","post","type-post","status-publish","format-standard","hentry","category-novosti","category-windows"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=863"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/863\/revisions"}],"predecessor-version":[{"id":864,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/863\/revisions\/864"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}