PageSourceSearch

https://www.hestudio.net/assets/how-to-use-kms.html-quRSATjh.js

js hestudio.net collected 2026-09-24 10:36:35 UTC 8,304 bytes, 8 lines download raw bytes

1import{_ as s,c as a,f as t,o as n}from"./app-D7CCjthX.js";const i={};function r(o,e){return n(),a("div",null,[...e[0]||(e[0]=[t(`<h3 id="本站-kms-服务地址" tabindex="-1"><a class="header-anchor" href="#本站-kms-服务地址"><span>本站 KMS 服务地址</span></a></h3><div class="hint-container tip"><p class="hint-container-title">提示</p><p>了解如何自己搭建一个 KMS 服务器请访问: <a href="https://www.hestudio.net/posts/build-a-kms-server-yourself.html" target="_blank" rel="noopener noreferrer">https://www.hestudio.net/posts/build-a-kms-server-yourself.html</a></p></div><div class="language-text line-numbers-mode" data-highlighter="prismjs" data-ext="text"><pre><code class="language-text"><span class="line">kms.hestudio.net</span>
2<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div><h3 id="使用方法" tabindex="-1"><a class="header-anchor" href="#使用方法"><span>使用方法</span></a></h3><h4 id="激活-windows-windows-server" tabindex="-1"><a class="header-anchor" href="#激活-windows-windows-server"><span>激活 Windows/Windows Server</span></a></h4><ul><li>设置 KMS 地址为 heStudio 的 KMS 服务</li></ul><div class="language-batch line-numbers-mode" data-highlighter="prismjs" data-ext="batch"><pre><code class="language-batch"><span class="line"><span class="token command"><span class="token keyword">slmgr</span>.vbs <span class="token parameter attr-name">/skms</span> kms.hestudio.net</span></span>
3<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div><ul><li>设置 GVLK 代码</li></ul><div class="language-batch line-numbers-mode" data-highlighter="prismjs" data-ext="batch"><pre><code class="language-batch"><span class="line"><span class="token command"><span class="token keyword">slmgr</span>.vbs <span class="token parameter attr-name">/ipk</span> xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</span></span>
4<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div><div class="hint-container info"><p class="hint-container-title">相关信息</p><p>Windows 和 Windows Server 的 GVLK 代码可以在这里获取:<a href="https://docs.microsoft.com/zh-cn/windows-server/get-started/kms-client-activation-keys" target="_blank" rel="noopener noreferrer">https://docs.microsoft.com/zh-cn/windows-server/get-started/kms-client-activation-keys</a></p></div><ul><li>激活 Windows/Windows Server</li></ul><div class="language-batch line-numbers-mode" data-highlighter="prismjs" data-ext="batch"><pre><code class="language-batch"><span class="line"><span class="token command"><span class="token keyword">slmgr</span>.vbs <span class="token parameter attr-name">/ato</span></span></span>
5<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div><h4 id="激活-office" tabindex="-1"><a class="header-anchor" href="#激活-office"><span>激活 Office</span></a></h4><div class="hint-container warning"><p class="hint-container-title">注意</p><p>这里的教程仅适用于 Office 2016 以后的版本,早于此版本的 Office 仍然可以使用这个 KMS 服务,但是这里不提供相关资料,需要自行摸索。</p></div><ul><li>首先先找到 ospp.vbs,如果你是 32 位的电脑系统或者安装了 64 位版本的 64 位计算机,那么 ospp.vbs 就在<code>C:\\Program Files\\Microsoft Office\\Office16\\</code>文件夹内;如果是 64 位的计算机安装了 32 位的系统,那么它应该在<code>C:\\Program Files (x86)\\\\Microsoft Office\\Office16\\</code></li><li>设置 KMS 地址为 heStudio 的 KMS 服务</li></ul><div class="language-batch line-numbers-mode" data-highlighter="prismjs" data-ext="batch"><pre><code class="language-batch"><span class="line"><span class="token command"><span class="token keyword">cscript</span> ospp.vbs <span class="token parameter attr-name">/sethst<span class="token punctuation">:</span></span>kms.hestudio.net</span></span>
6<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div><ul><li>设置 GVLK 代码</li></ul><div class="language-batch line-numbers-mode" data-highlighter="prismjs" data-ext="batch"><pre><code class="language-batch"><span class="line"><span class="token command"><span class="token keyword">cscript</span> ospp.vbs <span class="token parameter attr-name">/inpkey<span class="token punctuation">:</span></span>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</span></span>
7<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div><div class="hint-container info"><p class="hint-container-title">相关信息</p><p>Office 的 GVLK 代码可以在这里获取:<a href="https://docs.microsoft.com/zh-cn/deployoffice/vlactivation/gvlks" target="_blank" rel="noopener noreferrer">https://docs.microsoft.com/zh-cn/deployoffice/vlactivation/gvlks</a></p></div><ul><li>激活 Office</li></ul><div class="language-batch line-numbers-mode" data-highlighter="prismjs" data-ext="batch"><pre><code class="language-batch"><span class="line"><span class="token command"><span class="token keyword">cscript</span> ospp.vbs <span class="token parameter attr-name">/act</span></span></span>
8<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div>`,21)])])}const c=s(i,[["render",r]]),p=JSON.parse('{"path":"/posts/how-to-use-kms.html","title":"如何使用KMS","lang":"zh-CN","frontmatter":{"title":"如何使用KMS","tag":["Windows","Office","KMS"],"category":["Windows"],"description":"本站 KMS 服务地址 提示 了解如何自己搭建一个 KMS 服务器请访问: https://www.hestudio.net/posts/build-a-kms-server-yourself.html 使用方法 激活 Windows/Windows Server 设置 
8KMS 地址为 heStudio 的 KMS 服务 设置 GVLK 代码 相关信息...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"如何使用KMS\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-12-10T14:04:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"undefined\\",\\"url\\":\\"https://www.hestudio.net/about/\\",\\"email\\":\\"[email protected]\\"}]}"],["meta",{"property":"og:url","content":"https://www.hestudio.net/posts/how-to-use-kms.html"}],["meta",{"property":"og:site_name","content":"heStudio"}],["meta",{"property":"og:title","content":"如何使用KMS"}],["meta",{"property":"og:description","content":"本站 KMS 服务地址 提示 了解如何自己搭建一个 KMS 服务器请访问: https://www.hestudio.net/posts/build-a-kms-server-yourself.html 使用方法 激活 Windows/Windows Server 设置 KMS 地址为 heStudio 的 KMS 服务 设置 GVLK 代码 相关信息..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-12-10T14:04:03.000Z"}],["meta",{"property":"article:tag","content":"KMS"}],["meta",{"property":"article:tag","content":"Office"}],["meta",{"property":"article:tag","content":"Windows"}],["meta",{"property":"article:modified_time","content":"2024-12-10T14:04:03.000Z"}]]},"git":{"createdTime":1671603014000,"updatedTime":1733839443000},"readingTime":{"minutes":0.99,"words":297},"filePathRelative":"posts/how-to-use-kms.md","excerpt":"<h3>本站 KMS 服务地址</h3>\\n<div class=\\"hint-container tip\\">\\n<p class=\\"hint-container-title\\">提示</p>\\n<p>了解如何自己搭建一个 KMS 服务器请访问: <a href=\\"https://www.hestudio.net/posts/build-a-kms-server-yourself.html\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">https://www.hestudio.net/posts/build-a-kms-server-yourself.html</a></p>\\n</div>","autoDesc":true}');export{c as comp,p as data};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.