B1: Export file apppools.xml và website.xml bằng cmd (Chạy bằng mode run as administrator)
Mã:
%windir%\system32\inetsrv\appcmd add apppool /in < c:\apppools.xml
Mã:
%windir%\system32\inetsrv\appcmd list site /config /xml > c:\websites.xml
B2: Chép 2 file xml qua server mới.
B3: Chạy cmd (Run as Administrator) 2 lệnh import sau:
Mã:%windir%\system32\inetsrv\appcmd add apppool /in < c:\apppools.xml
Mã:%windir%\system32\inetsrv\appcmd add site /in < c:\websites.xml