chore: 导入旧记忆备份供恢复
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: VM 首次测试账户参数被错误展开
|
||||
type: experience
|
||||
permalink: main/projects/ea207d36-693c-4349-b3c8-7c40c8c889f5/vm-首次测试账户参数被错误展开
|
||||
stable_id: 981165ad-fc59-490f-b414-495fb36854d0
|
||||
scope: project
|
||||
memory_type: experience
|
||||
project_id: ea207d36-693c-4349-b3c8-7c40c8c889f5
|
||||
usage_profile_id: 7aee455b-24cc-4008-bdaf-443721e6f939
|
||||
status: active
|
||||
revision: 1
|
||||
request_id: winunlock-vm-account-env-expansion-20260824
|
||||
created_at: '2026-08-24T08:54:30.718462+00:00'
|
||||
updated_at: '2026-08-24T08:54:30.718462+00:00'
|
||||
tags:
|
||||
- vm-test
|
||||
- setup
|
||||
- powershell
|
||||
- troubleshooting
|
||||
---
|
||||
|
||||
2026-08-24 VM 首次端到端测试未自动解锁。截图确认 setup 命令把账户参数写成了 `".\$env:Administrator"`;PowerShell 中不存在 `env:Administrator`,因此变量展开为空,setup 输出并保存的账户仅为 `.\`,无法通过 LSA 认证。正确写法是本地账户字面量 `".\Administrator"`,或使用真实环境变量 `".\$env:USERNAME"`。重新运行 setup 会覆盖 config.toml 与 cred.bin。另需在 setup 完成后重新把计划任务时间调整到未来几分钟,避免安装时设置的触发点已错过。
|
||||
Reference in New Issue
Block a user