How to fix Visual studio professional 2022 installation problem?

Gorantla Srikanth 80 Reputation points
2024-11-05T10:16:44.0733333+00:00

While installing I am getting Access Denied error, I will share log report can you please suggest how to resolve this issue. Log Report: Package 'Microsoft.Ancm.IISExpress.Msi,version=17.11.35102.94,machinearch=x64' failed to install.

Search URL https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Ancm.IISExpress.Msi;PackageAction=Install;ReturnCode=1625 Details MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Ancm.IISExpress.Msi,version=17.11.35102.94,machinearch=x64\ancm_iis_express_x64_en.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 ALLUSERS="1" MSIFASTINSTALL="7" Return code: 1625 Return code details: This installation is forbidden by system policy. Contact your system administrator. Log C:\Users\gorantla.srikanth\AppData\Local\Temp\dd_setup_20241104173103_002_Microsoft.Ancm.IISExpress.Msi.log Impacted workloads ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.11.35102.94,productarch=x64) Azure development (Microsoft.VisualStudio.Workload.Azure,version=17.11.35102.94) Impacted components ASP.NET and web development prerequisites (Microsoft.VisualStudio.Component.Web,version=17.11.35102.94) ASP.NET and web development prerequisites (Microsoft.VisualStudio.ComponentGroup.Web,version=17.11.35102.94) Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=17.11.35102.94) Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=17.11.35102.94) Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=17.11.35102.94) Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=17.11.35102.94) Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=17.11.35102.94) Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=17.11.35102.94) Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTools,version=17.11.35102.94) Development tools for Azure Functions and Azure WebJobs (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=17.11.35102.94)

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2024-11-05T11:39:38.82+00:00

    Hi @Gorantla Srikanth

    Welcome to Microsoft Q&A! 

    Your log shows that this installation is forbidden by system policy. 

    Please check if there is an anti-virus software or group policy blocking you. 

    Besides, please check if a required certificate has been revoked. You can follow the instruction below to remove the revoked certificate:

    Search Internet Options in Windows search bar > Content > Certificates > Untrusted Publishers > Remove the publisher. 

    After removing the revoked certificate, please go to Visual Studio Installer and repair the VS 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

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.