MSFN Forum: Windows 7 Ultimate/Server 2008 R2 Enterprise SP1 Batch 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.
  • 7 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 7 Ultimate/Server 2008 R2 Enterprise SP1 Batch Removal dism + vlite + batch file removal for official release Rate Topic: -----

#21 User is offline   dead0 

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

Posted 07 March 2011 - 01:41 PM

View Postalvinkhorfire, on 06 March 2011 - 10:56 PM, said:

shufu

Please refer to this quoted text.

View Postalvinkhorfire, on 28 February 2011 - 12:34 AM, said:

Quoted from Wikipedia:

1. WAIK 1.0—Released with Vista

2. WAIK 1.1—v6.0.6001.18000—Released with Vista SP1 and Windows Server 2008
Filename: 6001.18000.080118-1840-kb3aikl_en.iso
Version: v936330AIK – Released: 4/9/2008–1375.9 MB

3. WAIK 2.0 - v6.1.7000.0—Released with Windows 7
Filename: KB3AIK_en.ISO

4. WAIK 2.0 RC: 6.1.7100.0—Released with Windows Vista
Filename: KB3AIK_en.ISO

5. Win7 WAIK / WAIK 3.0: 6.1.7600.16385 Includes DISM.exe, same version number
Filename: KB3AIK_en.ISO
Version: v3.0—Released: 8/6/2009—1706.6 MB

Windows AIK version 3.0 is the exact same as 2.0. The hash values of the ISO images are exactly the same.


In short, WAIK 2.0 is WAIK for Windows 7.

dead0

I am using 64-bit Windows 7 SP1.

1a. You mentioned before that there is no need to have both WAIK installed and we just need the imagex and filters from them. Suppose that I installed WAIK 2.0. What are the files that I need to copy from C:\Program Files\Windows AIK\Tools? Thus, when I perform the steps of preparing image, I do not have to install WAIK 2.0. All I have to do is to place the necessary files in C:\ImageX\seven\amd64.

1b After placing the files and a copy of gimagex in C:\ImageX\seven\amd64, do I have to perform the following step?
in cmd prompt, go to C:\ImageX\seven\amd64 and execute wimmountinstall /install

2a. Suppose that I have prepared my image and want to initiate the dism/vlite/batch removal processes. Again, I do not want to install WAIK 1.1. I want to know what the files that I need to copy from C:\Program Files\Windows AIK\Tools are.

2b. Is deleting C:\ImageX\seven\amd64 good enough, to remove WAIK 2.0 imagex and filters from my system? Or, do I have to execute some kind of command prompt?

2c. Once I have placed the WAIK 1.1 imagex and filters in C:\ImageX\vista\amd64, again do I have to perform the following step?
in cmd prompt, go to C:\ImageX\Vista\amd64 and execute wimfltrinstall /install

All of the aforementioned steps involve no installing of both WAIK 1.1 and WAIK 2.0. They only involve copying the neccasary files to either C:\ImageX\seven\amd64 or C:\ImageX\Vista\amd64.

Thank you for your advice.

1a) if you install waik 2.0 (for windows 7), you can skip 1b. waik 2.0 is only needed to make the install.wim compatible with vista waik 1.1. my other method of copying files may get too complicated. when you install waik 2.0, that version of the wimfltr ie wimmount.sys will be or should be active. you then copy over gimagex to your waik folder where imagex.exe resides. if your OS is x64, you then copy gimagex to the amd64 folder, if x86 copy to the x86 folder.

2a/b/c) you need waik 1.1 for vlite to work as vlite depends on its wimfltr and wimgapi.dll. you also need this version of imagex to apply the batch files

this should make it easier


#22 User is offline   dead0 

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

Posted 07 March 2011 - 01:45 PM

View PostxpJohnson, on 07 March 2011 - 12:39 PM, said:

Dead0, as per your original guide, do we need to go back to vlite after your winsxs shrinker and select only winsxs and run again.

after you apply the batch files, you do not need to touch the winsxs folder with vlite. the winsxs folder will be roughly 250mb in size if x64 but i suggest not messing further with this. i have installed all updates so far with this, and no update errors at all.

