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
  • 5
  • 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: -----

#41 User is offline   Junior2613 

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

Posted 12 August 2009 - 04:14 AM

your take ownership doesn't seem to work it makes cleanup not work it won't even mount

Attached File(s)


This post has been edited by Junior2613: 12 August 2009 - 04:14 AM



#42 User is offline   Junior2613 

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

Posted 12 August 2009 - 06:40 AM

Ok I've got Windows 7 installed and working now :) My problem was that I was leaving game explorer in. Install size = 3gb without page file :)

This post has been edited by Junior2613: 12 August 2009 - 12:13 PM


#43 User is offline   Jedi-to-be 

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

Posted 12 August 2009 - 10:01 AM

Jeronimo I've got lots of "access denied" when i tried to cleanup useless drivers.
Is install_wim_tweak needed for granting access?

This post has been edited by Jedi-to-be: 12 August 2009 - 10:09 AM


#44 User is offline   Jeronimo 

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

Posted 12 August 2009 - 01:11 PM

@Jedi-to-be: the tweak needs to be run only once per image id and judging by the short time it runs I doubt it handles access for all files. However with the commands I gave you the files in winsxs are made available, I thought this was the issue you and dcatcher had. If you can provide more explicit information on which files (or folders) give access denied, then I can provide a better solution (or use the commands on the complete image). Do this without my previous solution, because I would like to know which folders are an issue, for the sake of performance and reliability I do not want to handle every file/folder in the image.

#45 User is offline   Junior2613 

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

Posted 12 August 2009 - 01:56 PM

Jeronimo it seems the access denied stuff doesn't really have much of a negative effect. It seems to work even with the access denied stuff.

#46 User is offline   Jeronimo 

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

Posted 12 August 2009 - 02:48 PM

Access denied means the operation cannot be performed. Considering we aer trying to remove redundant files, I am not sure they are all removed. But if you are happy, then I am happy. I have no issues with removing files, just trying to help you guys out.

This post has been edited by Jeronimo: 12 August 2009 - 02:50 PM


#47 User is offline   Jedi-to-be 

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

Posted 13 August 2009 - 03:40 AM

Jeronimo
Packages does not cause any errors. But the next stage cleanup makes lots of 'access denied'
Here is a part of list of errors, that I've got on cleanup.

Attached File(s)


This post has been edited by Jedi-to-be: 13 August 2009 - 04:03 AM


#48 User is offline   Jedi-to-be 

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

Posted 13 August 2009 - 04:00 AM

View PostJeronimo, on Aug 12 2009, 09:14 AM, said:

@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

with this solution I've got another error list.

Attached File(s)



#49 User is offline   Jeronimo 

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

Posted 13 August 2009 - 01:32 PM

@Jedi-to-be: could you use an image after vLite component removal, remove the "@echo off line"/ownership-commands (takeown/icacls) in removal.bat and run the cleanup stage for me as following?
removal.bat cleanup > errors3.txt 2>&1


Zip the file errors3.txt and post it here if you can.

This post has been edited by Jeronimo: 13 August 2009 - 01:33 PM


#50 User is offline   trickstar 

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

Posted 14 August 2009 - 03:01 PM

@Jeronimo

why not add this to the removal list.

ProgramData\Microsoft\Network\Downloader\qmgr*.dat

#51 User is offline   Jeronimo 

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

Posted 15 August 2009 - 04:12 AM

@trickstar: I know these files are used by BITS, but I have not had an update on Windows Update where I can test that it does not break functionality.

I might remove these if I can verify it for now I included it in the removal batch, but not activated yet (see BITS related files). Only things that I might change is the addition of setting ownership (if someone can provide details on which files, during the removal stage) and maybe a set of command to aid users in the guide SausageHack provided here.

#52 User is offline   Junior2613 

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

Posted 15 August 2009 - 09:06 AM

