MSFN Forum: Windows 7 x64 vLite "extreme removal" - 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.
  • 11 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 7 x64 vLite "extreme removal" Shrink image & installation by use of vLite & a batch-file Rate Topic: -----

#21 User is offline   Jeronimo 

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

Posted 10 August 2009 - 10:50 PM

@dcatcher: do not remove the language packages, they are automatically removed when you remove a component. Do not use dism to mount the image as it does not work properly in combination with install wim tweak. Finally the index is indeed not handy, I will try and change it to use the edition.

Also the language code is for seondary languages only not for primary en-US, this might break it as well.


#22 User is offline   awalraja 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 02-August 09

Posted 10 August 2009 - 11:12 PM

View Postawalraja, on Aug 11 2009, 08:55 AM, said:

but i've another question . i didn't want to remove windows picture viewer and media player, but when i try to use them i get the errors "picture printing is not available without the desktop experience feature" and "the program can't start coz MF.dll is missing from your computer. try reinstalling the program to fix this problem" respectively. can anyone tell me which removed component is causing this?

any help on this problem? jeronimo, anyone :(

#23 User is offline   Jeronimo 

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

Posted 10 August 2009 - 11:23 PM

@awalraja: mentioning of files required means you add files to the "protect files" in vLite yourself. Windows picture viewer was also broken for me, I could not find out what component or pacakge it was and as I have a good enough replacement (IrfanView) I let it go. For Windows Media Player I use Media Player Classic Home Cinema (although others prefer mplayerc, VLC).

#24 User is offline   awalraja 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 02-August 09

Posted 10 August 2009 - 11:39 PM

View PostJeronimo, on Aug 11 2009, 11:53 AM, said:

@awalraja: mentioning of files required means you add files to the "protect files" in vLite yourself. Windows picture viewer was also broken for me, I could not find out what component or pacakge it was and as I have a good enough replacement (IrfanView) I let it go. For Windows Media Player I use Media Player Classic Home Cinema (although others prefer mplayerc, VLC).

ok, thanks for the info. i also prefer VLC player, but i keep media player as secondary option. anyway, i'll try to solve the issues myself if no further information is available.

#25 User is offline   dcatcher 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 28-March 08

Posted 11 August 2009 - 12:23 AM

View PostJeronimo, on Aug 11 2009, 12:50 PM, said:

@dcatcher: do not remove the language packages, they are automatically removed when you remove a component. Do not use dism to mount the image as it does not work properly in combination with install wim tweak. Finally the index is indeed not handy, I will try and change it to use the edition.

Also the language code is for seondary languages only not for primary en-US, this might break it as well.


Thanks for the advice, Jeronimo!

By the way, what's the problem with dism and install_wim_tweak, it works well here and I don't notice anything wrong.

After correcting the index problem, the installation goes all right. But the NAT network in virtualbox is not working. and all search boxes are missing too. I definitedly removed too much. I will start over again.

#26 User is offline   Jedi-to-be 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 21-July 07

Posted 11 August 2009 - 03:08 AM

Jeronimo does your stuff suport N-edition? I think, i'd be good.

#27 User is offline   Jedi-to-be 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 21-July 07

Posted 11 August 2009 - 03:18 AM

Jeronimo
Now I have instal.wim within UltimateN 7600.16385 x86. It has the one and only index 1. Please, give a guide, how to remove most of drivers (wireless, ATI\Nvidia graphics ando the) from it with help od you stuff. I want to keep only storage controlers and universal drivers for videoadapters.

This post has been edited by Jedi-to-be: 11 August 2009 - 03:19 AM


#28 User is offline   Jedi-to-be 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 21-July 07

Posted 11 August 2009 - 04:04 AM

Jeronimo
What breakes Windows feauters?
I kept Help, Fax Support, Windows Search
I is seem workable, but after first use Windows feauters dies and Windows Search too

#29 User is offline   dcatcher 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 28-March 08

Posted 11 August 2009 - 06:31 AM

Is there any easier way to solve the "Access is denied" error when cleanup?

#30 User is offline   awalraja 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 02-August 09

Posted 11 August 2009 - 06:43 AM

View PostJeronimo, on Aug 11 2009, 11:53 AM, said:

@awalraja: mentioning of files required means you add files to the "protect files" in vLite yourself. Windows picture viewer was also broken for me, I could not find out what component or pacakge it was

i found it, it was caused by "PhotoPremiumPackage".

#31 User is offline   Junior2613 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 21-June 09

Posted 11 August 2009 - 11:35 AM

Sorry for late reply. I'm running windows 7 Ultimate x64 I get the error towards the end of the installation saying it couldn't configure some services and stuff. The removal.bat I use is attached to this post :)

Attached File(s)



#32 User is offline   awalraja 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 02-August 09

Posted 11 August 2009 - 12:29 PM

View PostJunior2613, on Aug 12 2009, 12:05 AM, said:

Sorry for late reply. I'm running windows 7 Ultimate x64 I get the error towards the end of the installation saying it couldn't configure some services and stuff. The removal.bat I use is attached to this post :)

