?
Solved

.net framwork 3.5 on windows server 2012 R2

Posted on 2016-09-22
3
Medium Priority
?
122 Views
Last Modified: 2016-09-22
Hi Experts,

I have a server and it already has .net framework 4.5 as a role. I want to install a license server for an application and it wants me to install the .net framework 3.5 but it also asks me to proceed that install with out it. What do you think shall Install the server application anyway.

The other question is if I try to add the .net framework 3.5 features, the server says it can not find the installation files. How shall I proceed please this is urgent issue.

Thanks,
0
Comment
Question by:Zak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 97

Assisted Solution

by:Experienced Member
Experienced Member earned 500 total points
ID: 41811189
It should be available in Roles and Features. Try this Microsoft article below

 https://technet.microsoft.com/en-ca/library/dn482071.aspx
0
 
LVL 14

Assisted Solution

by:Schnell Solutions
Schnell Solutions earned 500 total points
ID: 41811211
Hello,

It is that by default Windows does not include the installers for .Net framework, but you have many options to complete it, basically they consist on having access to the Internet or the installation media (USB, DVD, Network Share).

Some methods (You can use any one of them):

- INTERNET
If the computer is able to connect to the internet, just complete the process and it will connect to the Internet and download the needed files.

- CMD (As Admin, Let's say that you have the Windows Server media on the E drive)
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\Sources\sxs

- POWERSHELL (As Admin, Let's say that you have the Windows Server media on the E drive)
Install-WindowsFeature Net-Framework-Core -source E:\Sources\sxs

- GUI
Complete the process normally, but make a stop at the step of "Confirm installation selections", there you will choose the location of your source files. For example E:
0
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 1000 total points
ID: 41811308
Actually there is a bug in one of the microsoft updates that makes net3.51 unavailable (/removed).. The update added some registry values specific for .net 3.5 even if .net 3.5 was not installed.


The basics are check for KB
 Get-WindowsPackage -Online | Where-Object 'PackageName' -match '2966828' | Remove-WindowsPackage -Online -Verbose -NoRestart

Open in new window

then install .net framework
     
Install-WindowsFeature -Name NET-Framework-Core -Source X:\sxs -Restart:$false -Verbose

Open in new window

you will need the sxs folder from the installation media
Here is the code that I use in MDT    
# Determine where to do the logging 
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment 
$logPath = $tsenv.Value("_SMSTSLogPath") 
$logFile = "$logPath\$($myInvocation.MyCommand).log" 
# Start the logging 
Start-Transcript $logFile 
# Convert the task sequence variables into PowerShell variables 
$tsenv.GetVariables() | % { Set-Variable -Name "$_" -Value "$($tsenv.Value($_))" } 
# Write out a specific variable value 
Write-Host $_SMSTSMDataPath 
# Get all the variables 
Get-ChildItem Variable:
$os = get-ciminstance -class win32_OperatingSystem | Select-Object version,ProductType
write-output 'Testing for Windows Server 2012R2'
if ($os.version -like '6.3*') {
        if (($os.ProductType -eq '2') -or ($os.ProductType -eq '3')) {
        write-output ('Found Server 2012R2')
        if(Get-HotFix | Where-Object HotfixID -match  '2966828'){
        write-output ('Testing for KB2966828')
            Get-WindowsPackage -Online | Where-Object 'PackageName' -match '2966828' | Remove-WindowsPackage -Online -Verbose -NoRestart
            # Install from local sources\sxs folder
            Write-output('Found KB2966828 - removing and then installing NetFramework 3.5')
            Install-WindowsFeature -Name NET-Framework-Core -Source X:\sxs -Restart:$false -Verbose
            }
    }
}
# Stop logging 
Stop-Transcript

Open in new window

0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Table of Contents: Lesson 1 - Installing Windows Server 2012 (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11592-Become-an-Administrator-Installing-Windows-Server-2012.html) Lesson 2 - Configuring Ser…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question