Any script or commands to remove Microsoft crap are from Windows 8.1?

Discussion in 'Windows 8' started by Carol666, Aug 22, 2015.

  1. Carol666

    Carol666 MDL Member

    Aug 12, 2015
    129
    10
    10
    Windows store, block or remove defender, skydrive and all other apps

    Are there somewhere any scripts on this forum i could use for Windows 8.1?
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Check my signature for the script (MSMG ToolKit)

     
  3. heuheu

    heuheu MDL Novice

    Aug 22, 2015
    2
    0
    0
    MSMG, If I understood correctly the tool should be used on a target windows 8.x iso before actually installing it, or can we still use it's junk removal features on a freshly installed OS.
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Yes for servicing install.wim and then installing it.

     
  5. crashnburn

    crashnburn MDL Addicted

    Mar 18, 2010
    574
    25
    30
  6. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #6 spidernz, Sep 2, 2015
    Last edited by a moderator: Apr 20, 2017
    I'm using install_wim_tweak_NET4.6.exe to remove packages

    however something weird is happening (Partial Code):

    Code:
    Set WIMTWEAK=%A%:\Apps\Resources\install_wim_tweak_NET4.6.exe
    
    Echo --------------------------------------------------------------------------------
    Echo "IWT Remove Packages/Apps"
    Echo --------------------------------------------------------------------------------
    "%WIMTWEAK%" /p %MOUNT% /l
    Move "packages.txt" "%BUILD%\8.1 Build\8.1 Features\"
    
    "%WIMTWEAK%" /p %MOUNT% /c "VpnPlugin" /r
    "%WIMTWEAK%" /p %MOUNT% /c "Microsoft-Hyper-V" /r
    "%WIMTWEAK%" /p %MOUNT% /c "InternetExplorer" /r
    "%WIMTWEAK%" /p %MOUNT% /c "IE-Troubleshooters" /r
    "%WIMTWEAK%" /p %MOUNT% /c "Windows-Defender" /r
    "%WIMTWEAK%" /p %MOUNT% /c "VirtualPC" /r
    "%WIMTWEAK%" /p %MOUNT% /c "OneDrive" /r
    "%WIMTWEAK%" /p %MOUNT% /c "Server-Help" /r
    "%WIMTWEAK%" /p %MOUNT% /c "IIS-WebServer" /r
    "%WIMTWEAK%" /p %MOUNT% /c "NetFx-Shared" /r
    "%WIMTWEAK%" /p %MOUNT% /c "OfflineFiles" /r
    "%WIMTWEAK%" /p %MOUNT% /c "Telnet" /r
    "%WIMTWEAK%" /p %MOUNT% /c "SnippingTool" /r
    "%WIMTWEAK%" /p %MOUNT% /c "StickyNotes" /r
    "%WIMTWEAK%" /p %MOUNT% /c "RemoteFX" /r
    "%WIMTWEAK%" /p %MOUNT% /c "RemoteDesktop" /r
    "%WIMTWEAK%" /p %MOUNT% /c "RemoteAssistance" /r
    "%WIMTWEAK%" /p %MOUNT% /c  "Adobe-Flash" /r
    
    
    It doesn't remove them but does make them available for DISM to remove under /Get-Packages.
    Why would it not be removing them?

    Oddly it does work for Microsoft-Hyper-V, Server-Help, Adobe-Flash & Windows-Defender


     
  7. crashnburn

    crashnburn MDL Addicted

    Mar 18, 2010
    574
    25
    30
    Dont mind Powershell as long as we can find some way to prevent MS from spying on us and using our ISP Bandwidth, how they want. I dont even mind a Post install Remover :)
     
  8. Smorgan

    Smorgan Glitcher

    Mar 25, 2010
    1,855
    1,051
    60
    #9 Smorgan, Sep 4, 2015
    Last edited: Sep 4, 2015
    Well at the moment I have the script and have tested it. However in order to make it work I used a powershell module that I imported in. I want an automated means of deployment for personal use.

    I will post what is in working order:

    1. Detecting the specific KB that is installed - Done
    2. Removing the KB as a result of it being installed - Done
    3. Blocking the Specific KB at the end of it - Done
    4. Getting it done without having to manually install the Powershell Module - Not done.

    I have 2 sides of this:

    The first removes after the update has been installed. Along with the flip side that puts the blocker in place right after the install finishes :). Even though you make a custom iso in the process.