Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

W8.1 Disable Features

Remove features with Dism

  • Please log in to reply
11 replies to this topic

#1
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,797 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Since using 8.1 are removing as much bloat as possible with the latest ADK. So far is working smoother than previous ADK's here's my removal list:

 

 

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WebServerRole /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Microsoft-Hyper-V-All /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Microsoft-Hyper-V-Tools-All /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Microsoft-Hyper-V /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-Clients /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-PowerShell /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:SimpleTCP /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:SNMP /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Windows-Identity-Foundation /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:DirectoryServices-ADAM-Client /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WebServerRole /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-CommonHttpFeatures /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HttpErrors /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HttpRedirect /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ApplicationDevelopment /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-NetFxExtensibility /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-NetFxExtensibility45 /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HealthAndDiagnostics /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HttpLogging /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-LoggingLibraries /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-RequestMonitor /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HttpTracing /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-Security /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-URLAuthorization /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-RequestFiltering /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-IPSecurity /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HttpCompressionDynamic /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WebServerManagementTools /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ManagementScriptingTools /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-IIS6ManagementCompatibility /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-Metabase /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WAS-WindowsActivationService /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WAS-ProcessModel /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WAS-NetFxEnvironment /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WAS-ConfigurationAPI /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-HostableWebCore /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-CertProvider /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WindowsAuthentication /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-DigestAuthentication /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ClientCertificateMappingAuthentication /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-IISCertificateMappingAuthentication /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ODBCLogging /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-StaticContent /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-DefaultDocument /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-DirectoryBrowsing /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WebDAV /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WebSockets /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ApplicationInit /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ASPNET /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ASPNET45 /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ASP /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-CGI /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ISAPIExtensions /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ISAPIFilter /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ServerSideIncludes /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-CustomLogging /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-BasicAuthentication /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ManagementConsole /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-ManagementService /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WMICompatibility /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-LegacyScripts /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-LegacySnapIn /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-FTPServer /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-FTPSvc /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-FTPExtensibility /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:MSMQ-Container /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:MSMQ-Triggers /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:MSMQ-ADIntegration /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:MSMQ-HTTP /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:MSMQ-Multicast /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:MSMQ-DCOMProxy /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WCF-HTTP-Activation45 /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WCF-TCP-Activation45 /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WCF-Pipe-Activation45 /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WCF-MSMQ-Activation45 /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WCF-HTTP-Activation /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:WCF-NonHTTP-Activation /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:RasCMAK /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:RasRip /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:TelnetClient /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:TelnetServer /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:TFTP /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:TIFFIFilter /Remove

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:Windows-Defender-Default-Definitions /Remove

 

So far I haven't broke functionality. Though more testing required! If anyone has any further to add please chime in?

 

 




How to remove advertisement from MSFN

#2
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,256 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Whatever you do, dont disable search. I tried and got an error during setup saying it could not configure feature



#3
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,797 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks Rick, can you recommend anything else that can safely be removed from 8.1?.

So far loving this OS over previous ver. W8!



#4
Cr4z33

Cr4z33

    Junior

  • Member
  • Pip
  • 68 posts
  • Joined 27-May 05

Since using 8.1 are removing as much bloat as possible with the latest ADK. So far is working smoother than previous ADK's here's my removal list:

Can you please explain me how to use that script properly?

 

I mean I have an 8.1 ISO, so how do I edit it then?

Any mounting command first? :)



#5
MrJinje

MrJinje

    Tool™ Developer

  • Developer
  • 1,031 posts
  • Joined 14-October 09
  • OS:Server 2012R2
  • Country: Country Flag

Create a folder called "C:\zmountdir" on your C drive and mount your image to it.  Here are the mount and unmount commands.

 

http://technet.micro...2(v=ws.10).aspx

Dism /Mount-Wim /WimFile:C:\test\images\install.wim /index:1 /MountDir:C:\zmountdir
Dism /Unmount-Wim /MountDir:C:\zmountdir /commit


#6
MrJinje

MrJinje

    Tool™ Developer

  • Developer
  • 1,031 posts
  • Joined 14-October 09
  • OS:Server 2012R2
  • Country: Country Flag

Whatever you do, dont disable search. I tried and got an error during setup saying it could not configure feature

 

Any plausibility this only requires a single DLL from search service and not the full feature.  Like how with nlite/vlite we only needed to save certain dll's to keep stuff from breaking


Edited by MrJinje, 17 October 2013 - 12:52 PM.


#7
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,256 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag
Would be faster if you edited your command like this (its my config)

dism /Image:D:\mount /Disable-Feature /FeatureName:Microsoft-Hyper-V-All /FeatureName:Printing-Foundation-Features /FeatureName:SimpleTCP /FeatureName:SNMP /FeatureName:Windows-Identity-Foundation /FeatureName:DirectoryServices-ADAM-Client /FeatureName:IIS-WebServerRole /FeatureName:IIS-NetFxExtensibility /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-NetFxEnvironment /FeatureName:IIS-HostableWebCore /FeatureName:MSMQ-Container /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:Microsoft-Windows-MobilePC-Client-Premium-Package-net /FeatureName:Microsoft-Windows-MobilePC-LocationProvider-INF /FeatureName:RasCMAK /FeatureName:RasRip /FeatureName:TelnetClient /FeatureName:TelnetServer /FeatureName:TFTP /FeatureName:TIFFIFilter /FeatureName:WorkFolders-Client /Remove


#8
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,797 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks Rick taken on board.



#9
Cr4z33

Cr4z33

    Junior

  • Member
  • Pip
  • 68 posts
  • Joined 27-May 05

 

Create a folder called "C:\zmountdir" on your C drive and mount your image to it.  Here are the mount and unmount commands.

 

http://technet.micro...2(v=ws.10).aspx

Dism /Mount-Wim /WimFile:C:\test\images\install.wim /index:1 /MountDir:C:\zmountdir
Dism /Unmount-Wim /MountDir:C:\zmountdir /commit

Thanks mate and sorry for the late reply! :)



#10
frankielong

frankielong
  • Member
  • 7 posts
  • Joined 10-July 10
  • OS:none specified
  • Country: Country Flag

Dear All

 

any problem when you install VC2005 or 2008 after remove the above ?



#11
Dexx

Dexx

    Newbie

  • Member
  • 16 posts
  • Joined 23-May 05

Have you refined your list since you first posted?

 

Since using 8.1 are removing as much bloat as possible with the latest ADK. So far is working smoother than previous ADK's here's my removal list:

 

 

Dism /Image:C:\zmountdir /Disable-Feature /FeatureName:IIS-WebServerRole /Remove

.............


So far I haven't broke functionality. Though more testing required! If anyone has any further to add please chime in?

 

 



#12
aphelion

aphelion

    Junior

  • Member
  • Pip
  • 74 posts
  • Joined 19-January 14
  • OS:Windows 8.1 x64
  • Country: Country Flag

Dear All

 

any problem when you install VC2005 or 2008 after remove the above ?

 

Hats the problem I had when using similar (although as pointed out here these are superior) techniques on 7. Everything was super fast and great and some random thing wouldn't work, like MM And I just disabled 30 things none of which sound directly responsible, so maybe there ia second computer i can use t trace the execution path but probably not. Do I go one by one or 54 by 5? So in the end I opted to go  full in as  then taken dispassionately, the time spent diagnosing far outweighs the speed increases.

 

However 8 installs so much quicker especially without the welcome screen so I suppose it's more reasonable

 

Edit: typos


Edited by aphelion, 02 May 2014 - 03:09 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users