Hi,
Thanks for your post in Microsoft Community.
I understand that you have encountered the problem of 0x800f0950 error when installing .NET framwork 3.5.
I noticed that your problem is encountered in a VM, if some method that works on a physical machine doesn't work, you can try to posthere.
You can check if the .NET framwork 4.8 framework is installed normally.
This problem can be caused if the .NET framwork 4.8 framework is currently missing from Windows.
You can click hereto download the latest .NET framwork 4.8 framework for installation, and try to install .NET framwork 3.5 again after installation.
Also, the DISM command can be retried a few times, possibly after a few attempts to install successfully.
You can also try the installation using this online install command:
dism /online /enable-feature /featurename:NetFX3
If these still do not solve your problem, then you can try reinstalling Windows on the VM to see if it is the problem of the image file.
You can click hereto download the official Windows 11 image file.
If these still can't solve your problem, you can try to post in the professional forum I mentioned at the beginning.
Hope it helps.
Kirk | Microsoft Community Support Specialist
* Beware of scammers posting fake support numbers here.
* If your problem is not solved, you could reply to the post again and we would continue to provide technical support for you.
* Please check and vote this answer if it helps as it will be beneficial to more community members reading here.