Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x86' failed to install - Access is denied

Bonilla, Oscar (Cognizant) 25 Reputation points
2023-11-18T01:30:38.7033333+00:00

Today I was updating my visual studio 2022 from 17.5.5 to 17.8 by using the visual studio installer and I got the next error:

Something went wrong with the install.

You can troubleshoot the package failures by:

    1. Search for solutions using the search URL below for each package failure
    2. Modify your selections for the affected workloads or components and then retry the installation
    3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================================================

Package 'Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x86' failed to install.
    Search URL
        https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=5
    Details
        Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -Noninteractive -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x86\VCRedistInstall.ps1""" -PayloadDirectory """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x86""" -Architecture x86 -Logfile """C:\Users\HA847JC\AppData\Local\Temp\dd_setup_20231116145605_263_Microsoft.VisualCpp.Redist.14.log"""; exit $LastExitCode"
        Return code: 5
        Return code details: Access is denied.
    Log
        C:\Users\HA847JC\AppData\Local\Temp\dd_setup_20231116145605_263_Microsoft.VisualCpp.Redist.14.log
    Impacted workloads
        .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=17.8.34129.139,productarch=x64)
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.8.34129.139,productarch=x64)
        Azure development (Microsoft.VisualStudio.Workload.Azure,version=17.8.34129.139)
        Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=17.8.34129.139)
    Impacted components
        .NET Debugging with WSL (Microsoft.VisualStudio.Component.WslDebugging,version=17.8.34129.139)
        .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=17.8.34129.139)
        .NET profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools,version=17.8.34129.139)
        ASP.NET and web development prerequisites (Microsoft.VisualStudio.Component.Web,version=17.8.34129.139)
        ASP.NET and web development prerequisites (Microsoft.VisualStudio.ComponentGroup.Web,version=17.8.34129.139)
        Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=17.8.34129.139)
        Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=17.8.34129.139)
        Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=17.8.34129.139)
        Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=17.8.34129.139)
        Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=17.8.34129.139)
        Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=17.8.34129.139)
        C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=17.8.34129.139)
        Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTools,version=17.8.34129.139)
        Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=17.8.34129.139)
        Development tools for .NET (Microsoft.NetCore.Component.DevelopmentTools,version=17.8.34129.139)
        Development tools for Azure Functions and Azure WebJobs (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=17.8.34129.139)
        F# language support (Microsoft.VisualStudio.Component.FSharp,version=17.8.34129.139)
        F# language support for web projects (Microsoft.VisualStudio.Component.FSharp.WebTemplates,version=17.8.34129.139)
        IntelliTrace (Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd,version=17.8.34129.139)
        Live Share (Component.Microsoft.VisualStudio.LiveShare.2022,version=1.0.5886)
        Live Unit Testing (Microsoft.VisualStudio.Component.LiveUnitTesting,version=17.8.34129.139)
        Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=17.8.34129.139)
        Razor Language Services (Component.Microsoft.VisualStudio.RazorExtension,version=17.8.34129.139)
        Redgate SQL Change Automation 2022 (Component.Redgate.ReadyRoll.VS2022,version=4.6.23194.1777)
        SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=17.8.34129.139)
        Web development tools for .NET (Microsoft.NetCore.Component.Web,version=17.8.34129.139)

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,818 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,705 questions
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 26,646 Reputation points Microsoft Vendor
    2023-11-20T07:22:39.1833333+00:00

    Hi @Bonilla, Oscar (Cognizant), 

    Welcome to Microsoft Q&A! 

    Thanks for your sharing! I am glad to hear that you can use the VS2022 version 17.9 Preview successfully. 

    For the update issue with version 17.8, I will share some ideas and you can have a try again. 

    About the error message “Access is denied”, it seems to be caused by insufficient permission.

    Please verify that you, Administrators and SYSTEM have sufficient permission like Full Control/Read/Write to the directory ‘C:\ProgramData\Microsoft\VisualStudio\Packages’. 

    Besides, if you have any anti-virus, enterprise group policy, app-blocker, or GPO based permission software installed, please temporarily disable them. Then, go to Visual Studio Installer and repair the installation.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     


0 additional answers

Sort by: Most helpful