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

reinstall after power shell profile removal doesn't recreate the profile #229

Open
wangito33 opened this issue Nov 21, 2024 · 4 comments
Open

Comments

@wangito33
Copy link

Describe the bug
Uninstall fedora remix for wsl
remove the profile from powershell
reinstall
profile no more created

To Reproduce
Steps to reproduce the behavior:

  1. Uninstall fedora remix for wsl
  2. remove the profile from powershell
  3. reinstall
  4. profile no more created

Expected behavior
Same as clear install with profile added to powershell

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

Additional context
Add any other context about the problem here.

Basic Troubleshooting Checklist

[ ] I have searched Google for the error message.
[ ] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[ ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[ ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[ ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[ ] I have disabled and re-enabled WSL in Windows Features.
[ ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

Insert here:

Fedora Remix for WSL Version

Find: Settings->Apps->Apps & features->Fedora Remix for WSL Version->Advanced Options->Version.
Also, cat /etc/os-release

Insert here:

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

@crramirez
Copy link
Contributor

Hello @wangito33

Thanks for reporting. Could you please test with the latest Windows Terminal released two days ago? It looks like they fixed the issue. If it still happens tell me. I hace other options.

@wangito33
Copy link
Author

Can still reproduce it even with latest Windows terminal version.

Worse, I removed C:\Users\wang\AppData\Local\Packages\WhitewaterFoundryLtd.Co.FedoraRemixforWSLSL_agy79bm74gxpp
and it no more lets me recreate the disk.

@crramirez
Copy link
Contributor

Ok for the first issue, open the file: %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\state.json

and delete the line:

{d3f31bee-5823-5ed8-8e04-f31ed54f2cd9}

For the second, if you delete the folder, you'll need to uninstall the application from the Apps Windows Settings, and reinstall it.

@wangito33
Copy link
Author

Thank you! The profile is restored and everything works.

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

No branches or pull requests

2 participants