From 0c4ff515b4739e9fc9b7bc5c2b9519f3ea16b918 Mon Sep 17 00:00:00 2001 From: colben Date: Fri, 30 May 2025 15:56:20 +0800 Subject: [PATCH] update --- content/post/windows.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/content/post/windows.md b/content/post/windows.md index f7f7b32..c57ecb6 100644 --- a/content/post/windows.md +++ b/content/post/windows.md @@ -32,3 +32,27 @@ categories: ["os"] 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 + * 请勿启动新实例 +