Uninstall RSAT - Remote Server Administration Tools
I have an install and uninstall process for RSAT - platform is W7 64-bit. The install process works fine - the uninstall process will not remove Remote Server Administration Tools - Here is the process C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-CA C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-NIS C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-LDS C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-DHCP C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-DNS C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Dfs C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Fsrm C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-HyperV C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Roles-RDS C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-BitLocker C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-Clustering C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-GP C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-LoadBalancing C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-SmtpServer C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-StorageExplorer C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-StorageManager C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-Features-Wsrm C:\Windows\System32\dism.exe /online /quiet /disable-feature /featurename:RemoteServerAdministrationTools-ServerManager You can't use WUSA to uninstall so I'm using PKGMGR with this syntax start /w pkgmgr /uu:Windows6.1-KB958830-x64.msu~31bf3856ad364e35~amd64~~6.1.7600.16385 /l:c:\install\RSAT\pkgmgr.log I've also tried this with /ui: The log file produces the following errors 2010-12-20 10:49:06, Info DISM DISM Provider Store: PID=1864 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2010-12-20 10:49:06, Info DISM DISM Package Manager: PID=1864 Processing the top level command token(disable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine 2010-12-20 10:49:06, Info DISM DISM Package Manager: PID=1864 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine 2010-12-20 10:49:06, Info DISM DISM Package Manager: PID=1864 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine 2010-12-20 10:49:06, Info DISM DISM Package Manager: PID=1864 Encountered the option "featurename" with value "Windows6.1-KB958830-x64.msu~31bf3856ad364e35~amd64~~6.1.7600.16385" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine 2010-12-20 10:49:06, Info DISM DISM Package Manager: PID=1864 Encountered an unknown option "featurename" with value "Windows6.1-KB958830-x64.msu~31bf3856ad364e35~amd64~~6.1.7600.16385" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine 2010-12-20 10:49:07, Error DISM DISM Package Manager: PID=1864 Failed to get the Update through CBS. - CDISMPackage::Internal_OpenFeature(hr:0x800f080c) 2010-12-20 10:49:07, Error DISM DISM Package Manager: PID=1864 Failed to get the underlying CBS Feature - CDISMPackage::OpenFeature(hr:0x800f080c) 2010-12-20 10:49:07, Error DISM DISM Package Manager: PID=1864 Feature name Windows6.1-KB958830-x64.msu~31bf3856ad364e35~amd64~~6.1.7600.16385 is unknown. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c) 2010-12-20 10:49:07, Error DISM DISM Package Manager: PID=1864 Unknown features were specified on the command-line. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c) 2010-12-20 10:49:07, Error DISM DISM Package Manager: PID=1864 Failed to get the Feature List from the command line. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f080c) 2010-12-20 10:49:07, Error DISM DISM Package Manager: PID=1864 Failed while processing command disable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f080c) 2010-12-20 10:49:07, Info DISM DISM Package Manager: PID=1864 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine 2010-12-20 10:49:07, Info DISM DISM Image Session: PID=1864 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect 2010-12-20 10:49:07, Info DISM DISM Provider Store: PID=1864 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider As you can see it acts like this isn't installed. When I do the expand on the package here are the results - <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="install"> <assemblyIdentity buildType="release" language="neutral" name="Microsoft-Windows-RemoteServerAdministrationTools-Package-TopLevel" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" version="6.1.7600.16385"></assemblyIdentity> <source location="%configsetroot%\Windows6.1-KB958830-x64.CAB" /> </package> </servicing> </unattend> I tried the DISM command to remove and that doesn't work. Please advise and thanks in advance. Bob
December 20th, 2010 11:25am

You can use WUSA in Windows 7 to remove updates: wusa.exe /uninstall /kb:958830 Have you tried this? André"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
December 20th, 2010 1:45pm