I just wanted to say I'm trying again with your latest removal.bat and it seems that on the command "removal.bat packages" I get a lot of errors saying the image is no longer serviceable which doesn't seem to add up because it is still mounted any tips ?

#53 User is offline   dcatcher 

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

Posted 15 August 2009 - 09:53 AM

Another hint (or lesson) for extreme removal:

Be careful with IE component, complete removal of IE breaks MMC(Manager Computer, Local services,...)

#54 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 15 August 2009 - 09:34 PM

copy "%mount%\Program Files\Internet Explorer\ieproxy.dll" "%mount%\Windows\system32"

Hey Jeronimo was looking of your internet explorer removal BTW whole batch file is very nice like it lots any ways in this line why are you copying the 64-bit version of that dll into a 32-bit system Dir?

#55 User is offline   Jeronimo 

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

Posted 16 August 2009 - 02:37 AM

@Junior2613: if you already have a mount and get errors on the package-removal, I suggest you test again and let the removal batch do the mount

@liquid0624: system32 is for the 64-bit files, SysWOW64 for the 32-bit files (open up a file in notepad and look for processorArchitecture).

#56 User is offline   Junior2613 

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

Posted 16 August 2009 - 07:54 AM

Nice works now :) I was going to say on the version I got to work I set the "Remove.Net" to V and ONLY vLite worked no other .net programs worked eg. MzVista or any other vista / 7 tweaks apps, Nvtray won't work. I hope that makes sense

EDIT* seems I can't get rid of this error still saying image not serviceable and I made no other images are mounted and i made sure that I let removal.bat do the mounting

This post has been edited by Junior2613: 16 August 2009 - 08:37 AM


#57 User is offline   nlitened 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 18-July 06

Posted 16 August 2009 - 09:01 AM

I've been getting the 'not serviceable' errors too, when trying to /get-packages.
I'm manually mounting with dism, not using the removal.bat.

Also can't seem to unmount the wim either..., very strange

This post has been edited by nlitened: 16 August 2009 - 09:03 AM


#58 User is offline   Jeronimo 

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

Posted 16 August 2009 - 09:20 AM

If you are doing to manual mount, then make sure it is the same mount-dir as set in removal.bat. Also make sure the wimfilter is installed (vLite requests this upon first run) and that you are using imagex from the Windows Vista AIK. I have not had good experiences with dism and imagex from Windows 7 AIK.

The only application I might support with the partly .NET removal (vLIte) is install_wim_tweak as this seems broken by .NET removal. Other than that it is not supported: if you want to keep .NET keep it (K), if you want it removed use the options presented (V/C).

#59 User is offline   dridzz 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 07-June 08

Posted 16 August 2009 - 11:01 AM

What would I need to mod in the batch file to keep network sharing and printer support ?

#60 User is offline   liquid0624 

  • Member
  • PipPip
  • Group: Members
  • Posts: 156
  • Joined: 19-November 08

Posted 16 August 2009 - 02:29 PM

View PostJeronimo, on Aug 16 2009, 04:37 AM, said:

@Junior2613: if you already have a mount and get errors on the package-removal, I suggest you test again and let the removal batch do the mount

@liquid0624: system32 is for the 64-bit files, SysWOW64 for the 32-bit files (open up a file in notepad and look for processor Architecture).


My bad jeronimo i believe you are right on this not finding processor Architecture in that encrypted mess but looking at the size of browcli.dll in System32 is 57KB and the size of it in SysWOW64 is 40.5KB meaning the 64-bit versions are in System32 b/c the size of a 64-bit dll is always bigger nice work never new this though it was the other way around ;) great work once again my friend :thumbup I still don't know how you are getting you install.wim down to 800 MB though lowest i can get mine removing all packages you do and cleanup all the files you do as well except for the .net stuff i just removed the .net 3 package and i can only get mine to 1.15gb install.wim and a even 1.30gb for my ISO size.

Share this topic:


  • 11 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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