-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows-version-change-to-vol.html
485 lines (279 loc) · 20.1 KB
/
windows-version-change-to-vol.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme="auto">
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.png">
<link rel="icon" href="/img/favicon.png">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="description" content="如果没有购买正版Windows,或者不想用电脑厂商出厂带的OEM版「一般是家庭版,有些功能没有」,重装后我们一般会找个KMS激活,但如果装的时候没选好版本,可能用KMS工具激活的时候会提示该系统非vl版,激活失败之类的。">
<meta name="author" content="凹凸曼达人">
<meta name="keywords" content="当前Windows不是VL版,无法使用KMS激活!">
<title>Windows零售版转换成vol批量可激活版 - 我的博客</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@4.0.0/github-markdown.min.css" />
<link rel="stylesheet" href="/lib/hint/hint.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@10.4.0/styles/github-gist.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_kmeydafke9r.css">
<link rel="stylesheet" href="/css/main.css" />
<!-- 自定义样式保持在最底部 -->
<script id="fluid-configs">
var Fluid = window.Fluid || {};
var CONFIG = {"hostname":"yiwangmeng.com","root":"/","version":"1.8.9","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null}}};
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 5.4.0"><link rel="alternate" href="/atom.xml" title="我的博客" type="application/atom+xml">
</head>
<body>
<header style="height: 70vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand"
href="/"> <strong>一网盟</strong> </a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
分类
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" data-toggle="modal" data-target="#modalSearch"> <i
class="iconfont icon-search"></i> </a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" href="javascript:"> <i
class="iconfont icon-dark" id="color-toggle-icon"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div class="banner" id="banner" parallax=true
style="background: url('/img/default.png') no-repeat center center;
background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="page-header text-center fade-in-up">
<span class="h2" id="subtitle" title="Windows零售版转换成vol批量可激活版">
</span>
<div class="mt-3">
<span class="post-meta">
<i class="iconfont icon-date-fill" aria-hidden="true"></i>
<time datetime="2020-07-08 15:48" pubdate>
2020年7月8日 下午
</time>
</span>
</div>
<div class="mt-1">
<span class="post-meta mr-2">
<i class="iconfont icon-chart"></i>
647 字
</span>
<span class="post-meta mr-2">
<i class="iconfont icon-clock-fill"></i>
7
分钟
</span>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container-fluid nopadding-x">
<div class="row nomargin-x">
<div class="d-none d-lg-block col-lg-2"></div>
<div class="col-lg-8 nopadding-x-md">
<div class="container nopadding-x-md" id="board-ctn">
<div class="py-5" id="board">
<article class="post-content mx-auto">
<!-- SEO header -->
<h1 style="display: none">Windows零售版转换成vol批量可激活版</h1>
<div class="markdown-body">
<h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>如果没有购买正版Windows,或者不想用电脑厂商出厂带的OEM版「一般是家庭版,有些功能没有」,重装后我们一般会找个KMS激活,但如果装的时候没选好版本,可能用KMS工具激活的时候会提示该系统非vl版,激活失败之类的。<br><img src="../images/windows_vl_kms.png" srcset="/img/loading.gif" lazyload></p>
<h1 id="解决"><a href="#解决" class="headerlink" title="解决"></a>解决</h1><p>如果装的系统不是 <code>VL</code> 版本,此时你也许会重新下载个 <code>VL</code> 版重装,这当然是可以的。</p>
<p>另外一方面,我们也不需要这么麻烦,因为系统镜像本身就大同小异,只是里面一两个配置不一样而已,我们只需要 用 <code>DISM</code> 命令将已经装好的系统更改为 <code>VOL</code> 版本,当然也可以用这个命令从 <code>Home</code> 升级为 <code>Professional</code> 。</p>
<h2 id="确认已安装的版本"><a href="#确认已安装的版本" class="headerlink" title="确认已安装的版本"></a>确认已安装的版本</h2><p>在CMD或者Powershell中,用下面的命令可以知道自己当前已经安装的是什么版本:</p>
<figure class="highlight awk"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs awk">DISM <span class="hljs-regexp">/online /</span>Get-CurrentEdition<br></code></pre></td></tr></table></figure>
<p>运行结果是这样:</p>
<figure class="highlight apache"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><code class="hljs apache"><span class="hljs-attribute">Windows</span> PowerShell<br><span class="hljs-attribute">Copyright</span> (C) <span class="hljs-number">2012</span> Microsoft Corporation. <span class="hljs-literal">All</span> rights reserved.<br><br><span class="hljs-attribute">PS</span> C:\Users\Administrator> DISM /online /Get-CurrentEdition<br><br><span class="hljs-attribute">Deployment</span> Image Servicing and Management tool<br><span class="hljs-attribute">Version</span>: <span class="hljs-number">6</span>.<span class="hljs-number">2</span>.<span class="hljs-number">9200</span>.<span class="hljs-number">22807</span><br><br><span class="hljs-attribute">Image</span> Version: <span class="hljs-number">6</span>.<span class="hljs-number">2</span>.<span class="hljs-number">9200</span>.<span class="hljs-number">22807</span><br><br><span class="hljs-attribute">Current</span> edition is:<br><br><span class="hljs-attribute">Current</span> Edition : ServerStandard<br><br><span class="hljs-attribute">The</span> operation completed successfully.<br></code></pre></td></tr></table></figure>
<p>以及可以升级到什么版本</p>
<figure class="highlight awk"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs awk">DISM <span class="hljs-regexp">/online /</span>Get-TargetEditions<br></code></pre></td></tr></table></figure>
<h2 id="准备秘钥"><a href="#准备秘钥" class="headerlink" title="准备秘钥"></a>准备秘钥</h2><p>密钥可以网上搜索,找个自己已安装版本对应的密钥,可以到微软官网 <a target="_blank" rel="noopener" href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/jj612867(v=ws.11)">Appendix A: KMS Client Setup Keys</a> 去找个,因为反正目的都是为了KMS激活。</p>
<p>以自己vps里装的一个为例,通过上面的命令可知版本是 <code>Windows Server 2012 Server Standard</code> ,那么从上面的官网上可以找到可用密钥为:<code>XC9B7-NBPP2-83J2H-RHMBY-92BT4</code></p>
<h2 id="转换成VL版"><a href="#转换成VL版" class="headerlink" title="转换成VL版"></a>转换成VL版</h2><p>转换命令:</p>
<figure class="highlight awk"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs awk">DISM <span class="hljs-regexp">/online /</span>Set-Edition:<edition ID> <span class="hljs-regexp">/ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /</span>AcceptEula <br></code></pre></td></tr></table></figure>
<p><code>Edition ID</code> 就是前文得到的那个版本 <code>ServerStandard</code>,<code>ProductKey</code> 后面把序列号填上去就行,这个方法可以解决 <code>slmgr /ipk</code> 命令无法安装 <code>VL</code> 密钥的情况,也适用于 <code>Standard</code> 转 <code>DataCenter</code></p>
<p>按实际情况组合完为:</p>
<figure class="highlight apache"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs apache"><span class="hljs-attribute">DISM</span> /online /Set-Edition:ServerStandard /ProductKey:XC<span class="hljs-number">9</span>B<span class="hljs-number">7</span>-NBPP<span class="hljs-number">2</span>-<span class="hljs-number">83</span>J<span class="hljs-number">2</span>H-RHMBY-<span class="hljs-number">92</span>BT<span class="hljs-number">4</span> /AcceptEula<br></code></pre></td></tr></table></figure>
<p>命令执行完会要求重启,按要求重启系统。</p>
<h1 id="系统激活"><a href="#系统激活" class="headerlink" title="系统激活"></a>系统激活</h1><p>转换为 <code>VL</code> 版后,再去激活系统就简单多了,市面上几乎所有的工具都能一键激活,KMS工具激活就不提了,都在界面上,自行点点就激活完成了,不想用工具的可以用以下命令:</p>
<figure class="highlight jboss-cli"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><code class="hljs jboss-cli"><span class="hljs-comment">#设置kms服务器</span><br>slmgr <span class="hljs-string">/skms</span> kms.03k.org<br><span class="hljs-comment">#自动激活</span><br>slmgr <span class="hljs-string">/ato</span><br></code></pre></td></tr></table></figure>
<h1 id="参考文档"><a href="#参考文档" class="headerlink" title="参考文档"></a>参考文档</h1><ol>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/zjoch/archive/2013/04/02/2995250.html">Windows Server 2012从Evaluation版转成正式版</a></li>
<li><a target="_blank" rel="noopener" href="https://03k.org/kms.html">KMS服务~一句命令激活windows/office</a></li>
</ol>
</div>
<hr>
<div>
<div class="post-metas mb-3">
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a class="hover-with-bg" href="/categories/%E7%8E%A9%E7%B3%BB%E7%BB%9F/">玩系统</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a class="hover-with-bg" href="/tags/Windows/">Windows</a>
</div>
</div>
<p class="note note-warning">
本博客所有文章除特别声明外,均采用 <a target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" rel="nofollow noopener noopener">CC BY-SA 4.0 协议</a> ,转载请注明出处!
</p>
<div class="post-prevnext">
<article class="post-prev col-6">
<a href="/git-sync-from-upstream-command.html">
<i class="iconfont icon-arrowleft"></i>
<span class="hidden-mobile">Git进行fork后与原仓库同步方法</span>
<span class="visible-mobile">上一篇</span>
</a>
</article>
<article class="post-next col-6">
<a href="/php-error-peer-fingerprint-did-not-match.html">
<span class="hidden-mobile">解决“Peer fingerprint did not match”错误提示</span>
<span class="visible-mobile">下一篇</span>
<i class="iconfont icon-arrowright"></i>
</a>
</article>
</div>
</div>
</article>
</div>
</div>
</div>
<div class="d-none d-lg-block col-lg-2 toc-container" id="toc-ctn">
<div id="toc">
<p class="toc-header"><i class="iconfont icon-list"></i> 目录</p>
<div class="toc-body" id="toc-body"></div>
</div>
</div>
</div>
</div>
<!-- Custom -->
<a id="scroll-top-button" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v"
for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
</main>
<footer class="text-center mt-5 py-3">
<div class="footer-content">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
</div>
<!-- 网易云音乐插件 -->
<div style="position:absolute; bottom:120px; left:auto; width:100%">
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width="240" height="52" src="//music.163.com/outchain/player?type=2&id=1332647902&auto=0&height=32"></iframe>
</div>
</footer>
<!-- SCRIPTS -->
<script src="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.js" ></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.css" />
<script>
NProgress.configure({"showSpinner":false,"trickleSpeed":100})
NProgress.start()
window.addEventListener('load', function() {
NProgress.done();
})
</script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" ></script>
<script src="/js/debouncer.js" ></script>
<script src="/js/events.js" ></script>
<script src="/js/plugins.js" ></script>
<!-- Plugins -->
<script src="/js/img-lazyload.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/tocbot@4.12.0/dist/tocbot.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/anchor-js@4.3.0/anchor.min.js" ></script>
<script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js" ></script>
<script>
(function (window, document) {
var typing = Fluid.plugins.typing;
var title = document.getElementById('subtitle').title;
typing(title)
})(window, document);
</script>
<script src="/js/local-search.js" ></script>
<script>
(function () {
var path = "/local-search.xml";
$('#local-search-input').on('click', function() {
searchFunc(path, 'local-search-input', 'local-search-result');
});
$('#modalSearch').on('shown.bs.modal', function() {
$('#local-search-input').focus();
});
})()
</script>
<!-- 主题的启动项 保持在最底部 -->
<script src="/js/boot.js" ></script>
</body>
</html>