Script to Remove Apps

Discussion in 'Windows 10' started by SightUp, Aug 21, 2015.

  1. beamslider

    beamslider MDL Senior Member

    Feb 1, 2010
    333
    94
    10
    You can remove store for sure from the wim and activate.. I have done so. Haven't removed defender so can't say for sure. But doubt it would make any difference.
     
  2. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    Yep removed lots of things an pro still gets activated...
     
  3. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60

    I just use DISM.. ( a little tool called "install_wim_tweaker" can be used to un-hide al the packages ) but I am on with doing it manually.

    First thing I do to my install.wim image which is from
    I export the pro index and work solely on that.
     
  4. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0

    If you dont mind ...can you upload that modded iso? sorry if this illegal im newb.
     
  5. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60

    Get more satisfaction doing it ya sen.
    have a good look round the windows 10 section and you should be able to pick up all the info you need.
     
  6. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0

    I know that but not all people can grab what they learnt right. so if you can upload that perfect iso im really appreciated that.
     
  7. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    Check out the rules

    Only genuine images allowed I believe.
     
  8. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0
    #28 Microft, Aug 25, 2015
    Last edited by a moderator: Apr 20, 2017
    I did tried myself but always failed...

    Code:
    C:\10\Waik_4_1\amd64\Dism>Dism /Mount-Image /ImageFile:C:\test\images\myimage.wim /index:1 /MountDir:C:\test\offline
    
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.16384
    
    
    Error: 11
    
    An attempt was made to load a program with an incorrect format.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    
    C:\10\Waik_4_1\amd64\Dism>


    you know how to solve this ?
     
  9. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    478
    119
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,709
    990
    60
    #30 Super Spartan, Aug 25, 2015
    Last edited: Aug 25, 2015
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    #31 tnx, Aug 25, 2015
    Last edited by a moderator: Apr 20, 2017
    I see your trying this on an offline image.
    Change your folder structure.
    At the ROOT of C make these DIR

    C:\DISM
    C:\DISM\install.wim
    C:\DISM\mount

    place your install.wim file in the install.wim folder

    copy this code into a notepad document and "save as .cmd" Call it what you will. i.e "Mount install.wim Then Pause"

    This will mount your install.wim file into C:\DISM\mount

    to un-mount there are two basic commands

    this commits any changes made to the install.wim

    that unmounts the install.wim WITHOUT saving any changes.

    save these as .cmd also

    Save the files into C:\DISM and right click run as admin.


    Used that setup for many years now, works perfectly for me.
     
  12. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0
    #32 Microft, Aug 25, 2015
    Last edited by a moderator: Apr 20, 2017
    Code:
    C:\DISM>dism /mount-wim /wimfile:C:\DISM\install.wim\install.wim /index:1 /mountdir:C:\DISM\mount
    
    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384
    
    
    Error: 11
    
    An attempt was made to load a program with an incorrect format.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    
    C:\DISM>pause
    Press any key to continue . . .
    What now ? Had been tried for days now still couldnt make it. :(
    Im copy the install.wim right from the windows10 iso file... is that true?
     
  13. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    #33 tnx, Aug 25, 2015
    Last edited by a moderator: Apr 20, 2017
    Your code

    My code

    Yes extract the install.wim from your iso image..

    did you make the DIR I suggested ?

    If so copy my code into notepad save it as a .cmd
    put this file into the DISM folder, right click run as admin..
     
  14. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    are you running a Windows 8 OS or Win 10 OS ?

    Not sure but I think Win 8 DISM.exe does not work on Win 10 images ???

    I have not tried using the Win 10 DISM.exe on a Win 8 OS....Might just try that now
     
  15. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0
    Windows 10 pro 64 1024...weird i just copy your code and save as .cmd file why it different
     
  16. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    Good you running Win 10..

    a .cmd is a command prompt file. It saves having to type it out all the time.
    once saved as a .cmd the icon should look like two little cog wheels.

    Be sure to run it as ADMIN - right click run as admin

    I have had no bother what so ever with that script I gave you.
    There are other tools with nice gui's which can do the same. You may find them easier to use.
     
  17. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0
    #37 Microft, Aug 25, 2015
    Last edited by a moderator: Apr 20, 2017
    Code:
    C:\DISM>dism /mount-wim /wimfile:C:\DISM\install.wim\install.wim /index:1 /mountdir:C:\DISM\mount  Deployment Image Servicing and Management tool Version: 10.0.10240.16384   Error: 11  An attempt was made to load a program with an incorrect format.  The DISM log file can be found at C:\Windows\Logs\DISM\dism.log  C:\DISM>pause Press any key to continue . . .
    Yeah i know what cmd is and im allready run as admin.
    can you show your result after you mount the wim cuz im weird the code ^^ not the same as i save in cmd.
     
  18. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    #38 tnx, Aug 25, 2015
    Last edited by a moderator: Apr 20, 2017

    Ok..

    I will re-boot up into Win 10 and run DISM and see what it says...
     
  19. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    I have just Googled DISM error 11

    It mentions having a mist match of x32 OS and trying to amend a x64 image.

    Did you say you were running Win 10 x64 ?

    Never seen this error so I don't really know
     
  20. Microft

    Microft MDL Novice

    Aug 24, 2015
    17
    1
    0
    Yeah im runnin 64bit ...im tried put the cmd outside DISM folder then i got error 3 .