Alternativa para o DISM para remoção de pacotes no Windows 10 [closed]

0

Existe alguma maneira - manual ou automatizada - que permite a remoção de pacotes de instalação do Windows no modo offline (wim montado) - além do DISM?

Qualquer solução automatizada deve suportar a remoção através do WinApi e precisa suportar o Windows 10. A remoção do pacote precisa ser precisa da maneira que o DISM o faz, portanto, uma solução simples de quais arquivos excluir não é suficiente. O registro e possivelmente outros arquivos precisam ser modificados de acordo.

As únicas ferramentas que conheço podem fazer o trabalho:

  • Imagex: MS-Tool. Deprecado pelo DISM. Não suportado no Win 10.
  • PkgMgr: MS-Tool. Depreciado pelo DISM, mas funciona no Windows 10.
  • DISM: a ferramenta atual de gerenciamento de pacotes da Microsoft.
  • cmdlet Remove-AppxPackage do PowerShell: funciona apenas no sistema em direto. Não suporta arquivos wim montados.

Existe alguma maneira (suportada pelo MS) para remover pacotes manualmente de uma maneira apropriada da maneira que o DISM o faz ou através de outros meios, como o WinAPI ou outras ferramentas?

    
por Zerobinary99 08.09.2015 / 19:25

1 resposta

2

Enable-WindowsOptionalFeature e Disable-WindowsOptionalFeature é o 'equivalente' do Powershell do DISM. Peter Hahndorf tem uma discussão sobre as ferramentas e uma lista de seus nomes em seu blog, link . A lista que é suportada pelo * -WindowsOptionalFeature é a seguinte:

