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
It would be helpful to provide uninstall instructions on the project's README or uninstall functionality in code since this service is registered but not removable. So I thought it would be useful to post this recommendation as a # TODO ?
Examples:
Testing wsl2host.exe stop will cause failed to stop wsl2host: could not access service: The specified service does not exist as an installed service.
Testing wsl2host.exe remove will cause failed to remove wsl2host: service wsl2host is not installed
But trying to install again wsl2host.exe remove will cause failed to install wsl2host: SetupEventLogSource() failed: SYSTEM\CurrentControlSet\Services\EventLog\Application\wsl2host registry key already exists
What means the service is still on the system but cannot be removed nor reinstalled.
The text was updated successfully, but these errors were encountered:
diqidoq
changed the title
Provide uninstall instructions.
Security issue: Service not removable. Task: Provide uninstall instructions.
Oct 24, 2019
Did you upgrade your Windows Insider build? I've experienced the upgrade process removes the wsl2host service, but not cleanly. If you delete that registry key and reinstall it'll work.
I'll work on a solution so at least reinstalling it is straightforward.
It would be helpful to provide uninstall instructions on the project's README or uninstall functionality in code since this service is registered but not removable. So I thought it would be useful to post this recommendation as a # TODO ?
Examples:
Testing
wsl2host.exe stop
will causefailed to stop wsl2host: could not access service: The specified service does not exist as an installed service.
Testing
wsl2host.exe remove
will causefailed to remove wsl2host: service wsl2host is not installed
But trying to install again
wsl2host.exe remove
will causefailed to install wsl2host: SetupEventLogSource() failed: SYSTEM\CurrentControlSet\Services\EventLog\Application\wsl2host registry key already exists
What means the service is still on the system but cannot be removed nor reinstalled.
The text was updated successfully, but these errors were encountered: