Posted On October 27, 2022

How to Install Windows Dot Net 3.5 & 4.5

kimconnect 0 comments
blog.KimConnect.com >> Windows >> How to Install Windows Dot Net 3.5 & 4.5

Run these commands to check dot net 3.5:

PS C:\Windows\system32> import-module servermanager
PS C:\Windows\system32> get-windowsfeature web-asp-net

Display Name Name Install State
------------ ---- -------------
[ ] ASP.NET 3.5 Web-Asp-Net Available

Install ASP.NET 3.5:

PS C:\Windows\system32> install-windowsfeature web-asp-net 
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {ASP.NET 4.8, Application Development, ASP...

Run this command to check dot net 4.5:

PS C:\Windows\system32> get-windowsfeature Net-Framework-45-Core

Display Name Name Install State
------------ ---- -------------
[X] .NET Framework 4.8 NET-Framework-45-Core Installed

If necessary, install DotNet 4.5:

add-windowsfeature Net-Framework-45-Core

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Audit Failed Logins of A User

$username='rambo' function auditLockouts($userName,$domainController,$refreshMinutes=1){ function getLockouts($domainControler){ # Requirement: # Domain Controllers Audit Group Policy has been…

PowerShell: Quickly Test Connectivity from a List of Sources toward a Destination on a Specific Port

# testRemotePort.ps1 $connectFrom=@' windows1 windows2 '@ $connectTo=@' \\servername\sharename '@ $testPort=445 $sources=@($connectFrom -split "`n")|%{$_.Trim()} $destinations=@($connectTo -split…

Windows Server 2019 Remote Desktop Black Screen Problem

While there's no definite solution to this issue, here are some options to work around…