This post has been edited by zeporpai109: 17 June 2009 - 11:31 AM
Windows 7 & vLite *DEPRECATED* how-to shrink and keep functionality...
#121
Posted 17 June 2009 - 11:07 AM
#122
Posted 17 June 2009 - 01:15 PM
zeporpai109, on Jun 17 2009, 11:07 AM, said:
run dism /image:c:\s2 /get-packages which should list all the packages
then replace the names from the list in the batch file
#124
Posted 17 June 2009 - 03:04 PM
Nice results!
Anyone had tests CPC fully loaded Windows 7 vs elite Windows 7?
about winsxs:
I agree to Jeronimo, but maybe there is a some way to control Winsxs's actions, to reduce CPU and HDD load?
#125
Posted 17 June 2009 - 03:52 PM
removal.bat (note the 5 parameters you need to alter):
@echo off REM amd64 or x86 set bits=amd64 set version=7232 set sources=I:\Windows 7\sources REM Imagex mount/unmount set 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/unmount set mountwim=E:\Wim set mountdism="%sources%\dism.exe" /mount-wim /wimfile:"%sources%\install.wim" /index:1 /mountdir:%mountwim% set unmountdism="%sources%\dism.exe" /unmount-wim /mountdir:%mountwim% /commit Rem Imagex/Dism set 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% /m del /s /f %mount%\Windows\System32\Recovery /q REM delete wallpapers except for Windows (default) from %mount%\Windows\Web\Wallpaper %unmountimage% REM Perform the package removals %mountimage% call rempckgs.bat call rempckg2.bat %unmountimage%
rempckgs.bat (dead0 rem7201):
@echo off set 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%.0 REM %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%.0
rempckg2.bat (gendouhydeist additions - REM-lines: did not work, already removed)
@echo off set dism="%sources%\dism.exe" /image:%mount% /remove-package /packagename %dism%:Microsoft-Media-Foundation-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0 REM %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%.0 REM %dism%:Microsoft-Windows-Help-CoreClientUAHP-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0 REM %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%.0 REM %dism%:Microsoft-Windows-MediaPlayer-DVDRegistration-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0 REM %dism%:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0 REM %dism%:Microsoft-Windows-MSMQ-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0 %dism%:Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0 REM %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%.0
After this the following packages remain (not including Language Packages):
Microsoft-Windows-Branding-Ultimate-Client-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Client-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-CodecPack-Basic-Encoder-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-CodecPack-Basic-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-DesktopWindowManager-uDWM-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Editions-Client-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-GPUPipeline-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-ICM-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~8.0.7232.0 Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~8.0.7232.0 Microsoft-Windows-Killbits-Package~31bf3856ad364e35~amd64~~8.0.7232.0 Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Personalization-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Printing-LocalPrinting-Home-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Printing-PremiumTools-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Security-SPP-Component-SKU-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-ServicingBaseline-Ultimate-Package~31bf3856ad364e35~amd64~~6.1.7232.0 Microsoft-Windows-Shell-SoundThemes-Package~31bf3856ad364e35~amd64~~6.1.7232.0
Please 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.
This post has been edited by Jeronimo: 20 June 2009 - 03:38 AM
#126
Posted 17 June 2009 - 06:34 PM
#127
Posted 17 June 2009 - 07:47 PM
http://www.neowin.net/news/main/09/06/16/m...uild-7260-leaks
@Jeronimo
w0w great batch men.. thx
This post has been edited by gendouhydeist: 17 June 2009 - 07:50 PM
#128
Posted 17 June 2009 - 09:18 PM
echo %dism%:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0
is wrong?
#129
Posted 17 June 2009 - 11:09 PM
underxp, on Jun 18 2009, 05:18 AM, said:
echo %dism%:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~%bits%~~6.1.%version%.0
is 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).
This post has been edited by Jeronimo: 17 June 2009 - 11:21 PM
#130
Posted 18 June 2009 - 12:47 AM
someone got a clue what might be the problm ?
#131
Posted 18 June 2009 - 01:32 AM
Jeronimo, on Jun 17 2009, 01:22 PM, said:
I 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?!
#132
Posted 18 June 2009 - 01:51 AM
#133
Posted 18 June 2009 - 01:56 AM
#134
Posted 18 June 2009 - 02:02 AM
#136
Posted 18 June 2009 - 02:49 AM
#137
Posted 18 June 2009 - 07:01 AM
dead0, on Jun 18 2009, 03:51 AM, said:
you mean to remove with dism without applying vlite after it?
#138
Posted 18 June 2009 - 07:50 AM
#139
Posted 18 June 2009 - 10:44 AM
#140
Posted 18 June 2009 - 10:54 AM
I have now used some few days to try and find out where the problems is when like Windows Features, Group Policy Editor, Snipping Tool, Sticky Notes etc etc have failed to work.
I have Windows 7 Ultimate RC2 Build 7229 (64-bit) installed in VirtualBox now, and it's working perfect here now. So i'm soon gonna install it for real on my computer.
So by this, everything are working out of the box after how i vLited it. But i don't know how it will work after you start to install programs and that. But i believe it will work pretty nice, hopefully.
I will give you 2 pictures with the things i haven't checked to be removed under. There are 85 things i haven't removed.
vLite Part 1 & vLite Part 2
This is what's not removed. And when i have removed the other things there, the ISO file takes 1.79 GB.
I can probably remove some few more things though, but don't think i want to take the risk of removing any more stuffs if i want a stable and fully working Windows 7. Will ofc try to remove more and try Windows 7 out in VirtualBox and will update this post if i find Windows 7 to still be rock stable and fully working when i have removed more things there though.
I found the 'Fax Support' to screw up the 'Windows Features' thing in Windows if you remove the 'Fax Support'. Help will also screw up Windows Features like it was told in the first post in this topic.
I think Printer Support and TV-Tuner Support also breaks the Windows Features to. But i'm keeping those anyways, because you never know when you will need a Printer or when you will get a TV-Tuner card. And who need Modem support today
Edit: I found Windows Search to break Windows Features to if you remove Windows Search. If you want to remove it, then do it in Windows Features in Windows 7.
When it's about the Services you can disable etc. Then i found the service 'Problem Reports and Solutions Control Panel Support' to be needed / enabled. If you stop that service you wont be able to start the Windows Audio and the Windows Audio Endpoint Builder services. And if you can't start those 2 services, then you can't install any new audio drivers or get the sound to work.
But i wouldn't just start to disable lots of services if you don't know 100% on what service your disabling. Well it might not be a problem though, because you can luckily enable the services again in Windows after you have installed Windows 7.
Some services will make some of the features / things in Windows to stop working if you disable them, so just be carefull on what your disabling.
But i have disabled lots of services and still have a fully working Windows 7 though
So just keep those things as i haven't removed in vLite if you want a fully working Windows 7 Ultimate RC2 Build 7229 (64-bit).
I hope this helps some of you here with some of the problems you might have.
This post has been edited by Tom-Helge: 18 June 2009 - 11:19 AM



Help

Back to top









