Service 'Multi-Compartment Network Proxy Service (MultiCompartmentNetworkProxyS ervice)' cannot be stopped due to the following error: Cannot stop MultiCompart mentNetworkProxyService service on computer '.'. + CategoryInfo : CloseError: (System.ServiceProcess.ServiceContro ller:ServiceController) [Restart-Service], ServiceCommandException + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Command s.RestartServiceCommand + PSComputerName : xRPVM.AzureStack.local
I want to point out that i am not running all official requirement for the Azure Stack Deployment, since i am not booting from the included .vhdx file because i am a bit short on disk space. So this issue might not occur if you follow all the rules… 🙄
But since this issue took me a while to overcome and it’s the second time this happens I though I write a quick blog about it.
If you run into this error message you have probably have done some research on the vm XRPVM… just like me.. and you couldn’t find anything running with the name “Multi-Compartment Network Proxy Service” on that VM… just like me 🙂
Turns out the error message is pointing you in the wrong direction. The Multi-Compartment Network Proxy enables the agent inside the VM to reach the metadata server and report back status.
When you look on the Hyper-V Host you see that the service is running on the host and not the XRPVM.. If you try and stop the service you get an error message. So you have to kill the process. After that it is started within seconds and you can try a rerun with “.\DeployAzureStack.ps1”.
After this it will probably finish successfully.