View PostxpJohnson, on 07 March 2011 - 01:20 PM, said:

I am getting an error of cd/dvd device driver missing. I am using virtual box to test. I was getting this when I was trying my own slim versions and couldn't remember what I put back in to get it to work. Any Idea?

you need to copy the setup.exe from the original iso sources folder, not the root folder.

#23 User is offline   xpJohnson 

  • Junior
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 01-January 09

Posted 07 March 2011 - 05:31 PM

View Postdead0, on 07 March 2011 - 01:45 PM, said:

View PostxpJohnson, on 07 March 2011 - 01:20 PM, said:

I am getting an error of cd/dvd device driver missing. I am using virtual box to test. I was getting this when I was trying my own slim versions and couldn't remember what I put back in to get it to work. Any Idea?

you need to copy the setup.exe from the original iso sources folder, not the root folder.


Duh, yea that was it, forgot about that. Thanks

#24 User is offline   alvinkhorfire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 103
  • Joined: 11-May 08

Posted 07 March 2011 - 11:00 PM

dead0

Thank you for your informative reply. To me, it is a bit of hassle to install either WAIK 1.1 or WAIK 2.0, each time I want to slim down Windows SP1. However, if you said it is much earlier, I will heed your advice. :)

View Postdead0, on 03 March 2011 - 10:59 AM, said:

6) once done, create a backup of your install.wim as you may need it later if you encounter any problems with vlite or batch removal.


For this step, do I need to copy other files in C:\s1, other than install.wim? What about boot.wim and other folders inside C:\s1?

If I am not mistaken, your step implies that GimageX with WAIK 2.0 made changes only to install.wim. Once I copy back this modified install.wim into untouched image of Windows 7 SP1 (MSDN), this image does not require any further modification and is ready for the dism/vlite/batch removal process. Am I right about this?

This post has been edited by alvinkhorfire: 07 March 2011 - 11:01 PM


#25 User is offline   dead0 

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

Posted 09 March 2011 - 09:40 AM

first post updated with new batch files

This post has been edited by dead0: 09 March 2011 - 11:31 AM


#26 User is offline   dead0 

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

Posted 09 March 2011 - 09:42 AM

View Postalvinkhorfire, on 07 March 2011 - 11:00 PM, said:

dead0

Thank you for your informative reply. To me, it is a bit of hassle to install either WAIK 1.1 or WAIK 2.0, each time I want to slim down Windows SP1. However, if you said it is much earlier, I will heed your advice. :)

View Postdead0, on 03 March 2011 - 10:59 AM, said:

6) once done, create a backup of your install.wim as you may need it later if you encounter any problems with vlite or batch removal.


For this step, do I need to copy other files in C:\s1, other than install.wim? What about boot.wim and other folders inside C:\s1?

If I am not mistaken, your step implies that GimageX with WAIK 2.0 made changes only to install.wim. Once I copy back this modified install.wim into untouched image of Windows 7 SP1 (MSDN), this image does not require any further modification and is ready for the dism/vlite/batch removal process. Am I right about this?

you only need to backup the modified install.wim. this just avoids having to redo the whole process all over again

#27 User is offline   xpJohnson 

  • Junior
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 01-January 09

Posted 09 March 2011 - 10:18 AM

View Postdead0, on 09 March 2011 - 09:40 AM, said:

first post updated with new batch files

What did you change? Hope not much since I just got running again!

I just finished my install last night and got 2 errors when installing office about 2 fonts couldn't install, any ideas?

#28 User is offline   dead0 

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

Posted 09 March 2011 - 11:32 AM

View PostxpJohnson, on 09 March 2011 - 10:18 AM, said:

View Postdead0, on 09 March 2011 - 09:40 AM, said:

first post updated with new batch files

What did you change? Hope not much since I just got running again!

I just finished my install last night and got 2 errors when installing office about 2 fonts couldn't install, any ideas?

just some small tweaks, nothing major. i took em down again as im just rechecking the dism files.

i think the fonts issue is a common problem with office. i always get the font error

#29 User is offline   dead0 

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

Posted 12 March 2011 - 04:13 PM

updated first post with hopefully, the final batches...:P

