Windows Group Policy's
Group Policy Prevent IIS Installation
Windows Group Policy Name :- Group Policy - Prevent IIS installation
Requirements :-
Description :-
This policy setting prevents installation of Internet Information Services (IIS) on this computer. If you enable this policy setting, Internet Information Services (IIS) cannot be installed, and you will not be able to install Windows components or applications that require IIS. Users installing Windows components or applications that require IIS might not receive a warning that IIS cannot be installed because of this Group Policy setting. Enabling this setting will not have any effect on IIS if IIS is already installed on the computer. If you disable or do not configure this policy setting, IIS can be installed, as well as all the programs and applications that require IIS to run.
Note :-
Main Directory :-
Administrative Templates/
Sub Directory :-
Policy Path :-
Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Internet Information Services
Policy Path :-
Policy Path :-
Note :-
After changing group policy options, you need to update group policy. If you do not update group policy then settings will not effect. To update it just simply type below command and also sample image is shown.
Command :-
In about command we used "/force" option, this will help up to update policy options forcefully.