- 
                Notifications
    You must be signed in to change notification settings 
- Fork 317
Closed
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
S C:\Windows\ServiceProfiles\NetworkService\Desktop>                                                                   Oops, something went wrong.                                                                                             Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections.           Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.yaml                   Thank you!                                                                                                                                                                                                                                      ### Environment                                                                                                         PSReadLine: 2.3.5+2cc85806c561a9395751a96a818e8ff1592d19f7                                                              PowerShell: 7.4.6                                                                                                       OS: Microsoft Windows 10.0.19045                                                                                        BufferWidth: 120                                                                                                        BufferHeight: 9001                                                                                                                                                                                                                              Last 0 Keys:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ### Exception                                                                                                                                                                                                                                   System.UnauthorizedAccessException: Access to the path 'PSReadLineHistoryFile_4175510596' is denied.                       at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, 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)Screenshot
N/A, its crashes on startup
Environment data
cant blud, keeps on crashing, yes i have pressed Ctrl + CSteps to reproduce
run Powershell 7 as NT AUTHORITY\NETWORK SERVICE using something like Process Hacker, watch it error out
Expected behavior
It works
Actual behavior
crashes upon boot
Metadata
Metadata
Assignees
Labels
No labels