ps all latest windows updates installed without any errors. rather than deleting the winsxs folder, clearing the folders might be a safer option...and for now, KB947821 is not required to update.

also, remember, you can delete more with vlite to shrink it further as my lastsession templates only remove a minimal amount

This post has been edited by dead0: 12 March 2011 - 04:16 PM


#30 User is offline   ThePegass 

  • Group: Members
  • Posts: 4
  • Joined: 16-January 10

Posted 13 March 2011 - 03:49 PM

dead0: Hi, I have a problem (look at screenshot). I did everything following your guide to prepair image:

- Installed WAIK 2.0
- Ticked RW, Commit. Mounted image (original install.wim) using Gimagex with image 4 (x64).
- Unmounted image with Commint changes ticked.
- Uninstalled WAIK 2.0.
- Restarted Windows.
- Installed WAIK 1.1.
- Mounted image using Gimagex with image 4 (x64).
- Used tweak.exe /m. Ok.
- Unmounted image with Commint changes ticked.
- Mounted image using Gimagex with image 4 (x64).
- Started dism7x64.bat (c:\s1\sources) downloaded from first post of this thread.
After removed few packages it give me this error:
Attached File  Capture.JPG (156.17K)
Number of downloads: 118

...what I´m doing wrong?

#31 User is offline   Hybrid Keyrayder 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 27-September 07

Posted 14 March 2011 - 09:55 AM

I have the same problem as ThePegass. Followed the same steps too.

#32 User is offline   dead0 

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

Posted 14 March 2011 - 04:55 PM

looks like the install.wim hasn't been prepped properly. uninstall waik 1.1 and restart. startup regedit and go here: HKLM\system\currentcontrolset\services and delete the wimfltr key. if you start vlite, it should ask to install the wimfilter, cancel the installation, this just ensures the waik 1.1 wimfltr has been removed. install waik 2.0. open a cmd prompt that points to your waik folder where imagex.exe resides (probably c:\program files\windows aik\tools\servicing\amd64\) and then enter "wimmountinstall /uninstall" once done enter "wimmountinstall /install" without quotes. copy gimagex to where imagex.exe is and start mounting and unmounting as in the first post. the unmounting should take a while, if its under a minute then it has not worked.

#33 User is offline   gendouhydeist 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 02-January 07

Posted 16 March 2011 - 07:25 AM

After Trimming SP1, installing W7 using Flash drive doesn't work on me anymore... it gives error in selecting partition drive to install.

#34 User is offline   xpJohnson 

  • Junior
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 01-January 09

Posted 16 March 2011 - 08:27 AM

Well after installing all my software and doing my daily uses, I have ran into a problem. I am missing usbser.sys and can't install it either. Usbser.sys is used for virtual com ports via usb. I downloaded KB925681 and can't install this hotfix. Any ideas on what to do? I may have to start all over with my install.

#35 User is offline   dead0 

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

Posted 16 March 2011 - 03:33 PM

View PostxpJohnson, on 16 March 2011 - 08:27 AM, said:

Well after installing all my software and doing my daily uses, I have ran into a problem. I am missing usbser.sys and can't install it either. Usbser.sys is used for virtual com ports via usb. I downloaded KB925681 and can't install this hotfix. Any ideas on what to do? I may have to start all over with my install.

if you removed modem support, that could be the reason why as the only driver i could find that almost matches it is brusbser.sys which is the driver from brother modem in brmfport.inf in the driverstore. ive searched the winsxs folder and could not locate usbser.sys. even with modem support removed, the brusbser.sys is still in the system32\drivers folder.

ps from what i can gather usbser.sys is not part of windows 7 and its actually installed by 3rd party drivers?

This post has been edited by dead0: 16 March 2011 - 04:32 PM


#36 User is offline   xpJohnson 

  • Junior
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 01-January 09

Posted 16 March 2011 - 09:28 PM

actually it is in all windows since 98'. It win7 it is in winsxs\amd64_mdmcpq.inf_31bf3856ad364e35_6.1.7601.17514_none_d13aa360cb6ad78e and driverstore\filerepository/mdmcpq.inf_amd64_neutral_fbc4a14a6a13d0c8.

