- Failed to upgrade to 2.3.0.5
Attempted to perform an unauthorized operation. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind) at CommunityInstaller.AutoStartAction.DoAsync(CancellationToken cancelToken) at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__34.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__29.MoveNext() exit code 1 at CommunityInstaller.InstallWorkflow.<>c__DisplayClass31_0.<HandlePrePackagedExeAsync>b__0() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CommunityInstaller.InstallWorkflow.<HandlePrePackagedExeAsync>d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__29.MoveNext()
Solution:
Don’t upgrade - Failed to use WSL 2
Minimum version for WSL 2:
Runwinver
, e.g.Windows 10 Version 2004 (OS Build 19041.329)
Version 1903 build 18362 needs to join Windows Insider Program
Solution:
Cannot use WSL 2 on low versions of Windows 10.
FYI, how to convert docker to WSL 2:
https://docs.docker.com/docker-for-windows/wsl/