MSFN Forum: Windows 7 & vLite *DEPRECATED* - MSFN Forum

Jump to content



vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 33 Pages +
  • « First
  • 14
  • 15
  • 16
  • 17
  • 18
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 7 & vLite *DEPRECATED* how-to shrink and keep functionality... Rate Topic: -----

#301 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 30 June 2009 - 01:30 AM

View Postgendouhydeist, on Jun 30 2009, 06:16 AM, said:

@Jeronimo
wooohhh!!! that an awesome batch mate... well thx!! greatly appreciated.

anyway i noob question here.. whats the difference of deleting the folder and nullifying the folder? does the nullified folder will be removed after rebuilding the image??

I remove only drivers from winsxs and all other related folders (with help/info from dead0 :) ), I do not need to nullify those I think. I did check with the tool underxp specified which folders are biggest. For the drivers I removed all folders of over 2MB that I do not need (I have an Atheros WLAN card, that is the only driver I kept).

This post has been edited by Jeronimo: 30 June 2009 - 01:35 AM



#302 User is offline   iceangel89 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 453
  • Joined: 10-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 June 2009 - 03:23 AM

i have used a modified version of the ultra config.

attached it. Windows Add/Remove Features is not working. and it seems that i get a blank file on my desktop after install

Posted Image

Attached File(s)

  • Attached File  vlite.txt (14.7K)
    Number of downloads: 37


#303 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 30 June 2009 - 04:36 AM

View Posticeangel89, on Jun 30 2009, 11:23 AM, said:

i have used a modified version of the ultra config.

attached it. Windows Add/Remove Features is not working. and it seems that i get a blank file on my desktop after install

Mepty file can be removed, forgot which option it is. Add/remove is known to not work upon removal of Help (Windows Search and Fax support also reported as dependant for Windows features to work).

#304 User is offline   gendouhydeist 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 02-January 07

Posted 30 June 2009 - 04:41 AM

@jeronimo
oh, i mean the ">nul" command on your batch file... i thought it was null command hehe, what does >nul stands for?

This post has been edited by gendouhydeist: 30 June 2009 - 04:51 AM


#305 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 30 June 2009 - 06:27 AM

View Postgendouhydeist, on Jun 30 2009, 12:41 PM, said:

@jeronimo
oh, i mean the ">nul" command on your batch file... i thought it was null command hehe, what does >nul stands for?

Do not display messages to screen (only errrors). As with >/dev/null on Linux.

#306 User is offline   harusp3x 

  • Group: Members
  • Posts: 7
  • Joined: 26-June 09

Posted 30 June 2009 - 04:03 PM

When trying to remove packages with DISM, I keep getting the error that dism.exe is not a valid win32 application.

#307 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 01 July 2009 - 01:57 AM

View Posticeangel89, on Jun 30 2009, 03:23 AM, said:

i have used a modified version of the ultra config.

attached it. Windows Add/Remove Features is not working. and it seems that i get a blank file on my desktop after install

Posted Image

that would be due to the removal of media center with vlite, i believe?!

#308 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 01 July 2009 - 02:13 AM

View Postharusp3x, on Jun 30 2009, 04:03 PM, said:

When trying to remove packages with DISM, I keep getting the error that dism.exe is not a valid win32 application.

what operating system are you using? if you are trying to run dism for x64 in a x86 environment, then you will get that error?

#309 User is offline   iceangel89 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 453
  • Joined: 10-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 July 2009 - 03:00 AM

View PostJeronimo, on Jun 30 2009, 06:36 PM, said:

Mepty file can be removed, forgot which option it is. Add/remove is known to not work upon removal of Help (Windows Search and Fax support also reported as dependant for Windows features to work).


i actually did not remove the components u specified. i saw that on http://www.msfn.org/board/index.php?s=&...st&p=862242

Quote

COMPONENTS that CANNOT be removed

