Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
krose

Any way to remove apps with DISM?

Recommended Posts

Bought a new Lenovo laptop and of course it came with the usual crapware installed, OS is Win7 HPx64. There is a recovery partition where I found an image named cdrivebackup.wim. It is bloated to nearly 6.9GB. I mounted it using dism and got a lengthy list of apps installed. I know you can remove packages but I cannot see a way to remove applications. Is there any way to do this so that I may reinstall a cleaned up image and preserve windows activation?

Share this post


Link to post
Share on other sites

You can use the same method to add/remove apps as what they do when doing a reverse integration of a service pack

http://blogs.techrepublic.com.com/window-on-windows/?p=1249

You install it to a second partition, when you reach the part where you enter your name for a user account press shift+ctrl f3, uninstall the apps you dont want, in the sysprep dialog tick generalize and choose shutdown and hit OK, then you boot into your main OS and you use imagex to capture the OS you installed and removed stuff on the second HDD

A bit daunting but doable

If I were you I would get a retail copy of Windows 7, back up the oem certificate and serial from your current install and add it to your DVD to create in essence a OEM DVD

Edited by ricktendo64

Share this post


Link to post
Share on other sites

Thanks for the reply. I have a retail copy for my desktop. I used a keyfinder to get the OEM's key from the laptop. Where would I look for the OEM certificate and serial?

Share this post


Link to post
Share on other sites

Usually %WinDir%\System32\oem\, that's the place you usually put it if you want it auto installed, you are looking for a *.XRM-MS file

If you google "create oem dvd" you will find some info, maybe even some tools that can grab the files like RipOEM.EXE and there are others

BTW ignore the pid.txt stuff, no longer works I think, just enter your oem serial during normal setup

Edited by ricktendo64

Share this post


Link to post
Share on other sites

My effort was successful! I put the key in my autounattend.xml file and the .xmr-ms file in both system32 and syswow64 oem folders. I don't know if it matters but I also edited the ei.cfg file from retail to oem and set VLK to 1 from 0. Did the install and it is already activated without all the crapware. Went from 60+ processes down to 33, LOL. Thanks so much for your help.

Share this post


Link to post
Share on other sites

Glad to help

BTW I dont think you have to put it in syswow64\oem only system32\oem (unless thats the way it was on your original oem install) and editing ei.cfg, not so important

Edited by ricktendo64

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...