WSABuilds icon indicating copy to clipboard operation
WSABuilds copied to clipboard

[ERROR] WARNING: Need restart to enable virtual machine platform Press y to restart or press any key to exit

Open ahmeddzairdev-ctrl opened this issue 5 months ago • 4 comments

Describe the bug

i have windows 11 25H2 and im using this stable version of wsa : WSA_2407.40000.4.0_x64

i have ryzen 5 3500x and rx 7600 and asrock b450m ac r2.0 wifi , i enabled amd hyper-v and still i have this weird issue . note : WSL for example works pretty fine . here is the log :

Enable-WindowsOptionalFeature : Un ou plusieurs membres requis de la transaction sont absents. At C:\Users\Informatics\Documents\WSA_2407.40000.4.0_x64\Install.ps1:111 char:5

  • Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName 'Vi ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
    • FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

WARNING: Need restart to enable virtual machine platform ( IT IS ) Press y to restart or press any key to exit

Steps to reproduce the issue

IDK

Expected behaviour

working

Downloaded Build Of WSA

WSA_2407.40000.4.0_x64

Windows build number

26200.8246

PC Specification

i already told u

Additional context

i wish i have the fix for this problem please

ahmeddzairdev-ctrl avatar Jun 04 '26 12:06 ahmeddzairdev-ctrl

to fix this issue

Press WIN + R on your keyboard type optionalfeatures into the box and press Enter Scroll down until you find Virtual Machine Platform and check its box. Do the same for Hyper-V Platform and check that box as well Reboot your computer Once your PC boots back you are close you just need to enable Virtual Machine Platform in the BIOS/UEFI options to toggle it make sure your pc is off after enabling those features and turn on your pc make sure to quickly toggle f2 if your pc is dell or hp toggle f10 if your also using hp use the arrows to enable and select and enter save changes then after your done to make sure if you are using Virtual Machine Platform go to task manager however if you cant find task manager try WIN + x you will see a button that says task manager click it and go to perfromance and cpu you will see something that says virtualization : enabled

note

if you are having some issue in WSA try to rename your wsa folder for like an example fromWSA_2407.40000.4.0_x64 to WSA hope this helps

Super-Linux avatar Jun 16 '26 19:06 Super-Linux

i had some windows files missing . now i fully repair windows and enable virtual machine platform

ahmeddzairdev-ctrl avatar Jun 18 '26 13:06 ahmeddzairdev-ctrl

ill try now

ahmeddzairdev-ctrl avatar Jun 18 '26 13:06 ahmeddzairdev-ctrl

@ahmeddzairdev-ctrl What do you mean by missing windows files?

You can check if you have missing or corrupted Windows system files by running the built-in system repair utilities.

Open Command Prompt as Administrator and run these commands in order:

DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Make sure to let both commands finish completely to 100%,

Super-Linux avatar Jun 20 '26 23:06 Super-Linux