Game Explorer
Snipping Tool
Welcome Center
Windows Image Acquisition
WLAN Support
Internet Explorer
Network and Sharing Center
Windows Firewall
Application Experience
Internet Connection Sharing
Multimedia Class Scheduler
Background Intelligent Transfer
Windows Update
Component Cache (winsxs)
Manual Install (Setup.exe)
Microsoft HTML Engine
MDAC

IMPORTANT Windows System32 files to PROTECT

wer.dll
msdrm.dll
browcli.dll
msoert2.dll
winipsec.dll
werconcpl.dll
Magnification.dll

Miscellaneous APPLICATION & COMPONENT Removal Issues

Removing Help component breaks Windows Features
Removing Fax Support component breaks Windows Features
Removing Windows Search service breaks Windows Features
Removing Task Scheduler service breaks Disk Defragmenter
Removing Windows Connect Now service breaks Devices & Printers
Removing Crash Dump Support breaks Hibernation and Hybrid Sleep
Removing Event Log service breaks Tweak 7 Beta and O&O Defrag 11
Removing Distributed File System component breaks Group Policy Object Editor


#310 User is offline   trickstar 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 16-September 05

Posted 01 July 2009 - 07:10 AM

View Posticeangel89, on Jun 30 2009, 10:23 AM, said:

i have used a modified version of the ultra config.

attached it. Windows Add/Remove Features is not working. and it seems that i get a blank file on my desktop after install

Posted Image



DELETE THIS REG KEY TO REMOVE THE BLANK FILE:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{98d99750-0b8a-4c59-9151-589053683d73}

This post has been edited by trickstar: 01 July 2009 - 07:11 AM


#311 User is offline   harusp3x 

  • Group: Members
  • Posts: 7
  • Joined: 26-June 09

Posted 01 July 2009 - 10:30 AM

View Postdead0, on Jul 1 2009, 02:13 AM, said:

View Postharusp3x, on Jun 30 2009, 04:03 PM, said:

When trying to remove packages with DISM, I keep getting the error that dism.exe is not a valid win32 application.

what operating system are you using? if you are trying to run dism for x64 in a x86 environment, then you will get that error?


I guess that's the problem. I'm running DISM for 7 x64, but am running XP x86. Is there any way I can get a DISM to run this way?

#312 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 01 July 2009 - 12:40 PM

View Postharusp3x, on Jul 1 2009, 10:30 AM, said:

View Postdead0, on Jul 1 2009, 02:13 AM, said:

View Postharusp3x, on Jun 30 2009, 04:03 PM, said:

When trying to remove packages with DISM, I keep getting the error that dism.exe is not a valid win32 application.

what operating system are you using? if you are trying to run dism for x64 in a x86 environment, then you will get that error?


I guess that's the problem. I'm running DISM for 7 x64, but am running XP x86. Is there any way I can get a DISM to run this way?

no! not unless you run a 64bit os!!!

#313 User is offline   theruan 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 13-May 08

Posted 01 July 2009 - 11:19 PM

Hi, i was trying to reduce the amount of data of "windows rc1", on vlite it showed that the reduction was to be about 3,3gb or something like that, i obviously realized it was wrong, but at the end it only reduced in 800MB, and be sure i've taking out only 840MB is that right?
i've attached the preset i used, i've not tested it yet, it was only supposed to me to have an idea of the amount was possible to take out, so i can realize what kind of softwares i will be able to put in at the end.

Thanks

Attached File(s)



#314 User is offline   Waxik 

  • Group: Members
  • Posts: 1
  • Joined: 02-July 09

Posted 02 July 2009 - 09:14 PM

View PostJeronimo, on Jun 29 2009, 03:23 PM, said:

Ok, here the preset I am using. You have to understand the batch-file included (rename it to removal.bat). There are some comments, but you must know what you are doing. Use parameter all (removal.bat all) for removal of packages and cleanup, parameter packages (removal.bat packages) just for for package removal and cleanup (removal.bat cleanup) for just the cleanup. You also need the install_wim tweak and correct the paths in the batch file to fit your needs.

