{"id":481,"date":"2013-03-26T17:31:19","date_gmt":"2013-03-26T16:31:19","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=481"},"modified":"2013-06-26T13:14:50","modified_gmt":"2013-06-26T11:14:50","slug":"windows-vista-cannot-install-service-pack-2","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-vista-cannot-install-service-pack-2\/","title":{"rendered":"Windows Vista: Cannot install Service Pack 2"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_481 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_481')){$('.twoclick_social_bookmarks_post_481').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%20Vista%3A%20Cannot%20install%20Service%20Pack%202\",\"the_excerpt\":\"Hello%2C%0D%0A%0D%0Aa%20customer%20had%20the%20problem%20that%20he%20couldn%27t%20install%20the%20Windows%20Vista%20Service%20Pack%202%20on%20his%20Laptop.%20Service%20Pack%201%20seems%20to%20be%20installed%2C%20but%20the%20Service%20Pack%202%20Setup%20says%20it%20isn%27t.%0D%0A%0D%0A%0D%0A%0D%0AI%20processed%20a%20query%20by%20using%20the%20WMI%20Command%20line%20tool%20and%20filtered%20for%20Service%20pack%201%20%28Hotfixnumber%20KB936330%29.%0D%0A%0D%0Awmic%20qfe%7Cfindstr%20%2FI%20936330%0D%0A%0D%0ABut%20in%20the%20list%20of%20installed%20hotfixes%20KB936330%20is%20no%20...\",\"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-vista-cannot-install-service-pack-2\\\/\",\"post_id\":481,\"post_title_referrer_track\":\"Windows+Vista%3A+Cannot+install+Service+Pack+2\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hello,<\/p>\n<p>a customer had the problem that he couldn&#8217;t install the Windows Vista Service Pack 2 on his Laptop. Service Pack 1 seems to be installed, but the Service Pack 2 Setup says it isn&#8217;t.<\/p>\n<figure id=\"attachment_511\" aria-describedby=\"caption-attachment-511\" style=\"width: 439px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-511 \" alt=\"Service Pack 2 Setup do not recognize Service Pack 1\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-1.png\" width=\"439\" height=\"353\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-1.png 549w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-1-300x240.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/a><figcaption id=\"caption-attachment-511\" class=\"wp-caption-text\">Service Pack 2 Setup do not recognize Service Pack 1<\/figcaption><\/figure>\n<p>I processed a query by using the WMI Command line tool and filtered for Service pack 1 (Hotfixnumber KB936330).<br \/>\n<code><br \/>\nwmic qfe|findstr \/I 936330<br \/>\n<\/code><br \/>\nBut in the list of installed hotfixes KB936330 is not listed. WinVer.exe reports a Vista with Service Pack 1 installed.<\/p>\n<figure id=\"attachment_512\" aria-describedby=\"caption-attachment-512\" style=\"width: 343px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-512 \" alt=\"WinVer report\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-2.png\" width=\"343\" height=\"338\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-2.png 429w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/03\/VistaSP2-2-300x295.png 300w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/a><figcaption id=\"caption-attachment-512\" class=\"wp-caption-text\">WinVer report<\/figcaption><\/figure>\n<p><!--more--><br \/>\nI was confused. Maybe Service Pack 1 wasn&#8217;t installed properly. I started the Service Pack 1 installation again but Microsoft do not provide any command line option for repairing a corrupt or incomplete service pack installation. Setup simply says that Service pack 1 is already installed. Also a deinstallation is impossible because the Hotfix is not listed in the installed update list.<\/p>\n<p>I had to determine on which basis the service pack 2 installer recognize an installed service pack 1.<\/p>\n<p>I started Microsofts ProcessMonitor and traced what happen when the Service Pack 2 Setup starts to see which values were requested. A simple filter set to 936330 lists 2 suspicious registry keys:<br \/>\n<code><br \/>\nWindows Registry Editor Version 5.00<\/code><br \/>\n<code><br \/>\n[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Component Based Servicing\\Packages\\KB936330~31bf3856ad364e35~x86~~6.0.1.18000]<\/code><code><br \/>\n\"CurrentState\"=dword:00000004<br \/>\n[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Component Based Servicing\\Packages\\KB936330~31bf3856ad364e35~x86~en-US~6.0.1.18000]<br \/>\n\"CurrentState\"=dword:00000004<\/code><\/p>\n<p>In both keys there is the value &#8220;CurrentState&#8221; which is set to 4. I took a look on other Packages and their CurrentState is 7.<\/p>\n<p>Trying to change he values returned access denied. So I had to take over the ownership of both keys and subcontainers and grant full control permissions to me.<\/p>\n<p><code><br \/>\nWindows Registry Editor Version 5.00<\/code><br \/>\n<code><br \/>\n[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Component Based Servicing\\Packages\\KB936330~31bf3856ad364e35~x86~~6.0.1.18000]<br \/>\n\"CurrentState\"=dword:00000007<br \/>\n[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Component Based Servicing\\Packages\\KB936330~31bf3856ad364e35~x86~en-US~6.0.1.18000]<br \/>\n\"CurrentState\"=dword:00000007<\/code><br \/>\nI changed both values to 7 and started the setup again. Now Service pack 1 was recognized as installed and service pack 2 was applied successfully:-)<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, a customer had the problem that he couldn&#8217;t install the Windows Vista Service Pack 2 on his Laptop. Service Pack 1 seems to be installed, but the Service Pack 2 Setup says it isn&#8217;t. I processed a query by using the WMI Command line tool and filtered for Service pack 1 (Hotfixnumber KB936330). wmic &hellip; <a href=\"https:\/\/michlstechblog.info\/blog\/windows-vista-cannot-install-service-pack-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows Vista: Cannot install Service Pack 2<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[113,119,116,117,118,115,114,112],"class_list":["post-481","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-cannot-install","tag-install","tag-kb936330","tag-kb948465","tag-need","tag-not-recognized","tag-service-pack-1","tag-service-pack-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/481","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=481"}],"version-history":[{"count":19,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"predecessor-version":[{"id":769,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/481\/revisions\/769"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}