Andre, Thanks for getting back to me. Well this is a deployment process - non-Mirosoft product - everything works fine when I execute the batch files from an Administrator Elevated Command Prompt - this is what I get from within a batch file and this is taken from the RSAT documentation along with the dism.log - I've tried it both ways - when running WUSA do you have to disble the features first? C:\install\RSAT>dism /online /Remove-Package /PackageName:RemoteServerAdministrationTools Above is the command line I'm using to remove. I want to know why am I getting this error when this is the exact syntax from the help within RSAT Results - Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Image Version: 6.1.7600.16385 An error occurred trying to open - RemoteServerAdministrationTools Error: 0x8007 0057 Error: 87 An error occurred while processing the command. Ensure that the command-line arguments are valid. For more information, review t he log file. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log C:\install\RSAT>cd\windows\logs\DISM C:\Windows\Logs\DISM>notepad dism.log C:\Windows\Logs\DISM> DISM.LOG - starts here ---------------------------------->>>>>>>>>>>>>>>>>>>>>>>>>> I'm only presenting the error section - not the whole log. 2011-01-13 13:56:21, Error DISM DISM Package Manager: PID=4052 Failed to load identity from package name: RemoteServerAdministrationTools. - CDISMPackageManager::Internal_CreatePackageByName(hr:0x80070057) 2011-01-13 13:56:21, Error DISM DISM Package Manager: PID=4052 Failed to get the underlying cbs package. - CDISMPackageManager::OpenPackageByName(hr:0x80070057) 2011-01-13 13:56:21, Error DISM DISM Package Manager: PID=4052 Failed opening package with the name "RemoteServerAdministrationTools" - CPackageManagerCLIHandler::Private_GetPackageNameFromCommandLine(hr:0x80070057) 2011-01-13 13:56:21, Error DISM DISM Package Manager: PID=4052 Failed while processing command remove-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070057)
January 13th, 2011 11:39am

I've tried it both ways - when running WUSA do you have to disble the features first? I don't know. Have you tried it? I only posted the correct syntax."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2011 1:08pm

<form id="aspnetForm" action="edit" enctype="application/x-www-form-urlencoded" method="post"> <input id="__VIEWSTATE" name="__VIEWSTATE" type="hidden" value="/wEPDwULLTEzNzk0MzkwMDlkZD6SorGRLWx4w+alHb7GRMyulXR+" /> </form> Windows Client TechCenter <input id="SearchTextBox" class="TextBoxSearch TextBoxSearchIE7" name="SearchTextBox" type="text" /><input id="SearchButton" class="SearchButton" name="SearchButton" src="http://i1.social.microsoft.com/globalresources/Images/trans.gif" type="image" /> Sign out United States (English) Australia (English)Brasil (Português)eská republika (eština)Danmark (Dansk)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)Magyarország (Magyar)România (Român)Singapore (English)Türkiye (Türkçe) () () () () () () () () () ITBOB Resources for IT Professionals HomeWindows 7Windows VistaWindows XPLibraryForums Windows Client TechCenter > Windows 7 IT Pro Forums > Windows 7 Miscellaneous > Uninstall RSAT - Remote Server Administration Tools > 05faf4d2-2571-423b-92b4-f9abadaf0bc7 <form action="/Forums/en-US/w7itprogeneral/thread/30129ee3-480c-44c7-8cbe-1a7c1ae62173/05faf4d2-2571-423b-92b4-f9abadaf0bc7/edit" enctype="application/x-www-form-urlencoded" method="post"> Edit Message <textarea cols="100" rows="20" name="body"><p>I have this working although there is 1 remaining issue which is RSAT doesn't or is not displayed for all users unless the user turns it on themselves.&nbsp; Comparing this to any Office product all users would receive the package and when launched the system would create the office profile.</p> <p>RSAT is a KB and not an installed application.&nbsp; Maybe there is different handling.&nbsp; You have to manually turn it on for another user.&nbsp; There are registry entries to turn on and off.&nbsp; There should be a way to install and display for all users.</p> <p>Maybe you or someone knows how to install the .msu for all users.&nbsp; What software do you use to modify a .msu?&nbsp; I haven't found one yet.</p> <p>&nbsp;Install.bat</p> <p>If exist C:\Install\RSAT C:\Windows\SysNative\wusa C:\Install\RSAT\amd64fre_GRMRSATX_MSU.msu /quiet /NoRestart</p> <p>C:\Windows\Regedit.exe /s C:\Install\RSAT\RemoveAdmin.reg<br/> C:\Windows\Regedit.exe /s C:\Install\RSAT\AddAdmin.reg</p> <p>C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-CA<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-NIS<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-LDS<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DHCP<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DNS<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Dfs<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Fsrm<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-HyperV<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-RDS<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-BitLocker<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-Clustering<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-GP<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-LoadBalancing<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerRole<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerManagementTools<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-IIS6ManagementCompatibility<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-Metabase<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-LegacySnapIn<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerManagementTools<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerRole<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-SmtpServer<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-StorageExplorer<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-StorageManager<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-Wsrm<br/> C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-ServerManager</p> <p>Uninstall.bat</p> <p>C:\Windows\SysNative\wusa /uninstall /kb:958830 /quiet /NoRestart /log<br/> C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-WebServerRole<br/> C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-WebServerManagementTools<br/> C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-IIS6ManagementCompatibility<br/> C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-Metabase<br/> C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-LegacySnapIn</p> <p>&nbsp;</p> <p>To run manually change SysNative to System 32 - SysNative is a variable which points to a virtual folder on a 64-bit W7 system.</p> <p>ITBOB</p></textarea> <label for="hasCode">Resource.HasCodeLabel</label><input name="hasCode" type="checkbox" value="true" /> <label for="reason">Reason</label><input name="reason" type="text" /> <input title="Submit" type="submit" value="Submit" /> </form> Need Help with Forums? (FAQ) © 2011 Microsoft. All rights reserved. Terms of Use|Trademarks|Privacy Statement|Contact Us <script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <noscript></noscript> <noscript></noscript>
February 9th, 2011 4:26am

