como corrigir erro framework 4.8 na instalação windows server 2016

Mutual - Documentos OneDrive 0 Reputation points
2025-02-11T10:35:29.71+00:00

Framework1002.jpg

Bom dia Todos, estou com problema framework 4.8, quando vou instalar windows server 2016, ele reporta esse erro em anexo.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
777 questions
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
6 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep M 5,935 Reputation points Microsoft Vendor
    2025-02-11T11:06:00.4666667+00:00

    Hi Mutual - Documentos OneDrive,  

    Thank you for reaching out to Microsoft Q & A forum. 

    The error "HRESULT 0x800f081e" when installing .NET Framework 4.8 on Windows Server 2016 usually means the feature is already installed, disabled, or blocked by system policies. Try these steps to resolve it: 

    1.Check if .NET Framework 4.8 is already installed: 

    Run the following in PowerShell (Admin): 

    Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" | Select Release
    
    

    If the release number is 528040 or higher, .NET 4.8 is already installed, and no further action is needed. Otherwise, proceed with the next steps.

    2.Enable .NET Framework 4.8 manually: 

    Open PowerShell as Administrator and run 

    DISM /Online /Enable-Feature /FeatureName:NetFx4
    
    

    3.Ensure Windows Server is fully updated: 

    Go to Settings → Update & Security → Windows Update and install all pending updates,

    4.Try the offline installer: 

    Download the .NET Framework 4.8 installer from the Microsoft .NET Download Page

    5.Repair system files if needed: 

    Run these commands in Command Prompt (Admin): 

    sfc /scannow  
    DISM /Online /Cleanup-Image /RestoreHealth
    
    

    Please feel free to contact us if you have any additional questions.     

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.  


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.