很多人应该都听说过Dism,是微软自带的工具,其实自从Win8发布以来Dism的功能就大幅度增强了,大家都知道系统里面有个打开关闭Windows功能,
但是在这里你只能关闭这些功能,却不能删除他们。但是你还记得Windows
8里面的NET 3.5组件么?他打开时,他提示需要互联网下载文件,其实在Windows
8以上的系统里,功能都是可以删除的(WinSxS里面也会被删除),删除后的结果就是在打开时需要互联网下载文件,不过我们可以设置本地安装源加快打开。
怎么删除么?答案就是Dism
dism /online /format:table /Get-Features
该命令可以查看当前计算机的功能包的名称 以及状态
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138 |
Microsoft Windows [版本 6.3.9600] (c) 2013 Microsoft Corporation。保留所有权利。 C:\WINDOWS\system32>dism /online /format:table /Get-Features 部署映像服务和管理工具 版本: 6.3.9600.16384 映像版本: 6.3.9600.16384 程序包功能列表 : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6. 3.9600.16384 ----------------------------------------------------- | --- 功能名称 | 状态 ----------------------------------------------------- | --- Microsoft-Hyper-V-All | 已启用 Microsoft-Hyper-V-Tools-All | 已启用 Microsoft-Hyper-V | 已启用 Microsoft-Hyper-V-Management-Clients | 已启用 Microsoft-Hyper-V-Management-PowerShell | 已启用 Printing-Foundation-Features | 已启用 Printing-Foundation-LPRPortMonitor | 已禁用 Printing-Foundation-LPDPrintService | 已禁用 Printing-Foundation-InternetPrinting-Client | 已启用 FaxServicesClientPackage | 已启用 ScanManagementConsole | 已禁用 LegacyComponents | 已禁用 DirectPlay | 已禁用 SimpleTCP | 已禁用 SNMP | 已禁用 WMISnmpProvider | 已禁用 Windows-Defender-Default-Definitions | 已启用 Windows-Identity-Foundation | 已启用 MicrosoftWindowsPowerShellV2Root | 已启用 MicrosoftWindowsPowerShellV2 | 已启用 DirectoryServices-ADAM-Client | 已禁用 Internet-Explorer-Optional-amd64 | 已启用 NetFx3 | 已启用 IIS-WebServerRole | 已启用 IIS-WebServer | 已启用 IIS-CommonHttpFeatures | 已启用 IIS-HttpErrors | 已启用 IIS-HttpRedirect | 已启用 IIS-ApplicationDevelopment | 已启用 IIS-NetFxExtensibility | 已启用 IIS-NetFxExtensibility45 | 已启用 IIS-HealthAndDiagnostics | 已启用 IIS-HttpLogging | 已启用 IIS-LoggingLibraries | 已启用 IIS-RequestMonitor | 已启用 IIS-HttpTracing | 已启用 IIS-Security | 已启用 IIS-URLAuthorization | 已启用 IIS-RequestFiltering | 已启用 IIS-IPSecurity | 已启用 IIS-Performance | 已启用 IIS-HttpCompressionDynamic | 已启用 IIS-WebServerManagementTools | 已启用 IIS-ManagementScriptingTools | 已启用 IIS-IIS6ManagementCompatibility | 已启用 IIS-Metabase | 已启用 WAS-WindowsActivationService | 已启用 WAS-ProcessModel | 已启用 WAS-NetFxEnvironment | 已启用 WAS-ConfigurationAPI | 已启用 IIS-HostableWebCore | 已禁用 IIS-CertProvider | 已启用 IIS-WindowsAuthentication | 已启用 IIS-DigestAuthentication | 已启用 IIS-ClientCertificateMappingAuthentication | 已启用 IIS-IISCertificateMappingAuthentication | 已启用 IIS-ODBCLogging | 已启用 IIS-StaticContent | 已启用 IIS-DefaultDocument | 已启用 IIS-DirectoryBrowsing | 已启用 IIS-WebDAV | 已启用 IIS-WebSockets | 已启用 IIS-ApplicationInit | 已启用 IIS-ASPNET | 已启用 IIS-ASPNET45 | 已启用 IIS-ASP | 已启用 IIS-CGI | 已启用 IIS-ISAPIExtensions | 已启用 IIS-ISAPIFilter | 已启用 IIS-ServerSideIncludes | 已启用 IIS-CustomLogging | 已启用 IIS-BasicAuthentication | 已启用 IIS-HttpCompressionStatic | 已启用 IIS-ManagementConsole | 已启用 IIS-ManagementService | 已启用 IIS-WMICompatibility | 已启用 IIS-LegacyScripts | 已启用 IIS-LegacySnapIn | 已启用 IIS-FTPServer | 已启用 IIS-FTPSvc | 已启用 IIS-FTPExtensibility | 已启用 MSMQ-Container | 已禁用 MSMQ-Server | 已禁用 MSMQ-Triggers | 已禁用 MSMQ-ADIntegration | 已禁用 MSMQ-HTTP | 已禁用 MSMQ-Multicast | 已禁用 MSMQ-DCOMProxy | 已禁用 WCF-Services45 | 已启用 WCF-HTTP-Activation45 | 已启用 WCF-TCP-Activation45 | 已启用 WCF-Pipe-Activation45 | 已启用 WCF-MSMQ-Activation45 | 已禁用 WCF-TCP-PortSharing45 | 已启用 WCF-HTTP-Activation | 已禁用 WCF-NonHTTP-Activation | 已启用 NetFx4-AdvSrvs | 已启用 NetFx4Extended-ASPNET45 | 已启用 MediaPlayback | 已启用 WindowsMediaPlayer | 已启用 Microsoft-Windows-MobilePC-Client-Premium-Package-net | 已禁用 Microsoft-Windows-MobilePC-LocationProvider-INF | 已启用 Printing-XPSServices-Features | 已启用 RasCMAK | 已禁用 RasRip | 已禁用 MSRDC-Infrastructure | 已启用 SearchEngine-Client-Package | 已启用 TelnetClient | 已禁用 TelnetServer | 已禁用 TFTP | 已禁用 TIFFIFilter | 已禁用 Xps-Foundation-Xps-Viewer | 已启用 WorkFolders-Client | 已启用 SMB1Protocol | 已启用 ServicesForNFS-ClientOnly | 已禁用 ClientForNFS-Infrastructure | 已禁用 NFS-Administration | 已禁用 操作成功完成。 C:\WINDOWS\system32> |
原文:http://www.cnblogs.com/lonelyxmas/p/3665186.html