ActiveDirectory-PowerShell 
ADCertificateServicesManagementTools 
ADCertificateServicesRole 
AdminUI 
Application-Server 
Application-Server-HTTP-Activation 
Application-Server-MSMQ-Activation 
Application-Server-Pipe-Activation 
Application-Server-TCP-Activation 
Application-Server-TCP-Port-Sharing 
Application-Server-WAS-Support 
Application-Server-WebServer-Support 
AppServer 
AS-Dist-Transaction 
AS-Ent-Services 
AS-Incoming-Trans 
AS-NET-Framework 
AS-Outgoing-Trans 
AS-WS-Atomic 
AuthManager 
BdeAducExtTool 
BiometricFramework 
BitLocker 
BitLocker-NetworkUnlock 
BitLocker-RemoteAdminTool 
Bitlocker-Utilities 
BITS 
BITSExtensions-AdminPack 
BITSExtensions-Upload 
BusScan-ScanServer 
CCFFilter 
CertificateEnrollmentPolicyServer 
CertificateEnrollmentServer 
CertificateServices 
CertificateServicesManagementTools 
ClientForNFS-Infrastructure 
CoreFileServer 
CoreFileServer-RSAT 
DamgmtTools 
DataCenterBridging 
Dedup-Core 
DesktopExperience 
DfsMgmt 
DFSN-Server 
DFSR-Infrastructure-ServerEdition 
DHCPServer 
DHCPServer-Tools 
DirectoryServices-ADAM 
DirectoryServices-ADAM-Tools 
DirectoryServices-AdministrativeCenter 
DirectoryServices-DomainController 
DirectoryServices-DomainController-Tools 
DirectoryServices-ISM-Smtp 
DirectPlay 
DNS-Server-Full-Role 
DNS-Server-Tools 
DSC-Service 
EnhancedStorage 
FailoverCluster-AdminPak 
FailoverCluster-AutomationServer 
FailoverCluster-CmdInterface 
FailoverCluster-FullServer 
FailoverCluster-Mgmt 
FailoverCluster-PowerShell 
FaxServiceConfigRole 
FaxServiceRole 
FileAndStorage-Services 
FileServerVSSAgent 
File-Services 
File-Services-Search-Service 
FRS-Infrastructure 
FSRM-Infrastructure 
FSRM-Infrastructure-Services 
FSRM-Management 
Gateway 
Gateway-UI 
HCAP-Server 
HCSRuntime 
HCSUI 
IAS NT Service 
IdentityServer-SecurityTokenService 
IIS-ApplicationDevelopment 
IIS-ApplicationInit 
IIS-ASP 
IIS-ASPNET 
IIS-ASPNET45 
IIS-BasicAuthentication 
IIS-CertProvider 
IIS-CGI 
IIS-ClientCertificateMappingAuthentication 
IIS-CommonHttpFeatures 
IIS-CustomLogging 
IIS-DefaultDocument 
IIS-DigestAuthentication 
IIS-DirectoryBrowsing 
IIS-FTPExtensibility 
IIS-FTPServer 
IIS-FTPSvc 
IIS-HealthAndDiagnostics 
IIS-HostableWebCore 
IIS-HttpCompressionDynamic 
IIS-HttpCompressionStatic 
IIS-HttpErrors 
IIS-HttpLogging 
IIS-HttpRedirect 
IIS-HttpTracing 
IIS-IIS6ManagementCompatibility 
IIS-IISCertificateMappingAuthentication 
IIS-IPSecurity 
IIS-ISAPIExtensions 
IIS-ISAPIFilter 
IIS-LegacyScripts 
IIS-LegacySnapIn 
IIS-LoggingLibraries 
IIS-ManagementConsole 
IIS-ManagementScriptingTools 
IIS-ManagementService 
IIS-Metabase 
IIS-NetFxExtensibility 
IIS-NetFxExtensibility45 
IIS-ODBCLogging 
IIS-Performance 
IIS-RequestFiltering 
IIS-RequestMonitor 
IIS-Security 
IIS-ServerSideIncludes 
IIS-StaticContent 
IIS-URLAuthorization 
IIS-WebDAV 
IIS-WebServer 
IIS-WebServerManagementTools 
IIS-WebServerRole 
IIS-WebSockets 
IIS-WindowsAuthentication 
IIS-WMICompatibility 
InkAndHandwritingServices 
Internet-Explorer-Optional-amd64 
IPAMClientFeature 
IPAMServerFeature 
iSCSITargetServer 
iSCSITargetServer-PowerShell 
iSCSITargetStorageProviders 
iSNS_Service 
KeyDistributionService-PSH-Cmdlets 
LegacyComponents 
Licensing 
Licensing-Diagnosis-UI 
Licensing-UI 
LightweightServer 
ManagementOdata 
MediaPlayback 
Microsoft-Hyper-V 
Microsoft-Hyper-V-Management-Clients 
Microsoft-Hyper-V-Management-PowerShell 
Microsoft-Hyper-V-Offline 
Microsoft-Hyper-V-Online 
Microsoft-Windows-Deployment-Services 
Microsoft-Windows-Deployment-Services-Admin-Pack 
Microsoft-Windows-Deployment-Services-Deployment-Server 
Microsoft-Windows-Deployment-Services-Legacy-SIS 
Microsoft-Windows-Deployment-Services-Transport-Server 
Microsoft-Windows-FCI-Client-Package 
Microsoft-Windows-GroupPolicy-ServerAdminTools-Update 
MicrosoftWindowsPowerShell 
MicrosoftWindowsPowerShellISE 
MicrosoftWindowsPowerShellRoot 
MicrosoftWindowsPowerShellV2 
Microsoft-Windows-ServerEssentials-ServerSetup 
Microsoft-Windows-Web-Services-for-Management-IIS-Extension 
MSMQ 
MSMQ-ADIntegration 
MSMQ-DCOMProxy 
MSMQ-HTTP 
MSMQ-Multicast 
MSMQ-RoutingServer 
MSMQ-Server 
MSMQ-Services 
MSMQ-Triggers 
MSRDC-Infrastructure 
MultipathIo 
NetFx3 
NetFx3ServerFeatures 
NetFx4 
NetFx4Extended-ASPNET45 
NetFx4ServerFeatures 
NetworkDeviceEnrollmentServices 
NetworkLoadBalancingFullServer 
NetworkLoadBalancingManagementClient 
NFS-Administration 
NIS 
NPAS-Role 
NPSManagementTools 
OEM-Appliance-OOBE 
OnlineRevocationServices 
OnlineRevocationServicesManagementTools 
P2P-PnrpOnly 
PeerDist 
PKIClient-PSH-Cmdlets 
Printing-AdminTools-Collection 
Printing-Client 
Printing-Client-Gui 
Printing-InternetPrinting-Client 
Printing-InternetPrinting-Server 
Printing-LPDPrintService 
Printing-LPRPortMonitor 
Printing-Server-Foundation-Features 
Printing-Server-Role 
Printing-XPSServices-Features 
PSync 
QWAVE 
RasCMAK 
RasRoutingProtocols 
RasServerAdminTools 
RemoteAccess 
RemoteAccessMgmtTools 
RemoteAccessPowerShell 
RemoteAccessServer 
RemoteAssistance 
Remote-Desktop-Services 
ResumeKeyFilter 
RightsManagementServices 
RightsManagementServices-AdminTools 
RightsManagementServicesManagementTools 
RightsManagementServices-Role 
RMS-Federation 
RPC-HTTP_Proxy 
RSAT 
RSAT-ADDS-Tools-Feature 
RSAT-AD-Tools-Feature 
RSAT-Hyper-V-Tools-Feature 
RSAT-NIS 
RSAT-RDS-Tools-Feature 
SBMgr-UI 
SearchEngine-Server-Package 
Security-SPP-Vmw 
ServerCore-Drivers-General 
ServerCore-EA-IME 
ServerCore-EA-IME-WOW64 
ServerCore-FullServer 
ServerCore-WOW64 
Server-Drivers-General 
Server-Drivers-Printers 
ServerForNFS-Infrastructure 
Server-Gui-Mgmt 
Server-Gui-Shell 
ServerManager-Core-RSAT 
ServerManager-Core-RSAT-Feature-Tools 
ServerManager-Core-RSAT-Role-Tools 
Server-Manager-RSAT-File-Services 
ServerMediaFoundation 
ServerMigration 
Server-Psh-Cmdlets 
Server-RSAT-SNMP 
ServicesForNFS-ServerAndClient 
SessionDirectory 
SimpleTCP 
SIS-Limited 
SMB1Protocol 
SMBBW 
SmbDirect 
SMBHashGeneration 
SmbWitness 
Smtpsvc-Admin-Update-Name 
Smtpsvc-Service-Update-Name 
SNMP 
Storage-Services 
TelnetClient 
TelnetServer 
TFTP 
TIFFIFilter 
TlsSessionTicketKey-PSH-Cmdlets 
UpdateServices 
UpdateServices-API 
UpdateServices-Database 
UpdateServices-RSAT 
UpdateServices-Services 
UpdateServices-UI 
UpdateServices-WidDatabase 
User-Interfaces-Infra 
VmHostAgent 
VolumeActivation-Full-Role 
WAS-ConfigurationAPI 
WAS-NetFxEnvironment 
WAS-ProcessModel 
WAS-WindowsActivationService 
WCF-HTTP-Activation 
WCF-HTTP-Activation45 
WCF-MSMQ-Activation45 
WCF-NonHTTP-Activation 
WCF-Pipe-Activation45 
WCF-Services45 
WCF-TCP-Activation45 
WCF-TCP-PortSharing45 
WebAccess 
Web-Application-Proxy 
WebEnrollmentServices 
WindowsFeedbackForwarder 
Windows-Identity-Foundation 
Windows-Internal-Database 
WindowsMediaPlayer 
WindowsPowerShellWebAccess 
WindowsServerBackup 
WindowsServerBackupSnapin 
WindowsStorageManagementService 
WINSRuntime 
WINS-Server-Tools 
WirelessNetworking 
WMISnmpProvider 
WorkFolders-Server 
WSS-Product-Package 
Xps-Foundation-Xps-Viewer
    
por 08.09.2015 / 19:50