The winsxs you are deleting. I am assuming this deletes the driverstore because that folder was missing. I copied over and am still having problems so I think there are some dependencies to work with it as well.

This driver is for various things like usb wifi cards and virtual com ports with a usb-232 converter.

#37 User is offline   dead0 

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

Posted 17 March 2011 - 10:09 AM

View PostxpJohnson, on 16 March 2011 - 09:28 PM, said:

actually it is in all windows since 98'. It win7 it is in winsxs\amd64_mdmcpq.inf_31bf3856ad364e35_6.1.7601.17514_none_d13aa360cb6ad78e and driverstore\filerepository/mdmcpq.inf_amd64_neutral_fbc4a14a6a13d0c8.

The winsxs you are deleting. I am assuming this deletes the driverstore because that folder was missing. I copied over and am still having problems so I think there are some dependencies to work with it as well.

This driver is for various things like usb wifi cards and virtual com ports with a usb-232 converter.

the batch only deletes the winsxs not the driverstore except for some remaining drivers. the usbser.sys is part of the compaq modem drivers so if remove the package Microsoft-Windows-Common-Modem-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7601.17514 with dism, it removes the modem drivers from the driverstore. i believe since vista, usbser.sys is not installed as default but part of the extra drivers. so you will need to keep that package and modem support in vlite.

#38 User is offline   xpJohnson 

  • Junior
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 01-January 09

Posted 17 March 2011 - 11:11 AM

It is installed by default. That is how I got those folder names. I installed a virgin sp1 and got it.

#39 User is offline   ThePegass 

  • Group: Members
  • Posts: 4
  • Joined: 16-January 10

Posted 17 March 2011 - 03:14 PM

View Postdead0, on 14 March 2011 - 04:55 PM, said:

looks like the install.wim hasn't been prepped properly. uninstall waik 1.1 and restart. startup regedit and go here: HKLM\system\currentcontrolset\services and delete the wimfltr key. if you start vlite, it should ask to install the wimfilter, cancel the installation, this just ensures the waik 1.1 wimfltr has been removed. install waik 2.0. open a cmd prompt that points to your waik folder where imagex.exe resides (probably c:\program files\windows aik\tools\servicing\amd64\) and then enter "wimmountinstall /uninstall" once done enter "wimmountinstall /install" without quotes. copy gimagex to where imagex.exe is and start mounting and unmounting as in the first post. the unmounting should take a while, if its under a minute then it has not worked.


Still not working. Unmountig take about 1min 30sec. and dism give me still error. So I tried solution in this topic http://www.msfn.org/...-win7-sp1-msdn/ .
With no WAIK installed, using Gimagex only (Apply Tab, Capture Tab) I created install.wim. This install.wim is now compatible with WAIK 1.1, vLite, dism and batch removal working fine.


I dont know why, but mounting/unmounting not worked for me.

#40 User is offline   dead0 

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

Posted 17 March 2011 - 05:47 PM

View PostThePegass, on 17 March 2011 - 03:14 PM, said:

View Postdead0, on 14 March 2011 - 04:55 PM, said:

looks like the install.wim hasn't been prepped properly. uninstall waik 1.1 and restart. startup regedit and go here: HKLM\system\currentcontrolset\services and delete the wimfltr key. if you start vlite, it should ask to install the wimfilter, cancel the installation, this just ensures the waik 1.1 wimfltr has been removed. install waik 2.0. open a cmd prompt that points to your waik folder where imagex.exe resides (probably c:\program files\windows aik\tools\servicing\amd64\) and then enter "wimmountinstall /uninstall" once done enter "wimmountinstall /install" without quotes. copy gimagex to where imagex.exe is and start mounting and unmounting as in the first post. the unmounting should take a while, if its under a minute then it has not worked.


Still not working. Unmountig take about 1min 30sec. and dism give me still error. So I tried solution in this topic http://www.msfn.org/...-win7-sp1-msdn/ .
With no WAIK installed, using Gimagex only (Apply Tab, Capture Tab) I created install.wim. This install.wim is now compatible with WAIK 1.1, vLite, dism and batch removal working fine.


I dont know why, but mounting/unmounting not worked for me.

thats great, i'll update my first post. this seems an easier way

Share this topic:


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