Autodesk Vault: How to uninstall IIS and the components that Vault needs and install them again using PowerShell Scripts

Autodesk Support

Jan 22, 2025


Products and versions covered


Issue:

This article includes the commands needed to remove IIS (internet Information Services) and reinstall it on Windows Server Operating systems starting with 2012 with PowerShell. Reinstalling internet Information Services (IIS) using this method will install all the components needed by Autodesk Vault Server.

Causes:

  • Corrupted IIS install
  • Permissions issues within IIS

Solution:

The following commands require PowerShell 4.0 or later:
 
To determine the version of PowerShell installed run PowerShell as Administrator and type "$PSVersiontable.PSVersion".
PS C:\Users\username> $PSVersiontable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  610   

 
 
To remove IIS using PowerShell:
**get-windowsfeature *web*

Remove-WindowsFeature Web-Default-Doc
Remove-WindowsFeature Web-Dir-Browsing
Remove-WindowsFeature Web-Http-Errors
Remove-WindowsFeature Web-Static-Content
Remove-WindowsFeature Web-Http-Logging
Remove-WindowsFeature Web-Request-Monitor
Remove-WindowsFeature Web-Stat-Compression
Remove-WindowsFeature Web-Filtering
Remove-WindowsFeature Web-Windows-Auth
Remove-WindowsFeature Web-Net-Ext45
Remove-WindowsFeature Web-Asp-Net45
Remove-WindowsFeature Web-ISAPI-Ext
Remove-WindowsFeature Web-ISAPI-Filter
Remove-WindowsFeature Web-Mgmt-Console
Remove-WindowsFeature Web-Metabase
 

 

To install IIS:

**get-windowsfeature *web*

Install-WindowsFeature Web-Default-Doc
Install-WindowsFeature Web-Dir-Browsing
Install-WindowsFeature Web-Http-Errors
Install-WindowsFeature Web-Static-Content
Install-WindowsFeature Web-Http-Logging
Install-WindowsFeature Web-Request-Monitor
Install-WindowsFeature Web-Stat-Compression
Install-WindowsFeature Web-Filtering
Install-WindowsFeature Web-Windows-Auth
Install-WindowsFeature Web-Net-Ext45
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature Web-ISAPI-Ext
Install-WindowsFeature Web-ISAPI-Filter
Install-WindowsFeature Web-Mgmt-Console
Install-WindowsFeature Web-Metabase
set-webconfigurationproperty "/system.applicationHost/sites/siteDefaults[1]/limits[1]" -name connectionTimeout -value (New-TimeSpan -sec 1200)


After installings IIS the Vault Thin Client may fail to load, in the case follow the steps here to resolve the issue:

 

 

Products:

Vault Products;


Was this information helpful?


Need help? Ask the Autodesk Assistant!

The Assistant can help you find answers or contact an agent.


What level of support do you have?

Different subscription plans provide distinct categories of support. Find out the level of support for your plan.

View levels of support