{"id":262,"date":"2026-01-03T15:53:13","date_gmt":"2026-01-03T07:53:13","guid":{"rendered":"https:\/\/niudasheng.cn\/?p=262"},"modified":"2026-01-03T15:53:13","modified_gmt":"2026-01-03T07:53:13","slug":"windows-admin-center%e8%bf%9e%e6%8e%a5%e8%a2%ab%e6%8e%a7%e7%ab%af%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/blog.wcld.top\/?p=262","title":{"rendered":"Windows admin center\u8fde\u63a5\u88ab\u63a7\u7aef\u8bbe\u7f6e"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u4f7f\u7528Windows admin center\u88ab\u63a7\u7aef\u9700\u8981\u542f\u7528WinRM\uff08Windows Remote Management\uff09\u76d1\u542c\u5668\u5426\u5219\u4f1a\u51fa\u73b0\u51ed\u636e\u65e0\u6548\u7684\u63d0\u793a\u3002<br><br>\u4e00\u3001\u76d1\u542c\u5668\u6982\u8ff0<br>WinRM\uff08Windows Remote Management\uff09\u76d1\u542c\u5668\u662fWindows\u7cfb\u7edf\u7528\u4e8e\u63a5\u6536\u8fdc\u7a0b\u7ba1\u7406\u8bf7\u6c42\u7684\u6838\u5fc3\u7ec4\u4ef6\u3002\u76d1\u542c\u5668\u901a\u8fc7HTTP.sys\u9a71\u52a8\u5b9e\u73b0\u7aef\u53e3\u590d\u7528\uff0c\u652f\u6301\u591a\u4e2a\u5e94\u7528\u5171\u4eab\u540c\u4e00\u7aef\u53e3\uff08\u598280\u7aef\u53e3\uff09\uff0c\u4f46\u9700\u6ce8\u518c\u4e0d\u540c\u7684URL\u524d\u7f00\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cWinRM\u76d1\u542c5985\u7aef\u53e3\uff0c\u4f46\u53ef\u901a\u8fc7\u914d\u7f6e\u5b9e\u73b0\u7aef\u53e3\u590d\u7528\u6216\u4fee\u6539\u76d1\u542c\u7aef\u53e3\u3002<\/p>\n<h4 class=\"wp-block-heading\">\u4e8c\u3001\u76d1\u542c\u5668\u914d\u7f6e\u6b65\u9aa4<\/h4>\n<ol class=\"wp-block-list\">\n<li>\u200c<strong>\u542f\u7528WinRM\u670d\u52a1<\/strong>\u200c\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528<code>winrm quickconfig -q<\/code>\u5feb\u901f\u914d\u7f6e\uff08\u9700\u7f51\u7edc\u4f4d\u7f6e\u4e3a\u4e13\u7528\u7f51\u7edc\uff09\u3002<\/li>\n\n<li>\u6216\u624b\u52a8\u914d\u7f6e\uff1a<code>winrm set winrm\/config\/service @{EnableCompatibilityHttpListener=&quot;true&quot;} winrm set winrm\/config\/Client@{TrustedHosts=&quot;*&quot;}<\/code><\/li>\n<\/ul>\n<\/li>\n\n<li>\u200c<strong>\u65b0\u589e\u76d1\u542c\u5668<\/strong>\u200c\n<ul class=\"wp-block-list\">\n<li>\u6dfb\u52a080\u7aef\u53e3\u76d1\u542c\uff08\u4fdd\u75595985\u7aef\u53e3\uff09\uff1a<code>winrm set winrm\/config\/Listener?Address=*+Transport=HTTP @{Port=&quot;80&quot;}<\/code><\/li>\n\n<li>\u68c0\u67e5\u76d1\u542c\u72b6\u6001\uff1a<code>winrm enumerate winrm\/config\/listener<\/code><\/li>\n<\/ul>\n<\/li>\n\n<li>\u200c<strong>\u4fee\u6539\u9ed8\u8ba4\u7aef\u53e3<\/strong>\u200c\n<ul class=\"wp-block-list\">\n<li>\u5c06WinRM\u9ed8\u8ba4\u7aef\u53e3\u6539\u4e3a80\uff08\u65e05985\u7aef\u53e3\uff09\uff1a<code>winrm set winrm\/config\/Listener?Address=*+Transport=HTTP @{Port=&quot;80&quot;}<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4 class=\"wp-block-heading\">\u4e09\u3001\u76d1\u542c\u5668\u7ba1\u7406<\/h4>\n<ul class=\"wp-block-list\">\n<li>\u200c<strong>\u67e5\u770b\u76d1\u542c\u5668<\/strong>\u200c\uff1a<code>dir wsman:\\localhost\\listener<\/code><\/li>\n\n<li>\u200c<strong>\u5220\u9664\u76d1\u542c\u5668<\/strong>\u200c\uff1a<code>Remove-Item -Path WSMan:\\Localhost\\listener\\listener* -Recurse<\/code><\/li>\n\n<li>\u200c<strong>\u7981\u7528WinRM\u670d\u52a1<\/strong>\u200c\uff1a<code>Stop-Service WinRM -PassThru Set-Service WinRM -StartupType Disabled -PassThru<\/code><\/li>\n<\/ul>\n<h4 class=\"wp-block-heading\">\u56db\u3001\u6ce8\u610f\u4e8b\u9879<\/h4>\n<ul class=\"wp-block-list\">\n<li>\u200c<strong>\u7aef\u53e3\u590d\u7528\u539f\u7406<\/strong>\u200c\uff1aHTTP.sys\u9a71\u52a8\u5b9e\u73b0\u7aef\u53e3\u5171\u4eab\uff0cWinRM\u6ce8\u518c<code>wsman<\/code>\u524d\u7f00\uff0cIIS\u5e94\u7528\u53ef\u5171\u4eab80\u7aef\u53e3\u3002<\/li>\n\n<li>\u200c<strong>\u5b89\u5168\u98ce\u9669<\/strong>\u200c\uff1a\u76d1\u542c\u5668\u9700\u914d\u7f6e\u9632\u706b\u5899\u4f8b\u5916\uff0c\u907f\u514d\u516c\u7f51\u66b4\u9732\u3002<\/li>\n\n<li>\u200c<strong>\u9a8c\u8bc1\u8fde\u63a5<\/strong>\u200c\uff1a<code>winrs -r:http:\/\/&lt;\u76ee\u6807IP&gt;:&lt;\u7aef\u53e3&gt; -u:&lt;\u7528\u6237\u540d&gt; -p:&lt;\u5bc6\u7801&gt; cmd<\/code><\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">\u200c<strong>\u63d0\u793a<\/strong>\u200c\uff1a\u914d\u7f6e\u524d\u786e\u4fdd\u7f51\u7edc\u4f4d\u7f6e\u4e3a\u4e13\u7528\u7f51\u7edc\uff0c\u907f\u514d\u9632\u706b\u5899\u963b\u6b62\u3002<\/p>\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528Windows admin center\u88ab\u63a7\u7aef\u9700\u8981\u542f\u7528WinRM\uff08Windows Remote Management\u2026<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[23],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-win","tag-server"],"_links":{"self":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=262"}],"version-history":[{"count":1,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}