zeporpai109 Posted June 17, 2009 Share Posted June 17, 2009 (edited) Yes that's the problem..i did not check the r/w. Thanks dead..One last thing how can i get the list of packages that can be removed using cmd or dism? Your 7201.bat file did not work for my 7231 even if I edit. Only the languages are removed and i think its only 4 packages that i've been removed. And the error shows access denied... Edited June 17, 2009 by zeporpai109 Link to comment Share on other sites More sharing options...
dead0 Posted June 17, 2009 Share Posted June 17, 2009 Yes that's the problem..i did not check the r/w. Thanks dead..One last thing how can i get the list of packages that can be removed using cmd or dism? Your 7201.bat file did not work for my 7231 even if I edit. Only the languages are removed and i think its only 4 packages that i've been removed. And the error shows access denied...run dism /image:c:\s2 /get-packages which should list all the packagesthen replace the names from the list in the batch file Link to comment Share on other sites More sharing options...
Jeronimo Posted June 17, 2009 Share Posted June 17, 2009 @dead0: I checked if winsxs\backup can be removed, but I am not too sure especially when I read thisI am creating batch file that is reusable for the aactions specified, should not be that complex. Link to comment Share on other sites More sharing options...
jkey Posted June 17, 2009 Share Posted June 17, 2009 Hi all! Nice results! Anyone had tests CPC fully loaded Windows 7 vs elite Windows 7? B) about winsxs:I agree to Jeronimo, but maybe there is a some way to control Winsxs's actions, to reduce CPU and HDD load? Link to comment Share on other sites More sharing options...
Jeronimo Posted June 17, 2009 Share Posted June 17, 2009 (edited) I created all steps in 3 batch-files that should do the trick (along with the stuff dead0 posted in the same folder).removal.bat (note the 5 parameters you need to alter):@echo offREM amd64 or x86set bits=amd64set version=7232set sources=I:\Windows 7\sourcesREM Imagex mount/unmountset mount=E:set imagex="D:\Quicksilver\Windows\Instellingen\imagex.exe"set mountimagex=%imagex% /mountrw "%sources%\install.wim" 1 "%mount%"set unmountimagex=%imagex% /unmount /commit %mount%REM Dism mount/unmountset mountwim=E:\Wimset mountdism="%sources%\dism.exe" /mount-wim /wimfile:"%sources%\install.wim" /index:1 /mountdir:%mountwim%set unmountdism="%sources%\dism.exe" /unmount-wim /mountdir:%mountwim% /commitRem Imagex/Dismset mountimage=%mountimagex%set unmountimage=%unmountimagex%REM mkdir %mountwim%REM set mountimage=%mountdism%REM set unmountimage=%unmountdism%REM Perform the install tweak%mountimage%install_wim_tweak.exe /p %mount% /mdel /s /f %mount%\Windows\System32\Recovery /qREM delete wallpapers except for Windows (default) from %mount%\Windows\Web\Wallpaper%unmountimage%REM Perform the package removals%mountimage%call rempckgs.batcall rempckg2.bat%unmountimage%rempckgs.bat (dead0 rem7201):@echo offset dism="%sources%\dism.exe" /image:%mount% /remove-package /packagename%dism%:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Anytime-Upgrade-Results-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Backup-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-BLB-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-BusinessScanning-Feature-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Client-Wired-Network-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-ClipsInTheLibrary-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Common-Modem-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Disk-Diagnosis-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Gadget-Platform-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Help-Customization-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-IIS-WebServer-AddOn-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Indexing-Service-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-IE-Troubleshooters-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Links-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-LocalPack-AU-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-LocalPack-CA-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-LocalPack-GB-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-LocalPack-ZA-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-LocalPack-US-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-MobilePC-Client-Basic-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-MobilePC-Client-Premium-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-MobilePC-Client-Sensors-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-MobilePC-Client-SideShow-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-NetworkDiagnostics-DirectAccessEntry-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-NFS-ClientSKU-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-OfflineFiles-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-ParentalControls-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-PeerDist-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-PeerToPeer-Full-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-PhotoPremiumPackage~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-RasCMAK-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-RasRip-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-RDC-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-RecDisc-SDP-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-RemoteAssistance-Package-Client~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SampleContent-Music-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SampleContent-Ringtones-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SecureStartup-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Shell-HomeGroup-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Sidebar-Killbits-SDP-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SimpleTCP-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SnippingTool-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SNMP-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-StickyNotes-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SUA-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SystemRestore-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TabletPC-OC-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Telnet-Server-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TerminalServices-CommandLineTools-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TerminalServices-MiscRedirection-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TerminalServices-Publishing-WMIProvider-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TerminalServices-RemoteApplications-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TerminalServices-UsbRedirector-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TerminalServices-WMIProvider-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Tuner-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-WMPNetworkSharingService-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Server-Help-Package.ClientUltimate~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Networking-MPSSVC-Rules-UltimateEdition-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0rempckg2.bat (gendouhydeist additions - REM-lines: did not work, already removed)@echo offset dism="%sources%\dism.exe" /image:%mount% /remove-package /packagename%dism%:Microsoft-Media-Foundation-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-Anytime-Upgrade-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-GroupPolicy-ClientExtensions-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-GroupPolicy-ClientTools-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-Help-CoreClientUAHP-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-Help-CoreClientUAPS-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-Help-CoreClientUAUE-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-MediaPlayer-DVDRegistration-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-MSMQ-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0REM %dism%:Microsoft-Windows-StorageService-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-VirtualPC-Licensing-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-VirtualPC-USB-RPM-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0%dism%:Microsoft-Windows-VirtualXP-Licensing-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0After this the following packages remain (not including Language Packages):Microsoft-Windows-Branding-Ultimate-Client-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Client-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-CodecPack-Basic-Encoder-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-DesktopWindowManager-uDWM-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Editions-Client-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-GPUPipeline-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-ICM-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~8.0.7232.0Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~8.0.7232.0Microsoft-Windows-Killbits-Package~31bf3856ad364e35~amd64~~8.0.7232.0Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Personalization-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Printing-LocalPrinting-Home-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Printing-PremiumTools-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-ServicingBaseline-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7232.0Microsoft-Windows-Shell-SoundThemes-Package~31bf3856ad364e35~amd64~~6.1.7232.0Please note that VHD versions (as with my 7232 x62) have differeny versions in sources (taken from 7137), so you need to extract dism from the install.wim (windows\system32\dism.exe and windows\system32\dism\dism*.*) in that case and place the files in the sourcs-folder.Also I have not yet tested vLite or installation yet. Think I will try plain installation first. Edited June 20, 2009 by Jeronimo Link to comment Share on other sites More sharing options...
liquid0624 Posted June 18, 2009 Author Share Posted June 18, 2009 Great job guys (dead0 & Jeronimo) As far as the winsxs/backup folder i always delete it haven't had any issues with that. Scripts are very nice will have to give them a whirl. So far loving this build 7232 it works really well and its pretty much close to final. Link to comment Share on other sites More sharing options...
gendouhydeist Posted June 18, 2009 Share Posted June 18, 2009 (edited) BTW theres also 7260 Leaks available on usual sources but too bad only x86 are available for now..http://www.neowin.net/news/main/09/06/16/m...uild-7260-leaks@Jeronimow0w great batch men.. thx Edited June 18, 2009 by gendouhydeist Link to comment Share on other sites More sharing options...
underxp Posted June 18, 2009 Share Posted June 18, 2009 Jeronimo, in line 3 of file rempckgs.bat you have a "ECHO": echo %dism%:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0is wrong? Link to comment Share on other sites More sharing options...
Jeronimo Posted June 18, 2009 Share Posted June 18, 2009 (edited) Jeronimo, in line 3 of file rempckgs.bat you have a "ECHO": echo %dism%:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0is wrong?Yep, that was a test. Thanks for the heads up, I corrected it (did remove the package, see last code-bit where he package is not shown). Edited June 18, 2009 by Jeronimo Link to comment Share on other sites More sharing options...
MESOLOMID Posted June 18, 2009 Share Posted June 18, 2009 hi, i just did a iso image for WINDOWS 7 and now when i want to start this iso in a virtual machine (microsoft virtual machine tool) win7 installation says me that the cd key is not accaptable for the installation files or smthing like that.someone got a clue what might be the problm ? Link to comment Share on other sites More sharing options...
dead0 Posted June 18, 2009 Share Posted June 18, 2009 @dead0: I checked if winsxs\backup can be removed, but I am not too sure especially when I read thisI am creating batch file that is reusable for the aactions specified, should not be that complex.it should be ok to delete the files from the backup folder as they're already in the system32/winsxs folder but i would suggest deleting those files from vstemp19\windows\winsxs\backup when vlite is doing its thing?! Link to comment Share on other sites More sharing options...
dead0 Posted June 18, 2009 Share Posted June 18, 2009 ps if you use dism to remove packages, they are not completely removed? ie if you remove the printer drivers package, the drivers are still left in the winsxs folder so you may have to remove them manually! also, does anyone find that removing the packages actually makes the install size bigger? Link to comment Share on other sites More sharing options...
gendouhydeist Posted June 18, 2009 Share Posted June 18, 2009 guys do you have link for WAIK Win7, cause i need the imagex.. if you have link for it, pls.. give it here or.. PM me the WAIK or imagex thx guys. Link to comment Share on other sites More sharing options...
dead0 Posted June 18, 2009 Share Posted June 18, 2009 guys do you have link for WAIK Win7, cause i need the imagex.. if you have link for it, pls.. give it here or.. PM me the WAIK or imagex thx guys.if you only need imagex, use waik 1.1 as its much quicker than the one in waik 7 Link to comment Share on other sites More sharing options...
gendouhydeist Posted June 18, 2009 Share Posted June 18, 2009 great help men.. thx mate Link to comment Share on other sites More sharing options...
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