Running 2 ChatGPT Codex apps and accounts side by side on Windows

Two Codex window previews above the Windows taskbar, with chat text blurred.

I have one Windows machine and two ChatGPT / Codex accounts, each for a different context, and also each with a different plan. Every time I have switched accounts so far, I have fully logged out of one Windows, an then back into another account via the multi layers of authentication. Sometimes multiple times a day, and the friction really made was starting to get annoying. I finally got two copies of the Codex app running side by side, each signed into its own account thanks to a forum post I found, and a handy dandy PowerShell shortcut on my desktop!

Both apps run from the same Microsoft Store installation, both can be loaded side by side, and both keep their own chat contexts in the correct place and don’t get confused as you log in and out of various accounts. I open one from the Start menu as usual and the other from a desktop shortcut, not ideal, and I wish there was better profile integration such as that which Chrome and many other browsers bring.

So, to the code that is working for me for a second launch shortcut…

Read more