Why am I getting "Access is denied" message when trying to run upgrade-assistant analyze?

Stewart, Scott (JS) 1 Reputation point

When I run the command upgrade-assistant analyze I am getting the message access denied. I own the computer (I am an admin), I am the owner of the repo where the target app is. I am running Windows 10, version 21H2, Build 19044.2846. I downloaded the upgrade-assistant a few days ago and have had this problem from the start.

Microsoft Technologies based on the .NET software framework.
2,297 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 8,310 Reputation points

    The "access denied" error message you're seeing when running the upgrade-assistant analyze command could be due to a few different reasons. Here are some steps you can try to troubleshoot the issue:

    1. Check if the upgrade-assistant is running with administrator privileges. Right-click on the upgrade-assistant executable and select "Run as administrator".
    2. Check if your user account has the necessary permissions to access the files and folders related to the target application. Make sure that you have read and write access to the files and folders in the target application's directory.
    3. If the target application is stored in a remote repository, check if your user account has the necessary permissions to access the repository.
    4. Check if any antivirus or security software on your computer is blocking the upgrade-assistant from accessing the target application files. Temporarily disable any antivirus or security software and try running the command again.
    5. Try running the command from a different command prompt. Open a new command prompt with administrator privileges and try running the command again.
    0 comments No comments