none
Non-admin user can't deploy windows service via msdeploy in windows 2012 RRS feed

  • Question

  • I am deploying a windows service on 2012 server using below msdeploy command. While doing so I am getting "ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER" issue. But for which the user should be non-admin since I have created delegation rule for that user & provided required permissions. Also I have followed few more things suggested in this website(http://www.jamescrowley.co.uk/2011/09/05/deploying-windows-services-using-msdeploy/) but still getting same issue. Can you please provide fix for this? 

    issue:

    “C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe” -verb:sync -preSync:runCommand=’mypath\Uninstall_Service.cmd’,waitInterval=30000 -source:package=’mypackage.zip’ -dest:manifest=”mypackage.DestinationManifest.xml”,computerName=”https://myserver:8172/MSDeploy.axd?site=Default Web Site”,userName=”myserviceaccount”,password=”#########”,authtype=”Basic”,includeAcls=”False” -setParamFile:”mypackage.SetParameters.xml” -postSync:runCommand=’mypath\Install_Service.cmd’,waitInterval=30000 -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -allowUntrusted

    Wednesday, April 6, 2016 8:11 AM