{"id":129,"date":"2018-11-30T23:46:53","date_gmt":"2018-11-30T15:46:53","guid":{"rendered":"http:\/\/www.zhangyijun.com\/?p=129"},"modified":"2018-11-30T23:46:53","modified_gmt":"2018-11-30T15:46:53","slug":"windows-%e4%b8%80%e9%94%ae%e4%bf%ae%e5%a4%8dwindows%e5%86%85%e5%ad%98%e8%af%86%e5%88%ab%e9%94%99%e8%af%af-%e5%86%85%e5%ad%98%e8%af%86%e5%88%ab%e4%b8%8d%e5%85%a8%e7%ad%89%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.zhangyijun.com\/?p=129","title":{"rendered":"[ Windows ] \u4e00\u952e\u4fee\u590dWindows\u5185\u5b58\u8bc6\u522b\u9519\u8bef\/\u5185\u5b58\u8bc6\u522b\u4e0d\u5168\u7b49\u95ee\u9898"},"content":{"rendered":"<p>\t\t\t\thttps:\/\/moeclub.org\/2018\/11\/13\/685\/?v=462<\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u5b89\u88c5 Win7 EMB(Thin PC) \u65f6,\u6709\u65f6\u4f1a\u51fa\u73b0\u5185\u5b58\u8bc6\u522b\u9519\u8bef\u6216\u5185\u5b58\u8bc6\u522b\u4e0d\u5168\u7b49\u95ee\u9898.<br \/>\n\u6b64\u8865\u4e01\u53ef\u4ee5\u5c1d\u8bd5\u4fee\u590d\u6b64\u95ee\u9898.<br \/>\n<span id=\"more-685\"><\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><strong>\u4e00\u952e\u4fee\u590d<\/strong>\n<ol>\n<li>\u4e0b\u8f7d\u00a0<strong><u><a href=\"https:\/\/moeclub.org\/attachment\/WindowsSoftware\/PatchPAE.bat\" target=\"_blank\" rel=\"noopener noreferrer\">PatchPAE.bat<\/a><\/u><\/strong><\/li>\n<li>\u53cc\u51fb\u8fd0\u884c.<\/li>\n<li>\u91cd\u542f\u7cfb\u7edf.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6ce8\u610f: \u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5f15\u5bfc\u542f\u52a8\u9879,\u4e0d\u4f1a\u635f\u574f\u539f\u7cfb\u7edf\u6587\u4ef6.<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><strong>\u7b80\u5355\u8bf4\u660e<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6b64\u4fee\u8865\u7a0b\u5e8f\u4e0d\u542f\u7528\u6d4b\u8bd5\u7b7e\u540d\u6a21\u5f0f.<br \/>\n\u6b64\u4fee\u8865\u7a0b\u5e8f\u5141\u8bb8\u60a8\u5728x86 Windows\u7cfb\u7edf\u4e0a\u4f7f\u7528\u8d85\u8fc74GB\u7684RAM.<br \/>\n\u9002\u7528\u4e8eWindows Vista SP2\uff0cWindows 7 SP0\uff0cWindows 7 SP1\uff0cWindows 8\uff0cWindows 8.1\u548cWindows 10(10586).<br \/>\n\u5728\u4f7f\u7528\u6b64\u8865\u4e01\u4e4b\u524d, \u8bf7\u786e\u4fdd\u5df2\u5b8c\u5168\u5220\u9664\u4e86\u60a8\u53ef\u80fd\u5df2\u4f7f\u7528\u7684\u4efb\u4f55\u5176\u4ed6\u201cRAM\u8865\u4e01\u201d.<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><strong>\u6e90\u7801\u5730\u5740<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/wj32\/PatchPae2\" target=\"_blank\" rel=\"noopener noreferrer\"><u>https:\/\/github.com\/wj32\/PatchPae2<\/u><\/a><\/p>\n<ul>\n<li><strong>PatchPAE.bat<\/strong><\/li>\n<\/ul>\n<pre class=\"pure-highlightjs\"><code class=\"\" null=\"\">@ECHO OFF&amp;PUSHD %~DP0 &amp;TITLE PatchPAE\nsetlocal enabledelayedexpansion\n::Author MoeClub.org\ncolor 87\ncd.&gt;%windir%\\GetAdmin\nif exist %windir%\\GetAdmin (del \/f \/q \"%windir%\\GetAdmin\") else (\necho CreateObject^(\"Shell.Application\"^).ShellExecute \"%~s0\", \"%*\", \"\", \"runas\", 1 &gt;&gt; \"%temp%\\Admin.vbs\"\n\"%temp%\\Admin.vbs\"\ndel \/s \/q \"%temp%\\Admin.vbs\"\nexit \/b 2)\ncls\n \nset version_limit=61\n \nfor \/f \"skip=2 tokens=3\" %%i in ('REG QUERY \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\" \/v \"CurrentVersion\"') do (set ver=%%i\nfor \/f \"delims=. tokens=1,2\" %%m in (\"!ver!\") do (set ver_ten=%%m\nset ver_num=%%n\nset \/a version = 10 * !ver_ten! + !ver_num!\n) \n)\n \necho * System version: !ver!\n \nif %version% GTR %version_limit% (\nset WinNT1=ntoskrnx.exe\nset WinNT2=ntoskrnl.exe\n) else (\nif %version% EQU %version_limit% (\nset WinNT1=ntkrnlpx.exe\nset WinNT2=ntkrnlpa.exe\n) else (\ncall:ErrorExit\n)\n)\n \necho * Download: \"%tmp%\\PatchPae2.exe\"\n \npowershell.exe -command \"&amp; {$client = new-object System.Net.WebClient; $client.DownloadFile('https:\/\/moeclub.org\/attachment\/WindowsSoftware\/PatchPae2','%tmp%\\PatchPae2.exe')}\" &gt;NUL 2&gt;NUL\nif not exist \"%tmp%\\PatchPae2.exe\" (call:ErrorExit)\n \ncd \/d %WINDIR%\/System32\necho * Patch: \"%WINDIR%\/System32\/%WinNT2%\"\n%tmp%\\PatchPae2.exe -type kernel -o %WinNT1% %WinNT2% &gt;NUL 2&gt;NUL\n \nif not %errorlevel% == 0 (call:ErrorExit)\necho * Patch: \"%WINDIR%\/System32\/winload.exe\"\n%tmp%\\PatchPae2.exe -type loader -o winloadp.exe winload.exe &gt;NUL 2&gt;NUL\n \nif not %errorlevel% == 0 (call:ErrorExit)\n \necho * Set Boot Option.\nfor \/f \"delims={} tokens=2\" %%i in ('bcdedit \/copy {current} \/d \"Windows (PAE Patched)\"') do (set BootID=%%i)\necho %BootID% |find \"-\" &gt;NUL 2&gt;NUL\nif not %errorlevel% == 0 (call:ErrorExit)\nbcdedit \/set {%BootID%} path \\Windows\\system32\\winloadp.exe &gt;NUL 2&gt;NUL\nif not %errorlevel% == 0 (call:ErrorExit)\nbcdedit \/set {%BootID%} nointegritychecks 1 &gt;NUL 2&gt;NUL\nif not %errorlevel% == 0 (call:ErrorExit)\nbcdedit \/set {bootmgr} default {%BootID%} &gt;NUL 2&gt;NUL\nif not %errorlevel% == 0 (call:ErrorExit)\n \necho Press [ENTER] to reboot...\npause &gt;NUL 2&gt;NUL\nshutdown -r -t 0\n \n:ErrorExit\necho. \necho Error, Press [ENTER] to exit.\npause &gt;NUL 2&gt;NUL\nexit 1\nGOTO:EOF<\/code><\/pre>\n<p>&nbsp;\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\t\t\t\t\t\t&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"http:\/\/www.zhangyijun.com\/?p=129\">\u9605\u8bfb\u66f4\u591a<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=129"}],"version-history":[{"count":0,"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhangyijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}