Skip to content

Commit 311dbb1

Browse files
committed
Add hyper-v in keys-windows.md
1 parent 7a7cefc commit 311dbb1

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-latex.min.js"></script>
159159
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-sql.min.js"></script>
160160
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-json.min.js"></script>
161+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-powershell.min.js"></script>
161162
</body>
162163

163164
</html>

docs/keys/keys-windows.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Windows Defender
6868

6969
## Office 2019
7070

71-
- [Office 2019 安装激活工具 - Office 2019 Install | 代码黑洞](https://www.cd404.com/Software/16.html)
71+
- [Office 2019 安装激活工具 - Office 2019 Install | 代码黑洞](https://www.cd404.com/16.html)
7272

7373
## Sticky Notes
7474

@@ -89,6 +89,28 @@ Windows Defender
8989
上帝模式.{ED7BA470-8E54-465E-825C-99712043E01C}
9090
```
9191

92+
## 开启 Hyper-V
93+
94+
?> 参见 [![](logo/zhihu.svg)Win10 家庭版中使用 Hyper-V | 知乎](https://zhuanlan.zhihu.com/p/51939654)
95+
96+
将以下代码保存为`hyper-v.cmd`,并以**管理员**身份运行:
97+
98+
```powershell
99+
pushd "%~dp0"
100+
101+
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
102+
103+
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
104+
105+
del hyper-v.txt
106+
107+
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL
108+
```
109+
110+
- [![](logo/zhihu.svg)Win10 家庭版中使用 Hyper-V | 知乎](https://zhuanlan.zhihu.com/p/51939654)
111+
- [![](logo/zhihu.svg)Win10 自带的 Hyper-V 性能、兼容性和稳定性怎么样?| 知乎](https://www.zhihu.com/question/58179981)
112+
113+
92114
## Gif 录制
93115

94116
- [![](logo/gifcam.png ':size=16')GifCam![](logo/star.svg)](http://blog.bahraniapps.com/gifcam/#download)

docs/keys/logo/zhihu.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)