You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local scheduled tasks in Codex on Windows cannot run: setup refresh initialization fails #49142
changed the title [-]Windows Codex 本地定时任务无法执行:setup refresh 初始化失败[/-][+]Local scheduled tasks in Codex on Windows cannot run: setup refresh initialization fails[/+]on Sep 29, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
26.924.22138
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
All local scheduled tasks in Codex on Windows fail before any commands start.
Full error:
CreateProcess: Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")
Symptoms:
Both existing and newly created local scheduled tasks fail;
The failure occurs before any command starts; even read-only commands such as Get-Location cannot run;
The issue persists after restarting Codex Desktop;
The issue persists after creating a new local project and a new scheduled task;
Confirmed that the project folder exists;
Confirmed that the current Windows user owns the project folder and has FullControl;
Confirmed that the CodexSandboxUsers group has Modify permissions;
Created a Windows Junction alias for the project folder, but scheduled tasks still cannot run.
Steps to reproduce:
Create any local scheduled task in Codex Desktop on Windows;
Have the task execute a simple local command, such as Get-Location;
When the scheduled task runs, it immediately returns:
helper_unknown_error: setup refresh had errors
Expected result:
Scheduled tasks should initialize the local environment successfully and execute commands.
Actual result:
The local sandbox fails during the setup refresh stage, and the command process is not created.
Time zone: Asia/Shanghai
Date first reproduced: 2026-09-28
What steps can reproduce the bug?
Feedback ID: 01a0eac9-19d6-7d10-af15-dc6760fbe5ee
What is the expected behavior?
Scheduled tasks should initialize the local sandbox successfully and execute commands. Running Get-Location should return the current project directory instead of failing during the setup refresh stage.
Activity
[-]Windows Codex 本地定时任务无法执行:setup refresh 初始化失败[/-][+]Local scheduled tasks in Codex on Windows cannot run: setup refresh initialization fails[/+]github-actions commentedon Sep 29, 2026
English translation:
What version of the Codex App are you using (From “About Codex” dialog)?
26.924.22138
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
All local scheduled tasks in Codex on Windows fail before any commands start.
Full error:
CreateProcess: Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")
Symptoms:
Steps to reproduce:
helper_unknown_error: setup refresh had errors
Expected result:
Scheduled tasks should initialize the local environment successfully and execute commands.
Actual result:
The local sandbox fails during the setup refresh stage, and the command process is not created.
Time zone: Asia/Shanghai
Date first reproduced: 2026-09-28
What steps can reproduce the bug?
Feedback ID: 01a0eac9-19d6-7d10-af15-dc6760fbe5ee
What is the expected behavior?
Scheduled tasks should initialize the local sandbox successfully and execute commands. Running Get-Location should return the current project directory instead of failing during the setup refresh stage.
Additional information
No response
github-actions commentedon Sep 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action