Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have many websites hosted on IIS6 and I want to migrate them to IIS7. It is enough if the basic configuration (folder, virtual folders inside, hostheaders, ) is migrated. a great part of the configuration is in web.config anyway. It is even okay if they're just created as "classic" mode applications.

I have tried the following things:

Msdeploy. This copies the whole directoried though, not good... Tried exporting the iis websites to xml... Found nothing to give them to iis7... Anybody got an idea?

share|improve this question
up vote 2 down vote accepted

I can answer my own question:

You can use MSDeploy. But you have to add this argument: -disableLink:Content

This will prevent copying all the files.

For example now:

msdeploy -verb:sync -disableLink:Content -source:metakey=lm/w3svc/1 -dest:package=c:\ > WebDeployPackage.log
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.