Hello!
I have been banging my head against my desk for the past couple weeks trying to figure out why I cannot migrate my IIS 6.0 (Server 2003) webwsites to IIS 8.5 (Server 2012 R2) using the MSDEPLOY tool.
I've used mostly used this blog post - https://blogs.msdn.microsoft.com/ericparvin/2014/09/12/migration-from-iis-6-to-iis-7-x-8-x/ - and due to our environment, I really need to be able to use the PUSH or PULL method to sync the servers. These servers are on the same subnet/workgroup and am logged in as a local administrator on both but I cannot get them to sync.
Running this code.....
msdeploy -verb:sync -source:metakey=lm/w3svc/123456 ^
-dest:metakey=lm/w3svc/123456,computername=IPADDRESS -whatif
I get this error....
Error Code: ERROR_USER_NOT_ADMIN More Information: Connected to 'IPADDRESS' using the Web Deployment Agent Service, but could not authorize. Make sure you are an administrator on 'IPADDRESS' Error: The remote server returned an error: (401) Unauthorized
Now as I mentioned, these servers are not on the domain and therefore I can't use domain admin credentials. How can I give permission to either push/pull and migrate to IIS 8.5?