you are using Ultimate and check this, it is in your batch file
REM Image Index (pre-vLite: 1 HomeStarter, 2 Home Premium, 3 Professional, 4 Ultimate)
set II=2

This post has been edited by awalraja: 11 August 2009 - 12:29 PM


#33 User is offline   Junior2613 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 21-June 09

Posted 11 August 2009 - 12:49 PM

Yep, thats in there :) Here is the first part of the .bat

REM Initialising environment variables (check for your usage)
REM ----------------------------------------------------------------------------
REM Windows codebase: amd64 or x86
set cb=amd64
REM Windows 7 build
set build=7600
REM Sub version
set svn=16385
REM Pre-part (the same for all Windows 7 builds?)
set pre=31bf3856ad364e35
REM Image Index (pre-vLite: 1 HomeStarter, 2 Home Premium, 3 Professional, 4 Ultimate)
set II=2
REM Image edition (H for HomePremium, P for Professional or U for Ultimate/Enterprise)
set edition=U

set PATH=%PATH%;%cd%
set version=6.1.%build%.%svn%
set IEver=8.0.%build%.%svn%

#34 User is offline   dcatcher 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 28-March 08

Posted 11 August 2009 - 12:50 PM

Finally, a working vlited x86 win 7.

iso size 1.1g
install size 3.2g. including 1.0g pagefile.

This is the best I can do.

The only problem is that I have to take ownership of winsxs to do cleanup step.
After installation, the owner of winsxs folder is not TrustedInstaller anymore, but some strange string, which is not surprising because the owner doesn't exist any more.

However, windows update works well. I will try install it on real machine later.

#35 User is offline   Junior2613 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 21-June 09

Posted 11 August 2009 - 01:19 PM

Haha now I see my issue :P awalraja just rubbed it in my face and I didn't notice :P I'm on ultimate not home premium, So Where II = 2, 2 = Home Premium so I need to make II = 4 because 4 = Ultimate .

And I will follow dcatcher's advice to take ownership of the winsxs folder. By the way what is the file location for the winsxs folder ??

This post has been edited by Junior2613: 11 August 2009 - 01:20 PM


#36 User is offline   Jeronimo 

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

Posted 11 August 2009 - 02:38 PM

@Jedi-to-be: Should work right away, although you might get some errors on none removable packages and non-existing files. For drivers see the removal.bat and remove the appropriate sections. With my guide you would not need Windows features anymore, that is part of the idea. What I would like to know about the N-edition is weither you can use the IE-tab plugin within Firefox. If so I would most definetely want that one. I know what it is supposed to be "missing", however I have not heard any news on an N-edition for Windows 7, only on the E-edition with the Browser-selection.

@awalraja/Junior2613: with the old removal.bat yes, but see the new one, use edition.

@dcatcher: I have heard others before about this, but the only issues I am having with access denied is with the folders under Users\Public\Documents. I have no UAC activated, so I need not use the elevated prompt, not usre if that might be an issue.

This post has been edited by Jeronimo: 11 August 2009 - 02:44 PM


#37 User is offline   Jedi-to-be 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 21-July 07

Posted 11 August 2009 - 03:57 PM

Here is packages list of UltimaiteN
You should see this, Jeronimo

Attached File(s)



#38 User is offline   dcatcher 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 28-March 08

Posted 11 August 2009 - 08:17 PM

@Jeronimo, this is strange. I run removal.bat on windows 7 x86, and vlite the image on windows server 2003 x86 then back into windows 7 to do cleanup. Both os have no UAC.

I can delete Users\Public\*.* with no problem, only those in winsxs folder must be taken care of.

One more thing, I use only dism to mount and remove packages.

#39 User is offline   Jeronimo 

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

Posted 11 August 2009 - 11:14 PM

@Jedi-to-be: wow that are 29 packages less out of the box and still the IE package related to html-support present. WOuld love to get my hands on that version

@dcatcher: I only tried x64 with imagex under Windows 7, I could include an ownership of the files if it is just winsxs try adding the following just after mount of image under cleanup:
takeown /f "%mount%\Windows\winsxs\Manifests\*" >nul
takeown /f "%mount%\Windows\winsxs\%cb%_*" /r >nul
icacls "%mount%\Windows\winsxs\Manifests\*" /grant Administrators:F /q >nul
icacls "%mount%\Windows\winsxs\%cb%_*" /grant Administrators:F /q /t >nul


This might take quite a bit more time, but check if this resolves your issues. I might ad it as an option later on.

This post has been edited by Jeronimo: 11 August 2009 - 11:15 PM


#40 User is offline   Junior2613 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 21-June 09

Posted 12 August 2009 - 03:23 AM

I'm currently running the whole guide again with the new removal.bat and other files. I have changed the edition to ultimate and I will run vlite with Jeronimo's Stock Preset to make sure I don't get ahead of myself :) I also added the takeownership instruction from Jeronimo and placed it in the correct part of the .bat :) .

Only one error so far when it tried to remove the internet explorer optionals package.

Share this topic:


  • 11 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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