Files
MemRelay/projects/ea207d36-693c-4349-b3c8-7c40c8c889f5/VM 首次测试账户参数被错误展开.md
T

1.1 KiB
Raw Blame History

title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
title type permalink stable_id scope memory_type project_id usage_profile_id status revision request_id created_at updated_at tags
VM 首次测试账户参数被错误展开 experience main/projects/ea207d36-693c-4349-b3c8-7c40c8c889f5/vm-首次测试账户参数被错误展开 981165ad-fc59-490f-b414-495fb36854d0 project experience ea207d36-693c-4349-b3c8-7c40c8c889f5 7aee455b-24cc-4008-bdaf-443721e6f939 active 1 winunlock-vm-account-env-expansion-20260824 2026-08-24T08:54:30.718462+00:00 2026-08-24T08:54:30.718462+00:00
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 完成后重新把计划任务时间调整到未来几分钟,避免安装时设置的触发点已错过。