How can I use codex/ccmax when my company banned the Windows powershell?

Open 💬 0 comments Opened Jul 20, 2026 by fzc721216

In vscode codex plugin:

I’m trying to analyze memory.go in my workspace:
D:\personalpro\nanobot

However, every read-only shell command fails. Running the command inside the sandbox produces:

windows sandbox: CreateProcessWithLogonW failed: 1385
Error 1385 indicates that the required logon type has not been granted to the user.

When I approve elevated execution and retry, it fails with:

OS error 1260: This program is blocked by group policy.
For more information, contact your system administrator.
This happens with both PowerShell commands such as Get-Content and commands executed through cmd.exe.

I tried configuring CCSwitch to use Git Bash as the shell by adding command-line parameters, but it didn’t work.

What can i do? Thank you all for your help and answers.

View original on GitHub ↗