aspnet_regbrowsers.exe -i returns Access Denied


I'm getting Access Denied when I try to update .NET's Browser definition files using aspnet_regbrowsers.exe as described here. This is a process I've used for the past 10 years or so.

  • I'm logged onto the remote computer (Azure VM running Windows 10) with a user account which is in the Domain Admins group.
  • Domain Admins is listed as a member in the remote computer's local Administrators group.
  • To call this command, I'm opening a Command Prompt with "Run as Administrator", and so I see in the title bar of the Command Prompt window: "Administrator: Command Prompt".

Here is my call and the result:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regbrowsers.exe -i
Microsoft (R) ASP.NET Browser Registration Tool version 4.8.3752.0
Utility to compile ASP.Net browser files.
Copyright (C) Microsoft Corporation. All rights reserved.
ASPRUNTIME: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))


How could I possibly not have access??

FWIW - I copied over the changes to the browser files to this remote computer from my local computer, so I clearly have access to those files/folders. Compiling/installing those changes on my local machine worked correctly with the same command from an admin command prompt.

Both my local machine and the remote VM are running Windows 10 version 1909, OS Build 18363, and both have .NET Framework 4.8.03752.


I did see this question on SO, which got no answers: Access is denied while executing aspnet_regbrowsers.exe The user kirin kumar who asked that question, also asked it here: and here:

Both of those questions similarly, got basically no response. I hope my question fares better than theirs! :-)
asked on Stack Overflow Jun 26, 2020 by Stephen • edited Jun 26, 2020 by Stephen

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0