Remove Windows Media Player from Windows 7 offline image

Discussion in 'Windows 7' started by Drakelor, Jan 11, 2012.

  1. Drakelor

    Drakelor MDL Novice

    Jul 29, 2009
    29
    0
    0
    Hi all,

    I'd like to remove Media Player from windows offline image, similar as RT 7 Lite does.
    I think there is a script, but i cannot find it.
    If you can help me i will be happy
     
  2. ffcloud2000

    ffcloud2000 MDL Member

    Oct 23, 2009
    164
    5
    10
    #2 ffcloud2000, Jan 12, 2012
    Last edited by a moderator: Apr 20, 2017
    Here's a cmd script i use to automate enabling/disabling features for when i slipstream updates.. Just add WMP to it

    CustomWIM.cmd
    Code:
    MD %~dp0MOUNT
    MD %~dp0x86-MSUpdates
    
    REM Make sure install.wim is in the same Directory
    REM Along with any .MSU updates in the x86 folder
    REM This is gonna take a while.
    PAUSE
    
    Dism.exe /Mount-WIM /WimFile:%~dp0install.wim /Name:"Windows 7 ULTIMATE" /MountDir:%~dp0MOUNT
    
    Dism.exe /Image:%~dp0MOUNT /Disable-Feature /FeatureName:WindowsGadgetPlatform /FeatureName:Printing-XPSServices-Features /FeatureName:Xps-Foundation-Xps-Viewer
    
    Dism.exe /image:%~dp0MOUNT /Add-Package /PackagePath:"%~dp0x86-MSUpdates"
    
    Dism.exe /Unmount-WIM /MountDir:%~dp0MOUNT /Commit
    
    REM Check for errors before closing.
    PAUSE
    

    If you're not sure what the exact feature name is.. use the command below after you've mounted the WIM to list them all
    Code:
    Dism.exe /Image:%~dp0MOUNT /Get-Features | more
    
     
  3. Drakelor

    Drakelor MDL Novice

    Jul 29, 2009
    29
    0
    0
    Ok thanks very good start with this :) but there is possibility to remove it completely?
     
  4. ffcloud2000

    ffcloud2000 MDL Member

    Oct 23, 2009
    164
    5
    10
    I think you might need something like RT7 lite in order to completely remove stuff
     
  5. stayboogy

    stayboogy MDL Addicted

    May 1, 2011
    710
    116
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...