The package ‘Microsoft.NetCore.HostPath,version=17.0.31912.81,language=neutral,machinearch=x64’ failed to install due to ‘Access is denied’.
Please check if you have specialized anti-virus, enterprise group policy, app-blocker, or GPO based permission software installed that may block the installation. Temporarily disabling Windows Defender and\or Windows Defender Controlled Folder Access to retry the installation.
Besides, something (like CylancePROTECT Script Control) is preventing the powershell script required for the install from being run. Check to see if you can run powershell scripts from command line with administrative privileges.
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.