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
Search the existing issues, especially the pinned issues.
Exception report
### EnvironmentPSReadLine: 2.4.5PowerShell: 7.6.6OS: Microsoft Windows 10.0.26100BufferWidth: 120BufferHeight: 9001Last 0 Keys:### ExceptionSystem.UnauthorizedAccessException: Access to the path 'PSReadLineHistoryFile_2300680655' is denied. at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, NamedWaitHandleOptionsInternal options, Boolean& createdNew) at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name) at Microsoft.PowerShell.PSConsoleReadLine.DelayedOneTimeInitialize() at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics) at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken, Nullable`1 lastRunStatus)
Reproduction may be a little more complicated. I stumbled upon it while trying my agent-win-sandbox and modified the parameter of the launch-as.exe to --mode interactive.
Which then creates a interactive logon session for a different user profile via CreateProcessAsUser API.
Also this is run in a windows sandbox (WSB).
Activity