I have this working although there is 1 remaining issue which is RSAT doesn't or is not displayed for all users unless the user turns it on themselves.&nbsp; Comparing this to any Office product all users would receive the package and when launched the system would create the initial office profile. RSAT is a KB and not an installed application. Maybe there is different handling between a KB and an actual application. The user would have to manually turn it on instead of it being advertised (as All Users). There are registry entries to turn it on and off. There should be a way to install and display for all users. Maybe you or someone knows how to install the .msu for all users. What software do you use to modify a .msu if any even exists? I haven't found one yet. Install.bat If exist C:\Install\RSAT C:\Windows\SysNative\wusa C:\Install\RSAT\amd64fre_GRMRSATX_MSU.msu /quiet /NoRestart C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-CA C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-NIS C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-LDS C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DHCP C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-DNS C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Dfs C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-Fsrm C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-HyperV C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Roles-RDS C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-BitLocker C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-Clustering C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-GP C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-LoadBalancing C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerRole C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerManagementTools C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-IIS6ManagementCompatibility C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-Metabase C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-LegacySnapIn C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerManagementTools C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:IIS-WebServerRole C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-SmtpServer C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-StorageExplorer C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-StorageManager C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-Features-Wsrm C:\Windows\SysNative\dism.exe /online /quiet /enable-feature /featurename:RemoteServerAdministrationTools-ServerManager Uninstall.bat C:\Windows\SysNative\wusa /uninstall /kb:958830 /quiet /NoRestart /log C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-WebServerRole C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-WebServerManagementTools C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-IIS6ManagementCompatibility C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-Metabase C:\Windows\SysNative\dism.exe /online /quiet /NoRestart /disable-feature /featurename:IIS-LegacySnapIn To run manually change SysNative to System 32 - SysNative is a variable which points to a virtual folder on a 64-bit W7 system and is only used when packaging the software. ITBOB
Free Windows Admin Tool Kit Click here and download it now
February 9th, 2011 6:04am

You can't edit the MSU/CAB files. Windows detects it and don't allow you to use the modified files. "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
February 9th, 2011 7:54am

can you please edit the post again? The text is mixed with JavaScript code"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 9th, 2011 8:07am

I believe it is html and not Java - not sure why this happened except I copied and pasted from Notepad to the site. ITBOB
February 9th, 2011 9:13am

You can edit the MSU/CAB files. Windows detects it and don't allow you to use the modified files."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 9th, 2011 9:33am

Andrew, I'm not sure what your saying when you sys You can edit the MSU/CAB files. Are you saying Windows 7 would detect it and then won't let you install? Would have have to extract them - make your changes then make them an MSU/CAB again? What tool would you use? Thanks in advance. ITBOB
February 9th, 2011 10:36am

I mean can't . The 't was removed (my keyboard, forum?)."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 9th, 2011 3:56pm

I am writing a powershell script to automate RSAT uninstall / install / configuration: This may not be ideal, and is not exactly silent - but launching it as a new process works: Function Uninstall { write "`n`n@@ Called Uninstall" ## Microsoft-Windows-RemoteServerAdministrationTools-Package-TopLevel~31bf3856ad364e35~x86~~6.1.7600.16385 $out = dism /online /get-packages | where-object { $_ -imatch "RemoteServerAdmin" } foreach ($item in $out) { if ($item) { write "Uninstalling : $item" $options = $item.toString().Replace("Package Identity : ","/online /remove-package /PackageName:") if (!$debug -and $item) { $process = (Start-Process -FilePath "dism.exe" -ArgumentList $options -Wait -Passthru) if ($process.ExitCode) { write $process.ExitCode } ##; exit $process.ExitCode } } else { write $options } } } } Just calling dism.exe with the EXACT SAME string of parameters that worked in a cmd shell did not work in powershell, error 87.
February 9th, 2011 7:36pm

nice script"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2011 9:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics