Webdeploy Issues: Cannot deploy unless admin

As other's have mentioned, it is usually a problem with an expired password for the WDeployConfigWriter user in Windows Server.

What I usually do when resetting the password and configuring password never expires is not enough:

  1. Go to Windows Programs and Features
    • Select Uninstall for Web Deploy 3.6
    • Now select Repair
  2. Go to IIS Manager. Then reconfigure Web Deploy for your IIS site: You can change the old Web Deploy user´s password or delete that user and create a new user.
  3. Next, go to Start | Administrative tools | Computer Management.
  4. Then go to Local Users and Groups - check password never expires on the user WDeployConfigWriter

That usually solves my problem.


Turns out it was an expired password for the WDeployConfigWriter account.


Following changes fixed my issue.

Start >> Administrative tools >> Computer Mangement. 

There is a user called WDeployConfigWriter. Set to password never expired and updated in IIS as per the below link.

https://blog.workinghardinit.work/2011/07/18/wdeployconfigwriter-account-issues-trouble-shooting-web-deploy-2-0-with-lessons-learned/