Iis – MsDeploy commands not working

iis

We are currently planning to migrate IIS 6 applications (hosted in Windows 2003) to IIS 8 on Windows 2012. We followed Microsoft instructions for using their provided tool MSDEPLOY and configured at both source as well as destination ends, but when we perform commands provided in the guide we get the below error

C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:sync  -source:metakey=l m/w3svc/1 -dest:package=c:\Site1.zip > WebDeployPackage.log

'msdeploy' is not recognized as an internal or external command,
operable program or batch file.

Note: we have followed the instructions at http://www.iis.net/learn/publish/using-web-deploy/migrate-a-web-site-from-iis-60-to-iis-7-or-above to configure MS-Deploy tool

Best Answer

Have you installed web deploy with complete option selected? If yes, then change path in command to and try. For me it is working from below path

C:\Program Files (x86)\IIS\Microsoft Web Deploy V2\

Related Topic