Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reading or writing history file '...\PSReadLine\ConsoleHost_history.txt': Access to the path '...\PSReadLine\ConsoleHost_history.txt' is denied. #4270

Closed
si458 opened this issue Jul 14, 2022 · 2 comments
Assignees
Labels

Comments

@si458
Copy link
Collaborator

si458 commented Jul 14, 2022

Describe the bug

when using the admin powershell, after running the first command you get this error

Error reading or writing history file 'C:\windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt': Access to the path 'C:\windows\syste
m32\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt' is denied.

but also its not remembering the history of commands being run

To Reproduce
Steps to reproduce the behavior:

  1. open up terminal
  2. right click and click 'Admin powershell'
  3. run any powershell/cmd command e.g net stats workstation

Expected behavior
not show this error, also remember powershell history?

Screenshots
If applicable, add screenshots to help explain your problem.

Server Software (please complete the following information):

  • OS: [e.g. Ubuntu] Alpine
  • Virtualization: [e.g. Docker] Docker
  • Network: [e.g. LAN/WAN, reverse proxy, cloudflare, ssl offload, etc...] WAN, Traefik Proxy, Offload TLS
  • Version: [e.g. 1.0.43] 1.0.51
  • Node: [e.g. 18.4.0] 18.5.0
  • Browser: [e.g. Google Chrome] Firefox

Remote Device (please complete the following information):

  • Device: [e.g. Laptop] Computer
  • OS: [e.g. Windows 10] Windows 10
  • Version: [e.g. 21H2] 21H2
  • Current Core Version (if known): [HINT: Go to a device then console Tab then type info]

Additional context
Add any other context about the problem here.

Your config.json file
N/A

@Ylianst
Copy link
Owner

Ylianst commented Jul 14, 2022

Looks like one for Bryan who works on the agent.

@si458 si458 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2023
@CityguyUSA
Copy link

Looks like Bryan's not interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants