在 Windows 上使用提升后的 shell 运行代理浏览器时,Chrome 无法启动
作者: mxschmitt创建于 2026年6月1日更新于 2026年9月14日
Chrome shipped an AutoDeElevate feature in M138. The relevant Chromium code is in chrome_browser_main_win.cc and elevation_util.cc. When Chrome detects it's running with TokenElevationTypeFull, MaybeAutoDeElevate checks UserAccountIsUnnecessarilyElevated and, if true, relaunches itself unelevated through Explorer's medium-integrity token via CreateProcessWithTokenW. The original (elevated) Chrome process exits cleanly. The unelevated grandchild inherits --user-data-dir and --remote-debugging-port=0 and writes DevToolsActivePort ~500–1000 ms later.
内容来源: vercel-labs/agent-browser