How to Backup and Restore IIS Default Web Site Virtual Directories for Notification Server


Article ID: 181624


Updated On:


Management Platform (Formerly known as Notification Server)





Applies To

 • Notification Server 6.0

Should a situation ever arise that you would like to remove IIS Completely and Re-install it on a Notification Server this could be helpful. Some customers prefer not to re-install Notification Server if IIS is not working properly.
This How To only describes how to back up the Virtual Directories and restore them to a previous state. It doesn't guarantee a resolution to your specific problem related to IIS.


 How do I backup and restore the IIS "Default Web Site" Virtual Directories for Notification Server?





Part 1 : Backup and RemovingBackup the "Default Web Site" in the "IIS Manager" by right clicking on the "Default Web Site", then choose "All Tasks" and left click on "Save Configuration to File" as shown in Fig.1 below.




            Figure 1.






 2.)    Enter a File Name and Path below in Fig.2   


*Confirm the existence of the "Default Web Site.xml" file in the location saved to. This is critical to ensure restoration of the Virtual Directories later.

 3.) Stop all "Altiris Services" as shown in Fig.3



Figure 3



  4.) From Start>Control Panel>Add or Remove Programs choose "Add/Remove Windows Components" . Then Uncheck the "Application Server" option and click on "Next" as shown in Fig.4 below


Figure 4






  5.) After "Windows Components Wizard" finishes uninstalling the components it will present you with a a dialog as shown in Fig.5 below. Click "Finish"



Figure 5






 6.) Go back to "Computer Management" and confirm the "IIS Manager" is no longer listed . As shown in Fig.6


 Figure 6








Part2: Re-installing and Restoring

7.) From Start>Control Panel>Add or Remove Programs choose "Add/Remove Windows Components" . Then check the "Application Server" option and click on "Details" and the "Application Server" dialog will pop up as shown in Fig.7 below.

Figure 7




8.) Choose the options as shown above and then double click on the "Internet Information Services(IIS)" option. This will present you with yet another "Internet Information Services(IIS)" Dialog. Select the following subcomponents as a minimum: "Common Files", "Internet Information Services Manager" and "World Wide Web Service". As shown below in Fig.8

Other components may be choosen with the exception of "FrontPage 2002 Server Extensions", do not check the box for the "FrontPage 2002 Server Extensions"


Figure 8




9.) From the Dialog shown in Fig.8 , Double Click on "World Wide Web Service" option and the following dialog Fig.9 will popup. From the "World Wide Web Service" dialog as a minimum select the following subcomponents: "Active Server Pages" and "World Wide Web Service"

Figure 9






Figure 10.




11.) On the "Windows Component Wizard Choose "Next" and the components that were previously select will be installed resulting in a final dialog as shown in Fig.11. Choose "Finish".

 Figure 11







  12.) Now we need to restore the backed up "Default Web Site.xml" file we saved earlier in steps 1&2. Open "Computer Management" and "Internet Information Services(IIS) Manager" and under "Web Sites" right click on "Default Web Site", then choose "New" and "Virtual Directory (from file)…" as shown below in fig.12


 Figure 12.






 13.) When the "Import Configuration" dialog pops up, Click "Browse" and select the "Default Web Site Config.xml" file that we backed up earlier in steps 1&2. As shown below in Fig.13.


 Figure 13.  




14.) Now click on "Read File" and then Click on the forward slash (/) under "Location". Then click on "OK". Fig 14 shown for reference.


 Figure 14






15.) Choose "Replace the existing virtual directory" from the next dialog "IIS Manager". As shown in Fig.15

 Figure 15







16.) Register Microsoft .Net v1.1.4320.0

From the "Start" menu click on "Command Console" and copy/past or type the following command:


C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe –i

 Fig. 16 shows an example.


  Figure 16






17.)  Go back to the "Computer Management" console and go down to the "IIS Manager"
and Click on "Web Service Extensions" , in the right hand window highlight the line "ASP.NET v1.1.4322" "Prohibited", then click on "Allow" at left to change the Status to "Allowed". Also, make sure the "Active Server Pages" is set to "Allowed" as well. See Fig.17 for example.

 Figure 17






18.) Now from the "Start" menu choose run and enter the command "iisreset" on the open line and choose "OK". See Fig.18 for example.




 19.) Now go back to the "Services" in "Computer Management" and restart all the "Altiris Services" as shown below in Fig.19


 Figure 19






In Summary: 

Now you should  have successfully,

Backed up the NS Default Web Site Virtual Directories.








Removed IIS Completely. Re-Installed IIS Registered Microsoft .Net v1.1 Restored the virtual directories to a previous state.
Figure 18
  10.) Choose "OK" three times on the Subcomponents dialog boxes. Fig.10 gives a summary before closure.


  Figure 2