The referenced assembly could not be found. Error: 0x80073701
Closed this issue · 7 comments
@philipt99 Hi, what OS version are you using? And are you running this script in an elevated PowerShell window?
@ntrappe-msft @ritikaguptams
Sorry for not being more specific. This is on Windows Server 2019 Standard 1809 running as Administrator
Could you check if you have the Add-WindowsFeature
cmdlet installed? Just run the following and you should see that ServerManager is present (it owns Add-WindowsFeature
).
Get-Module -ListAvailable -Name ServerManager
@philipt99 Hi, thanks for showing the output. I was hoping it was just the case that Add-WindowsFeature
wasn't installed properly or available. Since that's not it, there may be a permissions error with your script trying to install something the system isn't allowing. I'm attending Build this week so I won't be able to investigate until next week. Thanks for your patience.
I went ahead and upgraded to Windows Server 2022 and got it running under that.
@philipt99 I'm glad it's working with Windows Server 2022. 2019 seems to have significant differences between the commands you can run or information you can query. I'll see if we plan to add 2019 support to the script. I'll close this for now but link it with any PRs we submit for 2019.