{"id":1844,"date":"2026-04-13T16:14:26","date_gmt":"2026-04-13T08:14:26","guid":{"rendered":"https:\/\/notes.coremix.net\/?p=1844"},"modified":"2026-04-13T16:16:43","modified_gmt":"2026-04-13T08:16:43","slug":"%e6%88%91%e6%98%af%e6%80%8e%e4%b9%88%e6%8a%8a-armoury-crate-%e7%9a%84%e8%87%aa%e5%8a%a8%e6%9b%b4%e6%96%b0%e6%8b%a6%e4%b8%8b%e6%9d%a5%e7%9a%84","status":"publish","type":"post","link":"https:\/\/notes.coremix.net\/?p=1844","title":{"rendered":"\u6211\u662f\u600e\u4e48\u628a Armoury Crate \u7684\u81ea\u52a8\u66f4\u65b0\u62e6\u4e0b\u6765\u7684"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u6211\u662f\u600e\u4e48\u628a Armoury Crate \u7684\u81ea\u52a8\u66f4\u65b0\u62e6\u4e0b\u6765\u7684<\/h1>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6700\u8fd1\u6211\u60f3\u628a\u7535\u8111\u4e0a\u7684 Armoury Crate \u56fa\u5b9a\u5728\u5f53\u524d\u53ef\u7528\u72b6\u6001\uff0c\u4e0d\u518d\u8ba9\u5b83\u81ea\u52a8\u62c9\u8d77\u66f4\u65b0\u3001\u81ea\u52a8\u4e0b\u8f7d\uff0c\u6216\u8005\u6084\u6084\u628a\u73b0\u6709\u7ec4\u4ef6\u8986\u76d6\u6389\u3002\u5b98\u65b9\u5e76\u6ca1\u6709\u7ed9\u6211\u4e00\u4e2a\u771f\u6b63\u610f\u4e49\u4e0a\u7684\u201c\u5173\u95ed\u66f4\u65b0\u201d\u5f00\u5173\uff0c\u6240\u4ee5\u6211\u6700\u540e\u8d70\u7684\u662f\u66f4\u504f\u7cfb\u7edf\u5c42\u7684\u5904\u7406\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u8fd9\u6b21\u6211\u7684\u76ee\u6807\u5e76\u4e0d\u662f\u5f3a\u884c\u5378\u8f7d\u6574\u4e2a\u8f6f\u4ef6\uff0c\u800c\u662f\u5c3d\u91cf\u4fdd\u7559\u73b0\u6709\u529f\u80fd\uff0c\u53ea\u628a\u66f4\u65b0\u94fe\u8def\u6253\u65ad\u3002\u5b9e\u9645\u505a\u4e0b\u6765\uff0c\u8fd9\u4e2a\u601d\u8def\u662f\u53ef\u884c\u7684\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6211\u7684\u9700\u6c42<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4fdd\u7559 Armoury Crate \u73b0\u6709\u53ef\u7528\u529f\u80fd<\/li>\n\n\n\n<li>&#8211; \u963b\u6b62\u540e\u53f0\u81ea\u52a8\u66f4\u65b0<\/li>\n\n\n\n<li>&#8211; \u963b\u6b62\u70b9\u51fb\u66f4\u65b0\u540e\u7ee7\u7eed\u4e0b\u8f7d\u66f4\u65b0\u5305<\/li>\n\n\n\n<li>&#8211; \u5c3d\u91cf\u8ba9\u6539\u52a8\u53ef\u56de\u9000\uff0c\u800c\u4e0d\u662f\u4e00\u4e0a\u6765\u5c31\u786c\u5220\u6587\u4ef6<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u6211\u89c2\u5bdf\u5230\u7684\u66f4\u65b0\u94fe\u8def<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6392\u67e5\u4e4b\u540e\uff0c\u6211\u53d1\u73b0\u5f71\u54cd\u66f4\u65b0\u7684\u4e0d\u53ea\u662f\u524d\u53f0\u754c\u9762\u91cc\u7684\u201c\u68c0\u67e5\u66f4\u65b0\u201d\u6309\u94ae\uff0c\u540e\u53f0\u8fd8\u6709\u51e0\u7c7b\u4e1c\u897f\u4f1a\u4e00\u8d77\u53c2\u4e0e\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Armoury Crate \u81ea\u5df1\u7684\u670d\u52a1<\/li>\n\n\n\n<li>&#8211; ROG Live \u76f8\u5173\u670d\u52a1<\/li>\n\n\n\n<li>&#8211; ASUS Software Manager<\/li>\n\n\n\n<li>&#8211; \u9a71\u52a8\u4ed3\u5e93\u548c\u7a0b\u5e8f\u76ee\u5f55\u4e2d\u7684\u66f4\u65b0\u53ef\u6267\u884c\u6587\u4ef6<\/li>\n<\/ul>\n\n\n\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u53ea\u662f\u5728\u8f6f\u4ef6\u8bbe\u7f6e\u91cc\u5173\u6389\u81ea\u52a8\u66f4\u65b0\uff0c\u901a\u5e38\u4e0d\u591f\u7a33\u3002\u524d\u53f0\u770b\u8d77\u6765\u5173\u4e86\uff0c\u540e\u53f0\u670d\u52a1\u548c\u66f4\u65b0\u7a0b\u5e8f\u8fd8\u662f\u53ef\u80fd\u7ee7\u7eed\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6211\u6700\u540e\u91c7\u7528\u7684\u65b9\u6848<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6211\u6ca1\u6709\u76f4\u63a5\u5220\u9664\u66f4\u65b0\u6587\u4ef6\uff0c\u800c\u662f\u7528\u4e86\u4e00\u4e2a\u66f4\u7a33\u59a5\u7684\u505a\u6cd5\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u505c\u6b62\u5e76\u7981\u7528\u66f4\u65b0\u76f8\u5173\u670d\u52a1<\/li>\n\n\n\n<li>2. \u628a\u5173\u952e\u66f4\u65b0\u7a0b\u5e8f\u6539\u540d\u4e3a <code>*.disabled<\/code><\/li>\n\n\n\n<li>3. \u4fdd\u7559\u56de\u6eda\u7a7a\u95f4\uff0c\u540e\u9762\u5982\u679c\u8981\u6062\u590d\uff0c\u53ea\u9700\u8981\u628a\u6587\u4ef6\u540d\u6539\u56de\u53bb<\/li>\n<\/ol>\n\n\n\n<p>\u8fd9\u4e48\u505a\u7684\u597d\u5904\u5f88\u76f4\u63a5\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u98ce\u9669\u6bd4\u76f4\u63a5\u5220\u9664\u4f4e<\/li>\n\n\n\n<li>&#8211; \u66f4\u5bb9\u6613\u9a8c\u8bc1\u6bcf\u4e00\u6b65\u6709\u6ca1\u6709\u751f\u6548<\/li>\n\n\n\n<li>&#8211; \u540e\u7eed\u6062\u590d\u6210\u672c\u5c0f<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e2d\u95f4\u8e29\u5230\u7684\u5751<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7ba1\u7406\u5458\u6743\u9650\u5e76\u4e0d\u603b\u662f\u591f\u7528<\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4e00\u5f00\u59cb\u6211\u4ee5\u4e3a\u201c\u7528\u7ba1\u7406\u5458 PowerShell \u8dd1\u811a\u672c\u201d\u5c31\u591f\u4e86\uff0c\u7ed3\u679c\u5f88\u5feb\u53d1\u73b0\u5e76\u4e0d\u662f\u6240\u6709\u8def\u5f84\u90fd\u8fd9\u4e48\u7b80\u5355\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6709\u4e24\u4e2a\u95ee\u9898\u6bd4\u8f83\u5178\u578b\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6709\u4e9b\u670d\u52a1\u7528 <code>Stop-Service<\/code> \u505c\u6b62\u65f6\u4f1a\u5931\u8d25<\/li>\n\n\n\n<li>&#8211; <code>DriverStore<\/code> \u91cc\u7684\u66f4\u65b0\u7a0b\u5e8f\u5373\u4f7f\u62ff\u5230\u4e86\u6587\u4ef6\u6743\u9650\uff0c\u91cd\u547d\u540d\u65f6\u4ecd\u7136\u53ef\u80fd\u63d0\u793a\u201c\u8bbf\u95ee\u88ab\u62d2\u7edd\u201d<\/li>\n<\/ul>\n\n\n\n<p>\u540e\u6765\u6211\u624d\u786e\u8ba4\uff0c\u7b2c\u4e8c\u4e2a\u95ee\u9898\u7684\u5173\u952e\u70b9\u5728\u4e8e\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows \u91cd\u547d\u540d\u6587\u4ef6\u65f6\uff0c\u4e0d\u53ea\u770b\u6587\u4ef6\u672c\u8eab\u6743\u9650<\/li>\n\n\n\n<li>&#8211; \u8fd8\u4f1a\u770b\u7236\u76ee\u5f55\u662f\u5426\u5141\u8bb8\u4fee\u6539<\/li>\n<\/ul>\n\n\n\n<p>\u6240\u4ee5\u6211\u540e\u9762\u8865\u4e86\u4e24\u5c42\u5904\u7406\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5148\u5904\u7406\u7236\u76ee\u5f55\u6743\u9650<\/li>\n\n\n\n<li>&#8211; \u518d\u5904\u7406\u76ee\u6807\u6587\u4ef6\u6743\u9650<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u6837\u91cd\u547d\u540d\u624d\u771f\u6b63\u6210\u529f\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e0d\u662f\u6240\u6709\u5931\u8d25\u90fd\u4ee3\u8868\u65b9\u6848\u65e0\u6548<\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>\u8fd9\u6b21\u8fd8\u6709\u4e00\u4e2a\u5f88\u5bb9\u6613\u8bef\u5224\u7684\u5730\u65b9\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6211\u7b2c\u4e00\u6b21\u6267\u884c\u65f6\uff0c\u811a\u672c\u5728\u505c\u67d0\u4e2a\u670d\u52a1\u65f6\u5c31\u4e2d\u65ad\u4e86\u3002\u8868\u9762\u770b\u50cf\u662f\u201c\u65b9\u6848\u5931\u8d25\u201d\uff0c\u4f46\u5b9e\u9645\u4e0a\u53ea\u662f\u811a\u672c\u5bb9\u9519\u4e0d\u591f\u3002\u540e\u9762\u6211\u628a\u903b\u8f91\u6539\u6210\u4e86\u5206\u5c42\u5c1d\u8bd5\u548c\u7ee7\u7eed\u6267\u884c\uff0c\u95ee\u9898\u5c31\u89e3\u51b3\u4e86\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u8fd9\u4e2a\u7ecf\u9a8c\u5f88\u91cd\u8981\uff1a\u7cfb\u7edf\u5c42\u64cd\u4f5c\u91cc\uff0c\u811a\u672c\u80fd\u4e0d\u80fd\u7ee7\u7eed\u8dd1\u5b8c\uff0c\u548c\u65b9\u6848\u672c\u8eab\u6709\u6ca1\u6709\u6548\u679c\uff0c\u662f\u4e24\u56de\u4e8b\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u7ec8\u9a8c\u8bc1\u7ed3\u679c<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5b8c\u6210\u5904\u7406\u4e4b\u540e\uff0c\u6211\u91cd\u65b0\u6253\u5f00\u4e86 Armoury Crate \u505a\u9a8c\u8bc1\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u73b0\u8c61\u5f88\u660e\u786e\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u754c\u9762\u91cc\u4ecd\u7136\u4f1a\u63d0\u793a\u6709\u66f4\u65b0<\/li>\n\n\n\n<li>&#8211; \u4f46\u662f\u70b9\u51fb\u66f4\u65b0\u4ee5\u540e\uff0c\u6ca1\u6709\u771f\u6b63\u5f00\u59cb\u4e0b\u8f7d<\/li>\n\n\n\n<li>&#8211; \u89c2\u5bdf\u7f51\u7edc\u6d41\u91cf\u65f6\uff0c\u7f51\u5361\u51e0\u4e4e\u6ca1\u6709\u4e0b\u8f7d\u901f\u5ea6<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u8bf4\u660e\u4e00\u4e2a\u5173\u952e\u70b9\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u524d\u53f0\u63d0\u793a\u4e0d\u7b49\u4e8e\u66f4\u65b0\u94fe\u8def\u8fd8\u6d3b\u7740\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5bf9\u6211\u6765\u8bf4\uff0c\u8fd9\u5df2\u7ecf\u8fbe\u6210\u76ee\u6807\u4e86\u3002\u8f6f\u4ef6\u53ef\u4ee5\u7ee7\u7eed\u7528\uff0c\u4f46\u66f4\u65b0\u7a0b\u5e8f\u5df2\u7ecf\u5f88\u96be\u518d\u771f\u6b63\u843d\u5730\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6211\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u5220\u8f6f\u4ef6<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5f88\u591a\u4eba\u9047\u5230 Armoury Crate \u7684\u7b2c\u4e00\u53cd\u5e94\uff0c\u662f\u76f4\u63a5\u5378\u8f7d\u6216\u8005\u5f7b\u5e95\u5220\u9664\u6240\u6709 ASUS \u7ec4\u4ef6\u3002\u8fd9\u4e2a\u505a\u6cd5\u5f53\u7136\u66f4\u5e72\u8106\uff0c\u4f46\u4e0d\u4e00\u5b9a\u9002\u5408\u6240\u6709\u4eba\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6211\u66f4\u60f3\u8981\u7684\u662f\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4fdd\u7559\u8fd8\u80fd\u7528\u7684\u63a7\u5236\u529f\u80fd<\/li>\n\n\n\n<li>&#8211; \u53bb\u6389\u6211\u4e0d\u60f3\u8981\u7684\u66f4\u65b0\u884c\u4e3a<\/li>\n<\/ul>\n\n\n\n<p>\u6240\u4ee5\u8fd9\u6b21\u9009\u62e9\u7684\u662f\u201c\u6700\u5c0f\u7834\u574f\u201d\u7684\u65b9\u6848\uff0c\u800c\u4e0d\u662f\u201c\u5168\u76d8\u6e05\u7a7a\u201d\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8fd9\u5957\u65b9\u6cd5\u8fd8\u6709\u4ec0\u4e48\u8fb9\u754c<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u76ee\u524d\u8fd9\u5957\u65b9\u6848\u5df2\u7ecf\u8db3\u591f\u62e6\u4f4f\u5e38\u89c4\u66f4\u65b0\u4e0b\u8f7d\uff0c\u4f46\u6211\u8fd8\u662f\u4f1a\u4fdd\u7559\u51e0\u4e2a\u5224\u65ad\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c BIOS \u91cc\u542f\u7528\u4e86\u76f8\u5173\u81ea\u52a8\u5b89\u88c5\u529f\u80fd\uff0c\u7cfb\u7edf\u5c42\u5c01\u5835\u53ef\u80fd\u4f1a\u88ab\u91cd\u65b0\u8865\u56de<\/li>\n\n\n\n<li>&#8211; \u5982\u679c\u540e\u7eed\u5382\u5546\u6539\u4e86\u670d\u52a1\u540d\u3001\u8def\u5f84\u6216\u8005\u66f4\u65b0\u673a\u5236\uff0c\u65e7\u811a\u672c\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u9002\u914d<\/li>\n\n\n\n<li>&#8211; \u5982\u679c\u8fd8\u60f3\u518d\u7a33\u4e00\u70b9\uff0c\u53ef\u4ee5\u7ee7\u7eed\u52a0\u4e00\u5c42\u9632\u706b\u5899\u51fa\u7ad9\u963b\u65ad<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u6211\u7684\u5efa\u8bae<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5982\u679c\u4f60\u4e5f\u6253\u7b97\u62e6 Armoury Crate \u66f4\u65b0\uff0c\u6211\u66f4\u5efa\u8bae\u8fd9\u6837\u505a\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5148\u786e\u8ba4\u76f8\u5173\u670d\u52a1\u548c\u66f4\u65b0\u7a0b\u5e8f\u5230\u5e95\u5728\u54ea\u91cc<\/li>\n\n\n\n<li>2. \u4f18\u5148\u7528\u201c\u7981\u670d\u52a1 + \u6539\u540d\u201d\u800c\u4e0d\u662f\u76f4\u63a5\u5220\u9664<\/li>\n\n\n\n<li>3. \u6bcf\u505a\u5b8c\u4e00\u6b65\u90fd\u505a\u4e00\u6b21\u524d\u53f0\u9a8c\u8bc1<\/li>\n\n\n\n<li>4. \u6700\u540e\u518d\u8003\u8651\u662f\u5426\u9700\u8981\u9632\u706b\u5899\u8865\u5200<\/li>\n<\/ol>\n\n\n\n<p>\u8fd9\u6837\u6574\u4e2a\u8fc7\u7a0b\u4f1a\u66f4\u53ef\u63a7\uff0c\u4e5f\u66f4\u5bb9\u6613\u6392\u9519\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u540e<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<p>\u8fd9\u6b21\u6298\u817e\u4e0b\u6765\uff0c\u6211\u7684\u7ed3\u8bba\u5f88\u7b80\u5355\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Armoury Crate \u7684\u66f4\u65b0\u4e0d\u662f\u4e00\u4e2a\u5355\u70b9\u5f00\u5173\uff0c\u800c\u662f\u4e00\u6574\u6761\u94fe\u8def\u3002\u771f\u6b63\u6709\u6548\u7684\u505a\u6cd5\uff0c\u4e0d\u662f\u53ea\u5173\u754c\u9762\u9009\u9879\uff0c\u800c\u662f\u628a\u540e\u53f0\u670d\u52a1\u548c\u66f4\u65b0\u6267\u884c\u6587\u4ef6\u4e00\u8d77\u5904\u7406\u6389\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u81f3\u5c11\u5728\u6211\u8fd9\u8fb9\uff0c\u505a\u5230\u8fd9\u4e00\u6b65\u4e4b\u540e\uff0c\u66f4\u65b0\u63d0\u793a\u8fd8\u5728\uff0c\u4f46\u4e0b\u8f7d\u5df2\u7ecf\u8d77\u4e0d\u6765\u4e86\u3002\u8fd9\u6b63\u662f\u6211\u60f3\u8981\u7684\u7ed3\u679c\u3002<\/p>\n\n\n\n<p>\u7b26\u4ee3\u7801\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nSet-StrictMode -Version Latest\n$ErrorActionPreference = &#039;Stop&#039;\n\nfunction Test-IsAdministrator {\n    $identity = &#x5B;Security.Principal.WindowsIdentity]::GetCurrent()\n    $principal = New-Object Security.Principal.WindowsPrincipal($identity)\n    return $principal.IsInRole(&#x5B;Security.Principal.WindowsBuiltInRole]::Administrator)\n}\n\nif (-not (Test-IsAdministrator)) {\n    throw &quot;This script must be run from an elevated PowerShell session.&quot;\n}\n\n$timestamp = Get-Date -Format &#039;yyyyMMdd_HHmmss&#039;\n$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path\n$manifestPath = Join-Path $scriptDir &quot;armoury_update_disable_manifest_$timestamp.json&quot;\n\n$services = @(\n    &#039;ArmouryCrateService&#039;,\n    &#039;ROG Live Service&#039;,\n    &#039;ASUSSoftwareManager&#039;,\n    &#039;asus&#039;,\n    &#039;asusm&#039;\n)\n\n$files = @(\n    &#039;C:\\Windows\\System32\\DriverStore\\FileRepository\\rogms.inf_amd64_7bcd8839c8e4f2a7\\ArmouryLiveUpdate.exe&#039;,\n    &#039;C:\\Windows\\System32\\DriverStore\\FileRepository\\rogms.inf_amd64_7bcd8839c8e4f2a7\\ArmouryUpdate.exe&#039;,\n    &#039;C:\\Program Files (x86)\\ASUS\\ArmouryDevice\\dll\\FilterDriver\\x64\\Win11\\ROGMS\\ArmouryUpdate.exe&#039;,\n    &#039;C:\\Program Files (x86)\\ASUS\\ArmouryDevice\\dll\\FilterDriver\\x64\\Win10\\ROGMS\\ArmouryUpdate.exe&#039;\n)\n\n$report = &#x5B;ordered]@{\n    executedAt = (Get-Date).ToString(&#039;s&#039;)\n    services = @()\n    files = @()\n    notes = @(\n        &#039;ASUS scheduled tasks were reviewed separately. No task with an explicit update executable was found, so this script does not disable ASUS tasks by default.&#039;\n    )\n}\n\nfunction Disable-ServiceForUpdate {\n    param(\n        &#x5B;Parameter(Mandatory = $true)]\n        &#x5B;string]$Name\n    )\n\n    $svc = Get-CimInstance Win32_Service -Filter &quot;Name=&#039;$Name&#039;&quot; -ErrorAction SilentlyContinue\n    if (-not $svc) {\n        return &#x5B;ordered]@{\n            name = $Name\n            found = $false\n            state = $null\n            startModeBefore = $null\n            changed = $false\n            note = &#039;Service not found&#039;\n        }\n    }\n\n    $notes = @()\n    $changed = $false\n\n    if ($svc.State -eq &#039;Running&#039;) {\n        try {\n            Stop-Service -Name $Name -Force -ErrorAction Stop\n            $notes += &#039;Stopped via Stop-Service&#039;\n            $changed = $true\n        } catch {\n            $notes += &quot;Stop-Service failed: $($_.Exception.Message)&quot;\n            &amp; sc.exe stop $Name | Out-Null\n            Start-Sleep -Seconds 3\n            $afterStop = Get-CimInstance Win32_Service -Filter &quot;Name=&#039;$Name&#039;&quot;\n            if ($afterStop.State -eq &#039;Running&#039; -and $afterStop.ProcessId -gt 0) {\n                &amp; taskkill.exe \/PID $afterStop.ProcessId \/F | Out-Null\n                $notes += &quot;Killed service process PID $($afterStop.ProcessId)&quot;\n                $changed = $true\n            }\n        }\n    }\n\n    &amp; sc.exe config $Name start= disabled | Out-Null\n    $updated = Get-CimInstance Win32_Service -Filter &quot;Name=&#039;$Name&#039;&quot;\n    if ($updated.StartMode -eq &#039;Disabled&#039;) {\n        $changed = $true\n    }\n\n    return &#x5B;ordered]@{\n        name = $Name\n        found = $true\n        state = $updated.State\n        startModeBefore = $svc.StartMode\n        startModeAfter = $updated.StartMode\n        changed = $changed\n        pathName = $svc.PathName\n        note = ($notes -join &#039;; &#039;)\n    }\n}\n\nfunction Rename-UpdateBinary {\n    param(\n        &#x5B;Parameter(Mandatory = $true)]\n        &#x5B;string]$Path\n    )\n\n    if (-not (Test-Path -LiteralPath $Path)) {\n        return &#x5B;ordered]@{\n            originalPath = $Path\n            found = $false\n            changed = $false\n            note = &#039;File not found&#039;\n        }\n    }\n\n    $disabledPath = &quot;$Path.disabled&quot;\n    if (Test-Path -LiteralPath $disabledPath) {\n        return &#x5B;ordered]@{\n            originalPath = $Path\n            disabledPath = $disabledPath\n            found = $true\n            changed = $false\n            note = &#039;Disabled copy already exists&#039;\n        }\n    }\n\n    $parentDir = Split-Path -Parent $Path\n\n    &amp; takeown.exe \/F $parentDir \/A | Out-Null\n    &amp; icacls.exe $parentDir \/grant Administrators:F | Out-Null\n    &amp; takeown.exe \/F $Path \/A | Out-Null\n    &amp; icacls.exe $Path \/grant Administrators:F | Out-Null\n    Rename-Item -LiteralPath $Path -NewName (&#x5B;IO.Path]::GetFileName($disabledPath)) -ErrorAction Stop\n\n    return &#x5B;ordered]@{\n        originalPath = $Path\n        disabledPath = $disabledPath\n        found = $true\n        changed = $true\n        note = &#039;File renamed to .disabled&#039;\n    }\n}\n\nforeach ($serviceName in $services) {\n    $report.services += Disable-ServiceForUpdate -Name $serviceName\n}\n\nforeach ($filePath in $files) {\n    $report.files += Rename-UpdateBinary -Path $filePath\n}\n\n$report | ConvertTo-Json -Depth 5 | Set-Content -LiteralPath $manifestPath -Encoding UTF8\n$report | ConvertTo-Json -Depth 5\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u6211\u662f\u600e\u4e48\u628a Armoury Crate \u7684\u81ea\u52a8\u66f4\u65b0\u62e6\u4e0b\u6765\u7684 \u6700\u8fd1\u6211\u60f3\u628a\u7535\u8111\u4e0a\u7684 Armoury Crate \u56fa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1844","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/1844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1844"}],"version-history":[{"count":2,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/1844\/revisions"}],"predecessor-version":[{"id":1846,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/1844\/revisions\/1846"}],"wp:attachment":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}