How to Change the Default Mail Queue location in IIS?

  • Open IIS Manager and Stop Default Web Site
  • Copy C:\ inetpub folder to D:\ inetpub
  • Go to IIS again –> Select Default Web Site –> From the right side of the window click on Basic settings and change the physical path and click OK

  • Go to Services and stop IIS Admin Service
  • Go to system32/inetsrv folder
  • Make a backup of metabase.xml and open that file
  • Replace the path where you want by searching string- “C:\inetpub”

  • Start IIS Admin Service and SMTP service
  • Start your Default web site

BINGO!! 🙂