Remove Flash Player

Discussion in 'Windows 10' started by GOD666, Oct 26, 2016.

  1. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
    As I suspect many of you already know, Adobe Flash Player comes preinstalled and bundled in Windows 10. By default, there appears to be no way to uninstall it by the usual methods of actually uninstalling it (just as you also cannot through the normal method, update it, as you must wait for Microsoft to release an update).

    1st) To disable it, click the menu button in Edge and select Settings. Scroll down to the bottom of the Settings panel and click “View advanced settings.” Set the “Use Adobe Flash Player” slider to “Off.”

    2nd)

    • copy the code below
    • save it as a bat file (or run them 1 by 1 in the command prompt)
    • run as administrator

    Clean and simple:

    Code:
    :: take ownership
    takeown /F "C:\Windows\System32\Macromed" /R
    takeown /F "C:\Windows\SysWOW64\Macromed" /R
    :: extend access
    cacls C:\Windows\SysWOW64\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
    cacls C:\Windows\System32\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
    :: delete
    rd "C:\Windows\System32\Macromed" /Q /S
    rd "C:\Windows\SysWOW64\Macromed" /Q /S
    del C:\Windows\SysWOW64\FlashPlayer*.*
    

    - OR -

    Overkill (good if having problems removing)

    Code:
    :: take ownership
    takeown /f C:\Windows\SysWOW64\Macromed\Flash\*.*
    takeown /f C:\Windows\System32\Macromed\Flash\*.*
    takeown /F "C:\Windows\System32\Macromed" /R
    takeown /F "C:\Windows\SysWOW64\Macromed" /R
    :: extend access
    cacls C:\Windows\SysWOW64\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
    cacls C:\Windows\System32\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
    :: delete
    del C:\Windows\SysWOW64\Macromed\Flash\*.* /Q
    del C:\Windows\System32\Macromed\Flash\*.* /Q
    del C:\Windows\SysWOW64\FlashPlayerApp.exe
    del C:\Windows\SysWOW64\FlashPlayerCPLApp.cpl
    del C:\Windows\SysWOW64\FlashPlayer*.*
    rd C:\Windows\SysWOW64\Macromed\Flash
    rd C:\Windows\System32\Macromed\Flash
    rd C:\Windows\SysWOW64\Macromed
    rd C:\Windows\System32\Macromed
    rd "C:\Windows\System32\Macromed" /Q /S
    rd "C:\Windows\SysWOW64\Macromed" /Q /S
    

    Flash player has now been removed from Windows 10. You may need to redo this with the various Windows updates, but the flash player will be no more on you computer.

    (If anyone can make this better or knows something I missed; please speak up!)


    Credit: MELERIX who helped clean up some of the code. :)


    Addition registry hack (option, please read)
    https://forums.mydigitallife.net/threads/71751-Remove-Flash-Player?p=1287573&viewfull=1#post1287573
     
  2. kaljukass

    kaljukass MDL Addicted

    Nov 26, 2012
    968
    326
    30
    What is the reason to remove it at all, why it is good that it is not there at all?
    And how to use then these apps, that uses it or see these websites which uses flash player or its plugin?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Katzenfreund

    Katzenfreund MDL Expert

    Jul 15, 2016
    1,372
    814
    60
    I do see the benefit of removing the Flash Player, indeed more than that of removing other components people here seem to want to get rid of, as it is a security liability, no matter how much they keep patching it. Also its usefulness has been reduced, e.g. it’s no longer required for Youtube, and many think it’s on its way out.

    My main browser is Opera, which does not include Flash Player out of the box as Edge does. So I’ll keep the FP on Edge, for the few occasions where it is required.
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,387
    28,813
    270
    Why do you love to remove things the wrong and aggressive way? :g:
     
  5. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,107
    4,573
    150
    @abbodi1406 yep I agree,yet is simple to remove this, use MSMG toolkit and no problems and worries :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. JFKI

    JFKI MDL Expert

    Oct 25, 2015
    1,098
    370
    60
     
  7. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
    #7 GOD666, Oct 26, 2016
    Last edited: Oct 26, 2016
    (OP)
    1st there is nothing "wrong" with doing it this way. :rolleyes:

    Because there is no easier way to remove it via Internet Explorer or Microsoft Edge in a system with Windows 10 installed. Even if you do not use Internet Explorer or Microsoft Edge it is still there on your system, which can make it very insecure.
     
  8. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
    #8 GOD666, Oct 26, 2016
    Last edited: Jun 6, 2017
    (OP)
    Because not everyone wants to make their own private, customized ISO distro of Windows 10, just to not have Flash Player installed. ;)

    (Especially if you're already using Windows LTSB which has most everything already removed)
     
  9. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60

    ^^ These are some good reasons to remove Flash Player.
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,387
    28,813
    270
  11. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    879
    457
    30
    Remove it with dism, thats the only good way.
    Unhide it, remove it.
    Just 2 actions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
  13. wazzock

    wazzock MDL Senior Member

    Oct 22, 2016
    340
    185
    10
    Give DISMGUI a go.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
    What part of... I do not want to make my own customized ISO distro do people not understand?! :rolleyes:
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,387
    28,813
    270
    You don't have to make it, neither you have to publish wrong method for chopping system components :rolleyes:
     
  16. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
    #16 GOD666, Oct 26, 2016
    Last edited: Oct 26, 2016
    (OP)
    It's not wrong, it works and it hurts nothing! ;)

    My method also helps those who already have Windows installed and who do not want to reinstall windows all over again. :cool:

    Making a customized iso (windows install) I see as more problematic than just deleting 4 files. It's bit overkill... It is like telling someone to drop a nuclear bomb in order to swat a fly when you could just use a fly swatter. :death:
     
  17. wazzock

    wazzock MDL Senior Member

    Oct 22, 2016
    340
    185
    10
    you said you didnt want to use "MSMG ToolKit". Fair enough, but you didnt rule out dism altogether. Everytime you do a reinstall you will have to remove those files.

    Its just by the grace of god i can actually wipe myself but even i can use dism with or without a gui. :biggrin:

    In all fairness, your way may not be the correct or accpeted way of doing it, but if it works for you, hey ho. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. lt

    lt MDL Novice

    Nov 29, 2012
    47
    38
    0
    try these:

    install_wim_tweak.exe /o /l
    install_wim_tweak.exe /o /c Adobe-Flash-For-Windows-Package /r
    install_wim_tweak.exe /h /o /l
     
  19. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,972
    2,025
    60
    #19 GOD666, Oct 26, 2016
    Last edited: Oct 26, 2016
    (OP)
    The goal is not to make a customize windows install, rather how to address a copy of Windows already pre-installed (without having to reinstall it again).

    If dims has an option to remove flash player from a working install of Windows 10 without making a new install; I did not notice it, but I welcome you to point it out.

    I was just thinking the same thing about 'your way'. To each their own. ;)


    (Your method will just re-add flash back as soon as they release a new update. My method I can redo without issue)
     
  20. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    879
    457
    30
    So many wrong information. I'm out.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...