jarthel Posted March 15, 2008 Posted March 15, 2008 as u understand i done it with testing so cant ensure its will go easily Guide How to Remove Packages with WAIK [ Could be use on Vista as well ]use the original install.wimhive in to regedit.exe the software [in system32\config\]export to the packages with notpade replace"Visibility"=dword:00000002to"Visibility"=dword:00000001save it and import it back to regedit.exe [ click it twice, u should take owner and full access first]remove the Owners dirs of all the packages [ save it from time to time so u wont get mistake and need to go back]save the hive with unhive it [ save the wim changes]use Windows SIM [ WAIK] to make the new clg filestart to make answer file to remove those packages u dont needif u get error like 1023 or 1623 i dont remember u should rebulid the image with vlite [or start remove comps with it and rebulid, do that after u remove all the possable]TIPS:server 32bit have 201 packages i success to remove till 74 packages left after remove comps with vlite those others that get those error i was talking before was able to remove now [ duno why ]u dont need to remove the lang pack of any package if u remove the main the lang pack of it should go tooif u remove the server lang pack the while the install u will get errorif u want to remove winsxs as well and still have the aeroremove the pending.xml in winsxs dir [install.wim]tell me about ur exp. with it GL manhi aviv00. I hope you can explain some things to me Can you explain the hive/unhive steps? Also where are the "owner's dir"?thank you
aviv00 Posted March 15, 2008 Author Posted March 15, 2008 (edited) hey jarthelsure nphive:open regedit goto local machine go to file > hive [ the same unhive ] select software [in ...system32\config dir]owner:right click u will c perm... choose thatthen click advance owner tabchoose administrators and mark replace owner.... [apply it]then back to permission tab and add u full control just notice u must unhive it and then save the wim"owner's dir"just open the packages dirs u will see them in sub-dirGL Edited March 15, 2008 by aviv00
jarthel Posted March 17, 2008 Posted March 17, 2008 hey jarthelsure nphive:open regedit goto local machine go to file > hive [ the same unhive ] select software [in ...system32\config dir]owner:right click u will c perm... choose thatthen click advance owner tabchoose administrators and mark replace owner.... [apply it]then back to permission tab and add u full control just notice u must unhive it and then save the wim"owner's dir"just open the packages dirs u will see them in sub-dirGL more question if you don't mind I have an iso mounted as DVD using daemon tools. I copied the contents of the ISO to a temp directory in my local harddrive.1. Am I able to use the files in the temp folder?2. If all I want is to remove package, should I be using pkgmgr.exe only?3. Is this the correct AIK to use? http://www.microsoft.com/downloads/details...;displaylang=enthanks for the help
aviv00 Posted March 17, 2008 Author Posted March 17, 2008 (edited) np1. yes only, u cant change moute iso2. well there another cmd "peimg.exe" i duno if it will do the "job" like pgrmgr.exe3. yeshowever as i see pgrmgr dont do a great job too i hope nuhi could do something about it Edited March 17, 2008 by aviv00
jarthel Posted March 17, 2008 Posted March 17, 2008 (edited) np1. yes only, u cant change moute iso2. well there another cmd "peimg.exe" i duno if it will do the "job" like pgrmgr.exe3. yeshowever as i see pgrmgr dont do a great job too i hope nuhi could do something about itcan you tell me how to use pkgmgr?as I said above, I have copied the contents of the win2008 DVD into a temp folder on the local HDD.thank you very muchps. you said you were able to reduce your win2008 to less than a 1GB. I want to do the same but I'm not sure what program to use or the steps to achieve it. Edited March 17, 2008 by jarthel
aviv00 Posted March 17, 2008 Author Posted March 17, 2008 u could find info in this thread if i dont wrong
jarthel Posted March 18, 2008 Posted March 18, 2008 u could find info in this thread if i dont wrongcould you please tell me the post no? thank you
aviv00 Posted March 18, 2008 Author Posted March 18, 2008 sure post #23use Windows Sim to add more configuration to xml if u likeGL
gsharad007 Posted May 1, 2008 Posted May 1, 2008 (edited) ok np this is the list u should saveMicrosoft-Windows-Fax-Server-PackageMicrosoft-Windows-Foundation-PackageMicrosoft-Windows-GroupPolicy-ClientExtensions-PackageMicrosoft-Windows-GroupPolicy-ClientTools-PackageMicrosoft-Windows-International-Core-Locale-NLS-Server2008-PackageMicrosoft-Windows-QWAVE-PackageMicrosoft-Windows-RDC-PackageMicrosoft-Windows-SearchEngine-Server-PackageMicrosoft-Windows-Server-Drivers-PackageMicrosoft-Windows-Server-Features-PackageMicrosoft-Windows-Server-LanguagePack-PackageMicrosoft-Windows-ServerCore-Drivers-PackageMicrosoft-Windows-ServerDesktopExperienceMicrosoft-Windows-ServerStandardEditionMicrosoft-Windows-ServicingBaseline-ServerStandard-PackageMicrosoft-Windows-SIS-Limited-PackageMicrosoft-Windows-Telnet-Client-PackageMicrosoft-Windows-TerminalServices-AppServer-PackageMicrosoft-Windows-TerminalServices-SessionDirectoryServer-PackageMicrosoft-Windows-WindowsFoundation-LanguagePack-PackageMicrosoft-Windows-WirelessNetworking-Packagethe bolds ones is my choose so if u dont wanna them u could remove them toohii am not sure if in waik i should select the rest of the packages to uninstall or just add these.i want to remove the maximum number of packages. * i don't want Aero* i want the option of adding desktop search (indexing) later on.* i do want Office/Visual Studio* i do want to play games.* i do want to remote desktop to and fro from this computer.could you be a bit more specific about how to remove packages from waik. i have already done the registry/hive part. now i have opened waik and opened the modified wim and a new answer file. what do i do now.how much more disk space can i gain over simply vliting the original disc. (my vlited 2008 x64 uses about 4 gb disc space with a working add/remove without using vlite with extreme flag)thanksmy vlite file[Components];# Accessories #AccessibilitySpeech SupportWordpad;# Drivers #Display adapters-AtiDisplay adapters-IntelDisplay adapters-nVidiaDiva ServerModemsPrinters-ApolloPrinters-BrotherPrinters-CanonPrinters-CitizenPrinters-DellPrinters-DiconixPrinters-EpsonPrinters-Fuji XeroxPrinters-FujitsuPrinters-Generic printerPrinters-GestetnerPrinters-HPPrinters-IBMPrinters-InfotecPrinters-KonicaPrinters-Konica MinoltaPrinters-Kyocera MitaPrinters-LanierPrinters-LexmarkPrinters-MinoltaPrinters-Minolta-QMSPrinters-NECPrinters-NRGPrinters-OcePrinters-OkiPrinters-OkidataPrinters-OlivettiPrinters-PanasonicPrinters-QMSPrinters-RicohPrinters-SamsungPrinters-SavinPrinters-SeikoshaPrinters-SharpPrinters-SonyPrinters-StarPrinters-TallyPrinters-TektronixPrinters-Wipro ePeripheralsPrinters-XeroxQLogic Fibre Channel AdapterScannersTV Tuners-ADS TechnologiesTV Tuners-ASUSTeK Computer Inc.TV Tuners-AVerMedia Technologies, Inc.TV Tuners-Compro Technology Inc.TV Tuners-Conexant Systems, Inc.TV Tuners-CreatixTV Tuners-HauppaugeTV Tuners-KNC ONE GmbHTV Tuners-KWorldTV Tuners-Lumanate, Inc.TV Tuners-Philips SemiconductorsTV Tuners-Pinnacle SystemsTV Tuners-TerraTec Electronic GmbHTV Tuners-VidzMedia Pte Ltd.TV Tuners-ViXS Systems Inc.;# Hardware Support #Internet Small Computer System Interface (iSCSI)Modem SupportSmartcardsWindows Mobile Device Center;# Languages #ArabicBrazillianBulgarianCroatianCzechDanishDutchEstonianFinnishFrenchGermanGreekHebrewHungarianItalianJapaneseKoreanLatvianLithuanianNorwegianPolishPortugueseRomanianRussianSerbianSimplified ChineseSlovakSlovenianSpanishSwedishTable Driven Text Input ProcessorThaiTraditional ChineseTurkishUkrainian;# Multimedia #Music and Video samplesPhoto Metadata HandlerSample PicturesShell event soundsWallpapersWindows Aero Theme;# Network #File and printer sharing (Server)Internet Information Services (IIS);# System #IMAPIv2 Burning SupportJet Database EngineMalicious Software Removal ToolManual Install (Setup.exe)MDACNatural LanguageRun a legacy CPL elevatedWindows Easy TransferZip Folder Edited May 1, 2008 by gsharad007
aviv00 Posted May 1, 2008 Author Posted May 1, 2008 (edited) * i don't want Aero remove Microsoft-Windows-ServerDesktopExperience package with pgrmgr [ i post tut here just look up a bit]or use vlite to remove it after installing using waik [its save lots of space]* i want the option of adding desktop search (indexing) later on.better install it already with waik then use add feather after install i get error* i do want Office/Visual Studiopre-install net3 with waik [ search in foundation pack ] * i do want to play games.get game dll file from google or heregot info about the games u gonna play if there are any problem* i do want to remote desktop to and fro from this computer.pre-install terminal serivce with waik [ search in foundation pack ] or add feather after install [ better waik fmo]could you be a bit more specific about how to remove packages from waik. i have already done the registry/hive part. now i have opened waik and opened the modified wim and a new answer file. what do i do now.uploaded bat files that get better packages removedhow much more disk space can i gain over simply vliting the original disc. (my vlited 2008 x64 uses about 4 gb disc space with a working add/remove without using vlite with extreme flag)i would say more 500mb using packages removeif u could test ur config and packages remove with vm its would be the bestcant ensure wont be problems.GL.tip:get more info about the packages from herehttp://technet2.microsoft.com/WindowsVista...33.mspx?pf=true.Work.rar Edited May 1, 2008 by aviv00
gsharad007 Posted May 2, 2008 Posted May 2, 2008 uploaded bat files that get better packages removedjust on a side note those two batch files could be one bat file like thisCALL up Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~6.0.6001.18000GOTO :EOF:upstart /w pkgmgr /o:E:\Work\WimMount;E:\Work\WimMount\Windows /up:%1 /l:logecho %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%GOTO :EOF
gsharad007 Posted May 2, 2008 Posted May 2, 2008 is doing pkgmgr /up the same as passing in a answer file with all those components removed.
gsharad007 Posted May 2, 2008 Posted May 2, 2008 i thikn its better cos less errors u getspeaking of errors i get this2008-05-02 16:02:54, Info CBS Pkgmgr: called with: "sources\6.0.6000.16386_amd64\pkgmgr.exe /o:f:\Server_2008_Share;f:\Server_2008_Share\Windows /up:Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 /l:log"2008-05-02 16:02:54, Info CSI 00000001@2008/5/2:10:32:54.890 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x10001665c @0x1000102d2 @0x10001c82d @0x77d5964c NULL NULL)2008-05-02 16:02:54, Info CSI 00000002@2008/5/2:10:32:54.906 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7ff4b83819e @0x7ff4b80eeca @0x10001836d @0x100009918 @0x10001060d @0x10001c82d)2008-05-02 16:02:54, Info CBS Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.2008-05-02 16:02:54, Info CSI 00000003@2008/5/2:10:32:54.906 WcpInitialize (wcp.dll version 0.0.0.5) called (stack @0x7ff4b8709db @0x7ff4b850f35 @0x7ff4b80efe3 @0x10001836d @0x100009918 @0x10001060d)2008-05-02 16:02:54, Info CBS Must be doing offline servicing, using stack version from: F:\Server2008_64\sources\6.0.6000.16386_amd64\cbscore.dll2008-05-02 16:02:54, Info CBS Loaded Servicing Stack v6.0.6000.16386 with Core: F:\Server2008_64\sources\6.0.6000.16386_amd64\cbscore.dll2008-05-02 16:02:55, Info CSI 00000004 CSI Store 1063616 (0x0000000000103ac0) initialized2008-05-02 16:02:55, Info CBS Session: 4732:335242703 initialized.2008-05-02 16:02:55, Info CBS Pkgmgr: Uninstalling package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.180002008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 12008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, parent state: 02008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 12008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, parent state: 72008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, disposition state from detectParent: 72008-05-02 16:02:55, Info CBS Appl: Evaluating package applicability for package Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, applicable state: 72008-05-02 16:02:55, Info CBS Exec: Processing started. Client: Package Manager, Session: 4732:335242703, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.180002008-05-02 16:02:55, Info CBS Appl: Evaluating package applicability for package Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, applicable state: 72008-05-02 16:02:55, Info CBS Plan: Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, current: Installed, pending: Default, start: Installed, applicable: Installed, targeted: Absent, limit: Absent2008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 12008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6000.16386, parent state: 02008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Disposition = 1003, VersionComp: 1, ServiceComp: 1, BuildComp: 1, DistributionComp: 1, RevisionComp: 1, Exist: 12008-05-02 16:02:55, Info CBS Appl: detectParent (exact match): package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, Parent: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, parent state: 72008-05-02 16:02:55, Info CBS Appl: detect Parent, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, disposition state from detectParent: 72008-05-02 16:02:55, Info CBS Appl: Evaluating package applicability for package Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, applicable state: 72008-05-02 16:02:55, Info CSI 00000005@2008/5/2:10:32:55.750 CSI Transaction @0x260a800 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [21]"TI5.4732:335242703:1/"2008-05-02 16:02:55, Info CSI 00000006 Mismatched pending.xml format versions. We speak 1.0.0.0, it speaks 2.0.0.02008-05-02 16:02:55, Error CSI 00000007@2008/5/2:10:32:55.765 (F) d:\vistartm\base\wcp\componentstore\com\transaction.cpp(2721): Error STATUS_REVISION_MISMATCH originated in function ComStoreImpl::ParseTransactionFlagsFromPendingXml expression: (null)[gle=0x80004005]2008-05-02 16:02:55, Error CSI 00000008 (F) HRESULT_FROM_WIN32(1306) #635# from Windows::COM::CComponentStore::InternalTransact(...)2008-05-02 16:02:55, Error CSI 00000009 (F) HRESULT_FROM_WIN32(1306) #633# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_Analyze(Flags = 0, riid = {f4d9decb-0250-4ad4-9500-85c7f2f281ec}, ppUnk = NULL2008-05-02 16:02:55, Error CSI 0000000a (F) HRESULT_FROM_WIN32(1306) #632# from Windows::ServicingAPI::CCSITransaction_ICSITransaction::Analyze(flags = 0, riid = {f4d9decb-0250-4ad4-9500-85c7f2f281ec}, ppta = ppta)2008-05-02 16:02:55, Info CSI 0000000b@2008/5/2:10:32:55.765 CSI Transaction @0x260a800 destroyed2008-05-02 16:02:55, Info CBS Exec: Processing complete. Session: 4732:335242703, Package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, hr: 0x8007051a2008-05-02 16:02:55, Error CBS Pkgmgr: Failed uninstall of package: Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~6.0.6001.18000, hr: 0x8007051a2008-05-02 16:02:55, Info CBS Session: 4732:335242703 finalized. Reboot required: no2008-05-02 16:02:55, Info CBS Pkgmgr: return code: 0x51a
aviv00 Posted May 2, 2008 Author Posted May 2, 2008 try do it on clean wim and just after all is removed use waik and then vlite
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now