Trouble installing Docker Desktop for Windows

This is my log file

Version: 4.33.1 (161083)
Sha1: 
Started on: 2024/09/23 00:08:40.897
Resources: C:\Users\samtg\Downloads\resources
OS: Windows 10 Pro
Edition: Professional
Id: 2009
Build: 22631
BuildLabName: 22621.1.amd64fre.ni_release.220506-1250
File: C:\ProgramData\DockerDesktop\install-log-admin.txt
CommandLine: "C:\Users\samtg\Downloads\Docker Desktop Installer (1).exe" "install" -package "res:DockerDesktop" --relaunch-as-admin
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[2024-09-23T00:08:42.260495700Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key
[2024-09-23T00:08:42.268505300Z][Installer][I] No installation found
[2024-09-23T00:08:42.833806400Z][InstallWorkflow][I] Using package: res:DockerDesktop
[2024-09-23T00:08:42.884281300Z][InstallWorkflow][I] Downloading
[2024-09-23T00:08:43.774348300Z][InstallWorkflow][I] Extracting manifest
[2024-09-23T00:08:44.116437400Z][InstallWorkflow][I] Manifest found: version=161083, displayVersion=4.33.1, channelUrl=https://desktop-stage.docker.com/win/main/amd64/appcast.xml
[2024-09-23T00:08:44.116437400Z][InstallWorkflow][I] Checking prerequisites
[2024-09-23T00:08:44.134430100Z][InstallWorkflow][I] Prompting for optional features
[2024-09-23T00:08:47.185712000Z][InstallWorkflow][I] Selected backend mode: wsl-2
[2024-09-23T00:08:47.185712000Z][InstallWorkflow][I] Unpacking artifacts
[2024-09-23T00:09:54.922719900Z][InstallWorkflow][I] Deploying component Docker.Installer.CreateGroupAction
[2024-09-23T00:10:01.774896400Z][InstallWorkflow][I] Deploying component Docker.Installer.AddToGroupAction
[2024-09-23T00:10:08.598597100Z][InstallWorkflow][I] Deploying component Docker.Installer.EnableFeaturesAction
[2024-09-23T00:10:08.616592300Z][InstallWorkflow][E] Installation failed System.Exception: Component Docker.Installer.EnableFeaturesAction failed: Class not registered
 ---> System.Runtime.InteropServices.COMException: Class not registered

   at System.Management.ThreadDispatch.Start()
   at System.Management.ManagementScope.Initialize()
   at System.Management.ManagementObject.Initialize(Boolean getObject)
   at System.Management.ManagementClass.GetInstances(EnumerationOptions options)
   at Docker.Installer.EnableFeaturesAction.GetFeaturesToEnable()
   at Docker.Installer.EnableFeaturesAction.<DoAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
   --- End of inner exception stack trace ---
   at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
[2024-09-23T00:10:08.617585000Z][InstallWorkflow][I] Rollbacking component Docker.Installer.AddToGroupAction
[2024-09-23T00:10:08.618592000Z][InstallWorkflow][I] Rollbacking component Docker.Installer.CreateGroupAction
[2024-09-23T00:10:08.618592000Z][InstallWorkflow][I] Rollbacking component Docker.Installer.UnpackArtifactsStep
[2024-09-23T00:10:08.629593100Z][FileSystem][I] Deleting C:\Program Files\Docker\Docker
[2024-09-23T00:10:08.848761100Z][FileSystem][I] Deleted C:\Program Files\Docker\Docker successfully
[2024-09-23T00:10:08.848761100Z][InstallWorkflow][I] Rollbacking component Docker.Installer.ExtractManifestStep
[2024-09-23T00:10:08.848761100Z][InstallWorkflow][I] Rollbacking component Docker.Installer.DownloadStep

It seems to be an error that has to be fixed in the app. You can still check the requirements

https://docs.docker.com/desktop/install/windows-install/#system-requirements.

There are newer versions as well, so you should try downloading the latest version from the release page to make sure you are downloading the right version

If nothing helps, please, open an issue on GitHub as the log suggests.