I could try and remove ICS and Windows Firewall, but I doubt that will work (maybe I will give it another try). I was able to remove Internet Explorer and keep Firefox plugin IE tab working.

However I think this is the limit for now (install.wim 1.02GB, Windows-drive 3.25GB excluding page-/hibernate-file) and I am happy with it. Just need to see that everything functions as it should, as I have not yet done extensive testing.

For safe removal you need to perform the following command after installation:
regsvr32 /s "%SystemRoot%\system32\ieproxy.dll"


Hi, can you please post the attached files again. I cant download them.

#315 User is offline   gendouhydeist 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 02-January 07

Posted 03 July 2009 - 12:24 PM

@jeronimo
in your Cleanup of drivers and folders batch i always got access denied due to file and folder restrictions... how can you remove those just using your batch file

#316 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 03 July 2009 - 03:28 PM

just did an install of build 7264 x86, iso size just under 700mb, install size 2.2gb, kept printer & wlan support & some services! could go under 600mb by deleting a few more such as printer & wlan, wcf...



ps working on an extreme vlite edition now, will post in a few mins...

This post has been edited by dead0: 03 July 2009 - 04:54 PM


#317 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 03 July 2009 - 05:02 PM

wim size 518mb, iso size 653mb, could have made it smaller if i removed some of the media player components! :P will test in a bit after supper

This post has been edited by dead0: 03 July 2009 - 05:02 PM


#318 User is offline   dead0 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 488
  • Joined: 29-October 06
  • OS:none specified
  • Country: Country Flag

Posted 03 July 2009 - 05:55 PM

here's an extreme last session which can still be further customised? use it after my recent batch file...

you might get a few errors which is mainly due to WCF removal but almost everything else is working fine? :D

ps i would probably still recommend using my last session from post #316 though as theres not too much difference in install size...

This post has been edited by dead0: 03 July 2009 - 05:57 PM


#319 User is offline   gendouhydeist 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 02-January 07

Posted 04 July 2009 - 12:35 AM

@jeronimo
you can only remove the files and folders in winsxs if you already have taken the ownership of winsxs folder.. in your batch file there's no command taking the ownership of this folder... so that's why I'm having access denied errors in you batch file due to that i don't have full control of it. can you write a batch that taking rights on selected folders so i wont spend to much time than taking whole winsxs folder cause ive tried to take ownership of winsxs folder and its takes too much time than removing packages in dism.

@dead0
do you also made a batch file deleting the drivers in winsxs folder?? or you just remove it manually using unlocker.

This post has been edited by gendouhydeist: 04 July 2009 - 03:26 AM


#320 User is offline   Jeronimo 

  • vLite user
  • PipPipPip
  • Group: Members
  • Posts: 395
  • Joined: 26-October 03

Posted 04 July 2009 - 04:17 AM

For build 7232 beside the preset I added the following. Please note, that the removal part is mandatory to be able to have a proper image/installation. As dead0 pointed out he needed to remove some packages in order to remove Game Explorer (and have a sduccesful installation).

Packages.zip contains an Excel-sheet with a combinatins of tests that I made (with data from dea0 as well).

Removal.zip contains removal.bat that requires 1 parameter, without a parameter it just initialises some environment variable you could use:
packages - Remove packages
cleanup - Remove redundant files and drivers
langpack - EXAMPLE on how to integrate a language pack

- integrate a languagepack (langpack)
- remove obsolete packages (packages)
- run vLite to integrate drivers, remove components and add tweaks
- remove drivers and files (cleanup)
- run vLite component removal without anything selected to reduce the image-file a but more

I did not need to take ownership of these files for any test that I have made. You can do it with:
takeown /f %mount%\Windows\..." /R
icacls "%mount%\Windows\..." /grant Administrator:F /T /Q

Also been busy testing build 7264, but there are no packages removable there. Just some language-related packages.

This post has been edited by Jeronimo: 04 July 2009 - 04:19 AM


Share this topic:


  • 33 Pages +
  • « First
  • 14
  • 15
  • 16
  • 17
  • 18
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy