Please follow the below steps for IIS re-installation.
A. Log in to the Windows server through RDP.
B. First you will have to copy the backup of IIS from the backup server to your server at the below path
Quote:
|
%SystemRoot%\system32\inetsrv\MetaBack
|
C. Now Go to IIS.
D. In IIS, Right click on the Computer name under Internet Information Services.
E. Click on All tasks and select Backup/Restore Configuration.
F. In the Configuration Backup/Restore box, select a backup file and click Restore. But here a portion of your backed-up configuration is restored and you will receive the message " restoration is failed" because of IIS
re-installation.
G. Now go to command prompt and fire the below command.
Quote:
|
cscript.exe C:\InetPub\AdminScripts\Adsutil.vbs enum w3svc
|
From the listed settings, you can locate the WamUserName and the associated WAMUserPass value.
H. Now go to computer management and Click Local User Managers and click Users.
Double-click the IWAM_computername user account. Type the WAMUserPass value that you retrieved from the previous step and click OK.
I. In the Configuration Backup box, select the backup file that you created and click Restore. This fully restores your IIS configuration.