Installing SQL Server version 10.50.4000 is failing I am attempting to install SQL Server 2008 R2 version 10.50.4000 on a virtual machine running Microsoft Windows Server 2008 R2.

When I try to install SQL Server, I get an error that, when I look it up, says I need to install and configure .NET Framework 3.5 first.

When I try to install via add features, it fails without telling my why, and I have to restart the server.

When I try to install manually, it says I have to use the installer.

When I try to install via PowerShell (Import-Module ServerManager and Add-WindowsFeature as-net-framework), I get the following error:


  Add-WindowsFeature : Installation of [.NET Framework 3.5.1 Features]
  .NET Framework 3.5.1 failed. The server needs to b e restarted to undo
  the changes. At line:1 char:19
  + Add-WindowsFeature &lt;&lt;&lt;&lt;  as-net-framework
      + CategoryInfo          : OperationStopped: (:) [Add-WindowsFeature], Exception
      + FullyQualifiedErrorId : FeatureMessageDetail,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand


There has been more failed attempts, but I can't remember all that I have done that has failed, I have had people breathing down my neck all day, so I skipped the recording what I have tried step in the name of speed... Any help would be appreciated.
I got it working. This is how I got it working... I used a CD.

I don't know why it worked. I didn't even have to use a key, and it was the same version I downloaded multiple times from the Microsoft website...