-
Notifications
You must be signed in to change notification settings - Fork 0
/
installiisfeatures.cmd
executable file
·64 lines (58 loc) · 4.32 KB
/
installiisfeatures.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
rem dism /online /enable-feature /all
dism /online /enable-feature /all /FeatureName:IIS-WebServerRole
dism /online /enable-feature /all /FeatureName:IIS-WebServer
dism /online /enable-feature /all /FeatureName:IIS-CommonHttpFeatures
dism /online /enable-feature /all /FeatureName:IIS-Security
dism /online /enable-feature /all /FeatureName:IIS-RequestFiltering
dism /online /enable-feature /all /FeatureName:IIS-StaticContent
dism /online /enable-feature /all /FeatureName:IIS-DefaultDocument
dism /online /enable-feature /all /FeatureName:IIS-DirectoryBrowsing
dism /online /enable-feature /all /FeatureName:IIS-HttpErrors
dism /online /enable-feature /all /FeatureName:IIS-HttpRedirect
dism /online /enable-feature /all /FeatureName:IIS-WebDAV
dism /online /enable-feature /all /FeatureName:IIS-ApplicationDevelopment
dism /online /enable-feature /all /FeatureName:IIS-WebSockets
dism /online /enable-feature /all /FeatureName:IIS-ApplicationInit
dism /online /enable-feature /all /FeatureName:IIS-NetFxExtensibility
dism /online /enable-feature /all /FeatureName:IIS-NetFxExtensibility45
dism /online /enable-feature /all /FeatureName:IIS-ISAPIExtensions
dism /online /enable-feature /all /FeatureName:IIS-ISAPIFilter
dism /online /enable-feature /all /FeatureName:IIS-ASPNET
dism /online /enable-feature /all /FeatureName:IIS-ASPNET45
dism /online /enable-feature /all /FeatureName:IIS-ASP
dism /online /enable-feature /all /FeatureName:IIS-CGI
dism /online /enable-feature /all /FeatureName:IIS-ServerSideIncludes
dism /online /enable-feature /all /FeatureName:IIS-HealthAndDiagnostics
dism /online /enable-feature /all /FeatureName:IIS-HttpLogging
dism /online /enable-feature /all /FeatureName:IIS-LoggingLibraries
dism /online /enable-feature /all /FeatureName:IIS-RequestMonitor
dism /online /enable-feature /all /FeatureName:IIS-HttpTracing
dism /online /enable-feature /all /FeatureName:IIS-CustomLogging
dism /online /enable-feature /all /FeatureName:IIS-ODBCLogging
dism /online /enable-feature /all /FeatureName:IIS-CertProvider
dism /online /enable-feature /all /FeatureName:IIS-BasicAuthentication
dism /online /enable-feature /all /FeatureName:IIS-WindowsAuthentication
dism /online /enable-feature /all /FeatureName:IIS-DigestAuthentication
dism /online /enable-feature /all /FeatureName:IIS-ClientCertificateMappingAuthentication
dism /online /enable-feature /all /FeatureName:IIS-IISCertificateMappingAuthentication
dism /online /enable-feature /all /FeatureName:IIS-URLAuthorization
dism /online /enable-feature /all /FeatureName:IIS-IPSecurity
dism /online /enable-feature /all /FeatureName:IIS-Performance
dism /online /enable-feature /all /FeatureName:IIS-HttpCompressionStatic
dism /online /enable-feature /all /FeatureName:IIS-HttpCompressionDynamic
dism /online /enable-feature /all /FeatureName:IIS-WebServerManagementTools
dism /online /enable-feature /all /FeatureName:IIS-ManagementConsole
dism /online /enable-feature /all /FeatureName:IIS-LegacySnapIn
dism /online /enable-feature /all /FeatureName:IIS-ManagementScriptingTools
dism /online /enable-feature /all /FeatureName:IIS-ManagementService
dism /online /enable-feature /all /FeatureName:IIS-IIS6ManagementCompatibility
dism /online /enable-feature /all /FeatureName:IIS-Metabase
dism /online /enable-feature /all /FeatureName:IIS-WMICompatibility
dism /online /enable-feature /all /FeatureName:IIS-LegacyScripts
dism /online /enable-feature /all /FeatureName:IIS-FTPServer
dism /online /enable-feature /all /FeatureName:IIS-FTPSvc
dism /online /enable-feature /all /FeatureName:IIS-FTPExtensibility
dism /online /enable-feature /all /FeatureName:IIS-HostableWebCore
dism /online /enable-feature /all /FeatureName:Microsoft-Windows-Web-Services-for-Management-IIS-Extension
Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
exit 0