2025-07-04 21:07:34 +08:00

61 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Windows 笔记"
date: 2023-04-03T16:04:00+08:00
lastmod: 2023-04-03T16:04:00+08:00
keywords: []
tags: ["windows"]
categories: ["os"]
---
## 激活 windows
- Windows 10 专业版
```
slmgr /upk
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms zh.us.to
# 如果 zh.us.to 不通,可以尝试 kms8.msguides.com
slmgr /ato
```
- Windows 11 专业版
```
slmgr.vbs /upk
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms.loli.best
slmgr /ato
```
- Windows 7 旗舰版密钥26VR7-RGFWJ-YFMB2-X3YXM-2KY3R
## win11 恢复 win10 右键菜单
- 保存如下文本到“任意文件名.cmd”双击该 cmd 文件
```
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
taskkill /f /im explorer.exe & start explorer.exe
```
## win10 登录后自动挂载 webdav
### 定时任务
- 常规
* 安全选项:只在用户登录时运行
* 配置Windows 10
- 触发器
* 开始任务:登陆时
* 延迟任务时间30秒
- 操作
* 操作:启动程序
* 程序或脚本conhost.exe
* 添加参数:--headless net use 盘符: http://地址/dav 密码 /user:用户 /persistent:NO
- 条件
* 网络:只有在以下网络连接可用时才启动
- 设置
* 允许按需运行任务
* 如果任务失败按一下频率重新启动1分钟
* 尝试重新启动最多次数3
* 请勿启动新实例