{"id":422,"date":"2007-12-21T14:52:53","date_gmt":"2007-12-21T14:52:53","guid":{"rendered":"https:\/\/out.cat\/?p=418"},"modified":"2007-12-21T14:52:53","modified_gmt":"2007-12-21T14:52:53","slug":"%e8%bd%ac%e8%b4%b4xp%e7%9b%97%e7%89%88%e5%8f%98%e6%ad%a3%e7%89%88%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/out.cat\/?p=422","title":{"rendered":"[\u8f6c\u8d34]XP\u76d7\u7248\u53d8\u6b63\u7248\u7684\u65b9\u6cd5"},"content":{"rendered":"<p>\u590d\u5236\u4ee5\u4e0b\u5185\u5bb9\u5230\u6587\u672c\u6587\u6863<br \/>\nON ERROR RESUME NEXT<br \/>\nDim VOL_PROD_KEY<br \/>\nif Wscript.arguments.count&lt;1 then<br \/>\nVOL_PROD_KEY=InputBox(&#8220;\u5e38\u5fb7\u7ef4\u4fee\u7f51\u7248\u6743\u6240\u6709 www.t522.com&#8221;&amp;vbCr&amp;vbCr&amp;&#8221; \u672c\u7a0b\u5e8f\u5c06\u81ea\u52a8\u66ff\u6362\u4f60\u5f53\u524d Windows \u7684\u5e8f\u5217\u53f7,\u901a\u8fc7\u5fae\u8f6f\u9a8c\u8bc1\u5b8c\u5168\u6b63\u7248\u3002&#8221;&amp;vbCr&amp;vbCr&amp;&#8221;\u5e8f\u5217\u53f7(OEM\u7248\u65e0\u6548,\u9ed8\u8ba4\u7248\u672c\u4e3a XP VLK)\uff1a&#8221;,&#8221;Windows XP\u5e8f\u5217\u53f7\u81ea\u52a8\u66f4\u6362\u5668&#8221;,&#8221;MRX3F-47B9T-2487J-KWKMF-RPWBY&#8221;)<br \/>\nif VOL_PROD_KEY=&#8221;&#8221; then<br \/>\nWscript.quit<br \/>\nend if<br \/>\nelse<br \/>\nVOL_PROD_KEY = Wscript.arguments.Item(0)<br \/>\nend if<br \/>\nVOL_PROD_KEY = Replace(VOL_PROD_KEY,&#8221;-&#8220;,&#8221;&#8221;) &#8216;remove hyphens if any<br \/>\nfor each Obj in GetObject(&#8220;winmgmts:{impersonationLevel=impersonate}&#8221;).InstancesOf (&#8220;win32_WindowsProductActivation&#8221;)<br \/>\nresult = Obj.SetProductKey (VOL_PROD_KEY)<br \/>\nif err = 0 then<br \/>\nWscript.echo &#8220;OK\uff01\u53bb\u5fae\u8f6f\u9a8c\u8bc1\u5427\uff01&#8221;<br \/>\nend if<br \/>\nif err &lt;&gt; 0 then<br \/>\nWscript.echo &#8220;\u66ff\u6362\u5931\u8d25\uff01\u8f93\u5165\u7684 CD-KEY \u4e0e\u5f53\u524d\u7684\u7248\u672c\u4e0d\u5339\u914d\u3002&#8221;<br \/>\nErr.Clear<br \/>\nend if<br \/>\nNext<br \/>\n\u7136\u540e\u628a\u540d\u79f0\u6539\u4e3akey.vbs\u70b9\u51fb\u52a0\u5165\u5373\u53ef\u53bb\u5fae\u8f6f\u6b63\u7248\u9a8c\u8bc1\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u590d\u5236\u4ee5\u4e0b\u5185\u5bb9\u5230\u6587\u672c\u6587\u6863 ON E&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[44,603,601,602],"class_list":["post-422","post","type-post","status-publish","format-standard","hentry","category-2","tag-windows","tag-603","tag-601","tag-602"],"_links":{"self":[{"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/posts\/422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=422"}],"version-history":[{"count":0,"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/posts\/422\/revisions"}],"wp:attachment":[{"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}