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
Oops, something went wrong. Please report this bug with the details below.Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new### EnvironmentPSReadLine: 2.0.0PowerShell: 5.1.20348.1850OS: Microsoft Windows 10.0.20348Last 0 Keys
Exception
System.UnauthorizedAccessException: Access to the path 'PSReadLineHistoryFile_1679151030' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
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)
Looks like some kind of permission issue with the location of the file. I suggest trying to upgrade to the latest version 2.3.3 however we believe no changes were made since 2.0.0 with the mutex of this file so its likely some kind of permission issue on the machine you are using.
This issue is closed because it has been marked as requiring author feedback but has not had any activity for 7 days. If you think the issue is still relevant, please reopen and provide your feedback.
Prerequisites
Exception report
Exception
Screenshot
N/A
Environment data
Steps to reproduce
Logged into AWS instance via Session Manager
Expected behavior
Prompt
Actual behavior
Error message
The text was updated successfully, but these errors were encountered: