-
Notifications
You must be signed in to change notification settings - Fork 89
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
"Failed to enable the autostart on Windows boot." Caused by: C drive not found. #50
Comments
#I tried this method. It can be used |
I have the same problem in Windows 11 and Arch. |
I also am not able to enable distrod startup on boot but my error is a bit different after UAC dialog and entering my password the task is not scheduled succesfully error.
|
I had this issue with Windows 10 & Oracle Linux 8. This was caused by the distro not being run as WSL2 but instead WSL1.
But systemctl/systemd itself in this case does not work either. Issuing the upgrade solved the issue
|
Hi I did #50 (comment) but still getting the same error C:\Windows\system32>wsl --set-version Distrod 2 [Distrod] Enabling atuomatic startup of Distrod. UAC dialog will appear because scheduling [Distrod][ERROR] Failed to enable the autostart on Windows boot. Caused by: |
I got it working now. Check list :
1.) Restart your machine. |
Thank you. This solution works for me on arch linux. And I found an additional issue to take care of: The subsystem must be launched in non-elevated terminal. If not, you have to terminate that distribution ( |
Unable to autostart distrod, C drive not found. Using WSL Arch.
$ sudo /opt/distrod/bin/distrod enable --start-on-windows-boot
[Distrod] Distrod has been enabled. Now your shell will start under systemd.
[Distrod] Enabling atuomatic startup of Distrod. UAC dialog will appear because scheduling
a task requires the admin privilege. Please hit enter to proceed.
[Distrod][ERROR] Failed to enable the autostart on Windows boot.
Caused by:
C drive not found.
The text was updated successfully, but these errors were encountered: