cannot finish Windows setup to continue
Open 💬 9 comments Opened Jul 10, 2026 by teanoaurora-lab
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.707.31428
What subscription do you have?
Plus
What platform is your computer?
Windows x64
What issue are you seeing?
<img width="380" height="95" alt="Image" src="https://github.com/user-attachments/assets/6a1f6a29-ea12-42f8-ba8e-c96715ddcb6d" /> - The User accept yes or no is not appearing. ChatGPT installer has the same issue :
<img width="901" height="871" alt="Image" src="https://github.com/user-attachments/assets/55a1702d-5c9e-43a8-84e3-1dc88d77437d" /> Yes or not question for authentication is not appearing on windows. Installed and uninstall it multiple times but the same issue appeared.
What steps can reproduce the bug?
Intall the application, and cannot move due to missing window notification.
What is the expected behavior?
_No response_
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
<img width="1067" height="824" alt="Image" src="https://github.com/user-attachments/assets/cda41da9-e664-4bbc-aeeb-4d26883d8ac7" /> I have the exact same issue i cant even skip this--
I have the same issue too
Fixed! 👍
The issue was caused by the
config.tomlfile inside the.codexfolder.First, completely close the chatgpt app using task manager. then go to the folder where Codex is installed, open the
.codexfolder, and find theconfig.tomlfile.Rename it to something like:
config.toml.oldThen open the chatgpt app again. It will automatically create a new
config.tomlfile, and everything should work.This is the safest option. Do not delete the entire .codex folder, as you could lose your backups or other saved data.
Thank you so much. It works now
On Sat, 11 Jul 2026, 21:06 Tayyab, @.***> wrote:
I've discovered another critical root cause for the "Finish Windows setup" hang (where the UAC prompt never triggers) that is related to authentication rather than Windows privileges or system features.
The Underlying Issue
If your user session has expired or the OAuth refresh token has been revoked, the desktop app fails to fetch the cloud configuration bundle (
cloudConfigBundle) during startup:This causes the backend
windowsSandbox/setupStartcall to fail with a401 Unauthorized/Autherror. Instead of displaying a prompt to log out and log in again, the Desktop UI incorrectly routes this error to the "Finish Windows setup" gate, making it appear as a permissions/sandbox setup failure.The Fix / Workaround
To break the loop and force the app to show the login screen:
%USERPROFILE%\.codex(usuallyC:\Users\<username>\.codex).auth.json.auth.jsontoauth.json.bak(or delete it).The app will now detect that no login session exists, skip the sandboxing gate, and successfully route you to the Sign In screen. Once you log back in, a fresh OAuth session will be established, and the app will open normally.
Thank u u save my life
Just had that happen to me. It was a malformed config as others have mentioned.
Possible fix would be to try to reparse it. Workaround could include forcing a new config while backing up the old one (obv done by the app automatically)
I was able to fix this issue with a permissions workaround, with help from ChatGPT.
My symptoms
config.tomldid not fix it.%LOCALAPPDATA%\ChatGPT,%APPDATA%\ChatGPT, and%LOCALAPPDATA%\Programs\ChatGPTdid not exist on my system.What fixed it
I closed ChatGPT completely, then opened PowerShell as Administrator and ran this:
In my case the output included something like:
Successfully processed 10184 files; Failed processing 0 files
processed file: C:\Users\USERNAME\.codex\.sandbox\setup_marker.json
Successfully processed 1 files; Failed processing 0 files
setup_marker.json permission fixed
After that, I opened ChatGPT normally, not as Administrator, approved the Windows permission prompt again, and the setup completed successfully. The error disappeared.
So in my case, the issue seems to have been caused by incorrect permissions on the .codex folder and/or the .codex\.sandbox\setup_marker.json file.