.NET 3.5 Framework Server or Client Install

Creation date: 3/3/2026 11:20 AM    Updated: 9/14/2026 8:00 PM   .net 3.5
You must load the respective OS iso into the dvd drive as it identifies as D: drive


If you are unable to install .NET open power shell then copy below...

$Src = 'D:\sources\sxs'      # or C:\sxs if you copied it in
$ErrorActionPreference = 'Continue'

# --- clear the GPO that overrides /Source (backed up first) -------------
$pol = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing'
if (Test-Path $pol) {
    reg export "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing" C:\servicing_policy.reg /y | Out-Null
    Remove-Item $pol -Recurse -Force
    Write-Host "Servicing policy cleared (backup: C:\servicing_policy.reg)" -ForegroundColor Yellow
}

# --- .NET 2.0 / 3.0 / 3.5 ----------------------------------------------
if (-not (Test-Path "$Src\microsoft-windows-netfx3-ondemand-package.cab")) {
    Write-Warning "No NetFx3 cab at $Src - fix the source path before continuing."
} else {
    try   { Install-WindowsFeature NET-Framework-Core -Source $Src -ErrorAction Stop | Out-Null }
    catch { dism.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:$Src /LimitAccess /NoRestart }
}

# --- SMB1 / CIFS --------------------------------------------------------
try { Install-WindowsFeature FS-SMB1 -ErrorAction Stop | Out-Null }
catch { Install-WindowsFeature FS-SMB1 -Source $Src -ErrorAction SilentlyContinue | Out-Null }

foreach ($f in 'SMB1Protocol','SMB1Protocol-Client','SMB1Protocol-Server') {
    Enable-WindowsOptionalFeature -Online -FeatureName $f -All -NoRestart -ErrorAction SilentlyContinue | Out-Null
}
Set-SmbServerConfiguration -EnableSMB1Protocol $true -Force -ErrorAction SilentlyContinue
sc.exe config mrxsmb10 start= auto | Out-Null
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi | Out-Null

# --- verify -------------------------------------------------------------
Get-WindowsFeature NET-Framework-Core,NET-Framework-Features,FS-SMB1 |
    Format-Table DisplayName,InstallState -AutoSize
(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5' -EA SilentlyContinue) |
    Select-Object @{n='NetFx3 Install';e={$_.Install}}, Version
Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol,EnableSMB2Protocol
Get-WindowsOptionalFeature -Online -FeatureName SMB1* | Format-Table FeatureName,State -AutoSize
Axapta 4.0