Hi. I have done a clean install of Windows 10 Home 64 bits, activated with KMS_VL_ALL_6.5. I am now trying to remove disabled Windows features, using a command prompt with administrator privileges. For example: 1. Dism /online /Get-FeatureInfo /FeatureName:LegacyComponents Status: Disabled 2. Dism /online /Disable-Feature /FeatureName:LegacyComponents /Remove 100% done correctly 3. Reboot in order to disable the feature entirely 4. Dism /online /Get-FeatureInfo /FeatureName:LegacyComponents Status: Disabled Should not indicate Removed or Disabled with Payload Removed?
Here's my list for windows 8.1, I do service the image offline rather than online though but command should be similar. Currently trying to get it to work in 10 but having issues, not sure why. Code: Dism.exe" /Image:%MOUNT% /Disable-Feature /FeatureName:Microsoft-Hyper-V /FeatureName:Microsoft-Hyper-V-Tools-All /FeatureName:Microsoft-Hyper-V-All /FeatureName:Microsoft-Hyper-V-Management-Clients /FeatureName:Microsoft-Hyper-V-Management-PowerShell /FeatureName:Printing-Foundation-LPRPortMonitor /FeatureName:Printing-Foundation-LPDPrintService /FeatureName:Printing-Foundation-InternetPrinting-Client /FeatureName:ScanManagementConsole /FeatureName:SimpleTCP /FeatureName:SNMP /FeatureName:WMISnmpProvider /FeatureName:Windows-Defender-Default-Definitions /FeatureName:Windows-Identity-Foundation /FeatureName:MicrosoftWindowsPowerShellV2Root /FeatureName:MicrosoftWindowsPowerShellV2 /FeatureName:DirectoryServices-ADAM-Client /FeatureName:Internet-Explorer-Optional-amd64 /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpRedirect /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-NetFxExtensibility45 /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpLogging /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-RequestMonitor /FeatureName:IIS-HttpTracing /FeatureName:IIS-Security /FeatureName:IIS-URLAuthorization /FeatureName:IIS-RequestFiltering /FeatureName:IIS-IPSecurity /FeatureName:IIS-Performance /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-Metabase /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:IIS-HostableWebCore /FeatureName:IIS-CertProvider /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-IISCertificateMappingAuthentication /FeatureName:IIS-ODBCLogging /FeatureName:IIS-StaticContent /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-WebDAV /FeatureName:IIS-WebSockets /FeatureName:IIS-ApplicationInit /FeatureName:IIS-ASPNET /FeatureName:IIS-ASPNET45 /FeatureName:IIS-ASP /FeatureName:IIS-CGI /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-CustomLogging /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementService /FeatureName:IIS-WMICompatibility /FeatureName:IIS-LegacyScripts /FeatureName:IIS-LegacySnapIn /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc /FeatureName:IIS-FTPExtensibility /FeatureName:MSMQ-Container /FeatureName:MSMQ-Server /FeatureName:MSMQ-Triggers /FeatureName:MSMQ-ADIntegration /FeatureName:MSMQ-HTTP /FeatureName:MSMQ-Multicast /FeatureName:MSMQ-DCOMProxy /FeatureName:WCF-Services45 /FeatureName:WCF-HTTP-Activation45 /FeatureName:WCF-TCP-Activation45 /FeatureName:WCF-Pipe-Activation45 /FeatureName:WCF-MSMQ-Activation45 /FeatureName:WCF-TCP-PortSharing45 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:NetFx4-AdvSrvs /FeatureName:NetFx4Extended-ASPNET45 /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:MSRDC-Infrastructure /FeatureName:Printing-XPSServices-Features /FeatureName:SMB1Protocol /FeatureName:WorkFolders-Client /FeatureName:SearchEngine-Client-Package /Remove >>"%BUILD%\8.1 Build\Logs\RemoveFeatures.txt" here's the Result: Code: ----------------------------------------------------- | ----------------------------- Feature Name | State ----------------------------------------------------- | ----------------------------- Microsoft-Hyper-V-All | Disabled with Payload Removed Microsoft-Hyper-V-Tools-All | Disabled with Payload Removed Microsoft-Hyper-V | Disabled with Payload Removed Microsoft-Hyper-V-Management-Clients | Disabled with Payload Removed Microsoft-Hyper-V-Management-PowerShell | Disabled with Payload Removed Printing-Foundation-Features | Enabled Printing-Foundation-LPRPortMonitor | Disabled with Payload Removed Printing-Foundation-LPDPrintService | Disabled with Payload Removed Printing-Foundation-InternetPrinting-Client | Disable Pending FaxServicesClientPackage | Enabled ScanManagementConsole | Disabled with Payload Removed LegacyComponents | Enabled DirectPlay | Enable Pending SimpleTCP | Disabled with Payload Removed SNMP | Disabled with Payload Removed WMISnmpProvider | Disabled with Payload Removed Windows-Defender-Default-Definitions | Disabled Windows-Identity-Foundation | Disabled with Payload Removed MicrosoftWindowsPowerShellV2Root | Disabled with Payload Removed MicrosoftWindowsPowerShellV2 | Disable Pending DirectoryServices-ADAM-Client | Disabled with Payload Removed Internet-Explorer-Optional-amd64 | Disable Pending NetFx3 | Enable Pending IIS-WebServerRole | Disabled with Payload Removed IIS-WebServer | Disabled with Payload Removed IIS-CommonHttpFeatures | Disabled with Payload Removed IIS-HttpErrors | Disabled with Payload Removed IIS-HttpRedirect | Disabled with Payload Removed IIS-ApplicationDevelopment | Disabled with Payload Removed IIS-NetFxExtensibility | Disabled with Payload Removed IIS-NetFxExtensibility45 | Disabled with Payload Removed IIS-HealthAndDiagnostics | Disabled with Payload Removed IIS-HttpLogging | Disabled with Payload Removed IIS-LoggingLibraries | Disabled with Payload Removed IIS-RequestMonitor | Disabled with Payload Removed IIS-HttpTracing | Disabled with Payload Removed IIS-Security | Disabled with Payload Removed IIS-URLAuthorization | Disabled with Payload Removed IIS-RequestFiltering | Disabled with Payload Removed IIS-IPSecurity | Disabled with Payload Removed IIS-Performance | Disabled with Payload Removed IIS-HttpCompressionDynamic | Disabled with Payload Removed IIS-WebServerManagementTools | Disabled with Payload Removed IIS-ManagementScriptingTools | Disabled with Payload Removed IIS-IIS6ManagementCompatibility | Disabled with Payload Removed IIS-Metabase | Disabled with Payload Removed WAS-WindowsActivationService | Disabled with Payload Removed WAS-ProcessModel | Disabled with Payload Removed WAS-NetFxEnvironment | Disabled with Payload Removed WAS-ConfigurationAPI | Disabled with Payload Removed IIS-HostableWebCore | Disabled with Payload Removed IIS-CertProvider | Disabled with Payload Removed IIS-WindowsAuthentication | Disabled with Payload Removed IIS-DigestAuthentication | Disabled with Payload Removed IIS-ClientCertificateMappingAuthentication | Disabled with Payload Removed IIS-IISCertificateMappingAuthentication | Disabled with Payload Removed IIS-ODBCLogging | Disabled with Payload Removed IIS-StaticContent | Disabled with Payload Removed IIS-DefaultDocument | Disabled with Payload Removed IIS-DirectoryBrowsing | Disabled with Payload Removed IIS-WebDAV | Disabled with Payload Removed IIS-WebSockets | Disabled with Payload Removed IIS-ApplicationInit | Disabled with Payload Removed IIS-ASPNET | Disabled with Payload Removed IIS-ASPNET45 | Disabled with Payload Removed IIS-ASP | Disabled with Payload Removed IIS-CGI | Disabled with Payload Removed IIS-ISAPIExtensions | Disabled with Payload Removed IIS-ISAPIFilter | Disabled with Payload Removed IIS-ServerSideIncludes | Disabled with Payload Removed IIS-CustomLogging | Disabled with Payload Removed IIS-BasicAuthentication | Disabled with Payload Removed IIS-HttpCompressionStatic | Disabled with Payload Removed IIS-ManagementConsole | Disabled with Payload Removed IIS-ManagementService | Disabled with Payload Removed IIS-WMICompatibility | Disabled with Payload Removed IIS-LegacyScripts | Disabled with Payload Removed IIS-LegacySnapIn | Disabled with Payload Removed IIS-FTPServer | Disabled with Payload Removed IIS-FTPSvc | Disabled with Payload Removed IIS-FTPExtensibility | Disabled with Payload Removed MSMQ-Container | Disabled with Payload Removed MSMQ-Server | Disabled with Payload Removed MSMQ-Triggers | Disabled with Payload Removed MSMQ-ADIntegration | Disabled with Payload Removed MSMQ-HTTP | Disabled with Payload Removed MSMQ-Multicast | Disabled with Payload Removed MSMQ-DCOMProxy | Disabled with Payload Removed WCF-Services45 | Disabled with Payload Removed WCF-HTTP-Activation45 | Disabled with Payload Removed WCF-TCP-Activation45 | Disabled with Payload Removed WCF-Pipe-Activation45 | Disabled with Payload Removed WCF-MSMQ-Activation45 | Disabled with Payload Removed WCF-TCP-PortSharing45 | Disabled with Payload Removed WCF-HTTP-Activation | Disabled with Payload Removed WCF-NonHTTP-Activation | Disabled with Payload Removed NetFx4-AdvSrvs | Disable Pending NetFx4Extended-ASPNET45 | Disabled with Payload Removed MediaPlayback | Enabled WindowsMediaPlayer | Enabled MediaCenter | Enable Pending Microsoft-Windows-MobilePC-Client-Premium-Package-net | Disabled with Payload Removed Microsoft-Windows-MobilePC-LocationProvider-INF | Disable Pending Printing-XPSServices-Features | Disable Pending RasCMAK | Disabled with Payload Removed RasRip | Disabled with Payload Removed MSRDC-Infrastructure | Disable Pending SearchEngine-Client-Package | Disable Pending TelnetClient | Disabled with Payload Removed TelnetServer | Disabled with Payload Removed TFTP | Disabled with Payload Removed TIFFIFilter | Disabled with Payload Removed Xps-Foundation-Xps-Viewer | Enabled WorkFolders-Client | Disable Pending SMB1Protocol | Disable Pending The operation completed successfully.
Did you get it Working in 10? I've tried but it doesn't work. Same command as 8.1 to remove Code: "%DISMX64%\Dism.exe"/Image:%MOUNT% /Disable-Feature /FeatureName:Microsoft-Hyper-V-Hypervisor /FeatureName:Microsoft-Hyper-V-Services /FeatureName:Microsoft-Hyper-V /FeatureName:Microsoft-Hyper-V-Tools-All /FeatureName:Microsoft-Hyper-V-All /FeatureName:Microsoft-Hyper-V-Management-Clients /FeatureName:Microsoft-Hyper-V-Management-PowerShell /FeatureName:Printing-Foundation-LPRPortMonitor /FeatureName:Printing-Foundation-LPDPrintService /FeatureName:Printing-Foundation-InternetPrinting-Client /FeatureName:ScanManagementConsole /FeatureName:SimpleTCP /FeatureName:SNMP /FeatureName:WMISnmpProvider /FeatureName:Windows-Identity-Foundation /FeatureName:MicrosoftWindowsPowerShellV2Root /FeatureName:MicrosoftWindowsPowerShellV2 /FeatureName:DirectoryServices-ADAM-Client /FeatureName:Internet-Explorer-Optional-amd64 /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpRedirect /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-NetFxExtensibility45 /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpLogging /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-RequestMonitor /FeatureName:IIS-HttpTracing /FeatureName:IIS-Security /FeatureName:IIS-URLAuthorization /FeatureName:IIS-RequestFiltering /FeatureName:IIS-IPSecurity /FeatureName:IIS-Performance /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-Metabase /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:IIS-HostableWebCore /FeatureName:IIS-CertProvider /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-IISCertificateMappingAuthentication /FeatureName:IIS-ODBCLogging /FeatureName:IIS-StaticContent /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-WebDAV /FeatureName:IIS-WebSockets /FeatureName:IIS-ApplicationInit /FeatureName:IIS-ASPNET /FeatureName:IIS-ASPNET45 /FeatureName:IIS-ASP /FeatureName:IIS-CGI /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-CustomLogging /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementService /FeatureName:IIS-WMICompatibility /FeatureName:IIS-LegacyScripts /FeatureName:IIS-LegacySnapIn /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc /FeatureName:IIS-FTPExtensibility /FeatureName:MSMQ-Container /FeatureName:MSMQ-Server /FeatureName:MSMQ-Triggers /FeatureName:MSMQ-ADIntegration /FeatureName:MSMQ-HTTP /FeatureName:MSMQ-Multicast /FeatureName:MSMQ-DCOMProxy /FeatureName:WCF-Services45 /FeatureName:WCF-HTTP-Activation45 /FeatureName:WCF-TCP-Activation45 /FeatureName:WCF-Pipe-Activation45 /FeatureName:WCF-MSMQ-Activation45 /FeatureName:WCF-TCP-PortSharing45 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:NetFx4-AdvSrvs /FeatureName:NetFx4Extended-ASPNET45 /FeatureName:RasCMAK /FeatureName:RasRip /FeatureName:TelnetClient /FeatureName:TFTP /FeatureName:TIFFIFilter /FeatureName:MSRDC-Infrastructure /FeatureName:Printing-XPSServices-Features /FeatureName:SMB1Protocol /FeatureName:WorkFolders-Client /FeatureName:SearchEngine-Client-Package /FeatureName:LegacyComponents /FeatureName:WindowsMediaPlayer /Remove >>"%BUILD%\Logs\RemoveFeatures.txt" But it outputs where it doesn't disable/remove any of them: Not sure what I'm doing wrong?? Could it be becuase i'm doing it on a windows 8.1 system. I'm sure Dism was made to work within other systems. I've used getwaiktools to get the win10 dism and the script references it correctly. Code: Image Version: 10.0.10240.16384 Features listing for package : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 ------------------------------------------- | -------------- Feature Name | State ------------------------------------------- | -------------- LegacyComponents | Enabled DirectPlay | Enable Pending SimpleTCP | Disabled SNMP | Disabled WMISnmpProvider | Disabled Windows-Identity-Foundation | Disabled MicrosoftWindowsPowerShellV2Root | Enabled MicrosoftWindowsPowerShellV2 | Enabled Internet-Explorer-Optional-amd64 | Enabled NetFx3 | Enabled IIS-WebServerRole | Disabled IIS-WebServer | Disabled IIS-CommonHttpFeatures | Disabled IIS-HttpErrors | Disabled IIS-HttpRedirect | Disabled IIS-ApplicationDevelopment | Disabled IIS-NetFxExtensibility | Disabled IIS-NetFxExtensibility45 | Disabled IIS-HealthAndDiagnostics | Disabled IIS-HttpLogging | Disabled IIS-LoggingLibraries | Disabled IIS-RequestMonitor | Disabled IIS-HttpTracing | Disabled IIS-Security | Disabled IIS-URLAuthorization | Disabled IIS-RequestFiltering | Disabled IIS-IPSecurity | Disabled IIS-Performance | Disabled IIS-HttpCompressionDynamic | Disabled IIS-WebServerManagementTools | Disabled IIS-ManagementScriptingTools | Disabled IIS-IIS6ManagementCompatibility | Disabled IIS-Metabase | Disabled WAS-WindowsActivationService | Disabled WAS-ProcessModel | Disabled WAS-NetFxEnvironment | Disabled WAS-ConfigurationAPI | Disabled IIS-HostableWebCore | Disabled WCF-HTTP-Activation | Disabled WCF-NonHTTP-Activation | Disabled WCF-Services45 | Enabled WCF-HTTP-Activation45 | Disabled WCF-TCP-Activation45 | Disabled WCF-Pipe-Activation45 | Disabled WCF-MSMQ-Activation45 | Disabled WCF-TCP-PortSharing45 | Enabled IIS-CertProvider | Disabled IIS-WindowsAuthentication | Disabled IIS-DigestAuthentication | Disabled IIS-ClientCertificateMappingAuthentication | Disabled IIS-IISCertificateMappingAuthentication | Disabled IIS-ODBCLogging | Disabled IIS-StaticContent | Disabled IIS-DefaultDocument | Disabled IIS-DirectoryBrowsing | Disabled IIS-WebDAV | Disabled IIS-WebSockets | Disabled IIS-ApplicationInit | Disabled IIS-ASPNET | Disabled IIS-ASPNET45 | Disabled IIS-ASP | Disabled IIS-CGI | Disabled IIS-ISAPIExtensions | Disabled IIS-ISAPIFilter | Disabled IIS-ServerSideIncludes | Disabled IIS-CustomLogging | Disabled IIS-BasicAuthentication | Disabled IIS-HttpCompressionStatic | Disabled IIS-ManagementConsole | Disabled IIS-ManagementService | Disabled IIS-WMICompatibility | Disabled IIS-LegacyScripts | Disabled IIS-LegacySnapIn | Disabled IIS-FTPServer | Disabled IIS-FTPSvc | Disabled IIS-FTPExtensibility | Disabled MSMQ-Container | Disabled MSMQ-Server | Disabled MSMQ-Triggers | Disabled MSMQ-ADIntegration | Disabled MSMQ-HTTP | Disabled MSMQ-Multicast | Disabled MSMQ-DCOMProxy | Disabled NetFx4-AdvSrvs | Enabled NetFx4Extended-ASPNET45 | Disabled MediaPlayback | Enabled WindowsMediaPlayer | Enabled Printing-PrintToPDFServices-Features | Enabled Printing-XPSServices-Features | Enabled RasRip | Disabled MSRDC-Infrastructure | Enabled SearchEngine-Client-Package | Enabled TelnetClient | Disabled TFTP | Disabled Xps-Foundation-Xps-Viewer | Enabled WorkFolders-Client | Enabled SMB1Protocol | Enabled Printing-Foundation-Features | Enabled Printing-Foundation-LPRPortMonitor | Disabled Printing-Foundation-LPDPrintService | Disabled Printing-Foundation-InternetPrinting-Client | Enabled FaxServicesClientPackage | Enabled ScanManagementConsole | Disabled DirectoryServices-ADAM-Client | Disabled RasCMAK | Disabled TIFFIFilter | Disabled Microsoft-Hyper-V-All | Disabled Microsoft-Hyper-V-Tools-All | Disabled Microsoft-Hyper-V | Disabled Microsoft-Hyper-V-Services | Disabled Microsoft-Hyper-V-Hypervisor | Disabled Microsoft-Hyper-V-Management-Clients | Disabled Microsoft-Hyper-V-Management-PowerShell | Disabled Client-EmbeddedShellLauncher | Disabled MultiPoint-Connector | Disabled The operation completed successfully.
Sorry about my bad English. I did the operations described in my first post in 8.1 and the status changed to Disabled with payload removed, but in 10 it always says Disabled, although the operation was apparently done correctly.
Well it's not a great start with W10. Downloaded with the media creation tool, and you can't even mount that install.wim (invalid header). Downloaded the 10 Pro iso to see if I could do it with that and I'm having the same issue. It simply doesn't remove the payload.
They must have changed something because even when I am trying to edit an offline image under windows 10, it still shows up as just disabled.