![]() # This can be used as a detection method in SCCM for running an Uninstall deployment of the flash uninstaller. # This script detects whether Adobe Flash is installed, and exits successfully if so, otherwise exits with an error. Here's the detection method I'm using successfully: # Detect-Flash.ps1 IF EXIST "C:\\WINDOWS\\SysWOW64\\FlashPlayerInstaller.exe" DEL /Q /F "C:\\WINDOWS\\SysWOW64\\FlashPlayerInstaller.exe"Įcho %LOG% Remove Flash Player files from user profiles >"%~dp0_Logs\%Computername%.log" c:įOR /D %%G in ("\*") DO RD /S /Q "C:\\Users\\%%G\\appdata\\Adobe\\Flash Player"įOR /D %%G in ("\*") DO RD /S /Q "C:\\Users\\%%G\\appdata\\Adobe\\Macromedia Flash" ![]() IF EXIST "C:\\WINDOWS\\SysWOW64\\FlashPlayerApp.EXE" DEL /Q /F "C:\\WINDOWS\\SysWOW64\\FlashPlayerApp.EXE" IF EXIST "C:\\WINDOWS\\SysWOW64\\FlashPlayerCPLApp.cpl" DEL /Q /F "C:\\WINDOWS\\SysWOW64\\FlashPlayerCPLApp.cpl" IF EXIST "C:\\WINDOWS\\SYSTEM32\\FlashPlayerInstaller.exe" DEL /Q /F "C:\\WINDOWS\\SYSTEM32\\FlashPlayerInstaller.exe" IF EXIST "C:\\WINDOWS\\SYSTEM32\\FlashPlayerApp.EXE" DEL /Q /F "C:\\WINDOWS\\SYSTEM32\\FlashPlayerApp.EXE" IF EXIST "C:\\WINDOWS\\SYSTEM32\\FlashPlayerCPLApp.cpl" DEL /Q /F "C:\\WINDOWS\\SYSTEM32\\FlashPlayerCPLApp.cpl" ![]() As a general rule, if someone has flair, they almost definitely know what they're talking about.Įcho %LOG% Uninstall Flash Player >"%~dp0_Logs\%Computername%.log" %\~dp0\_Client\\uninstall\_flash\_player.exe -uninstall -forceĮcho %LOG% Remove Flash Files from Windows >"%~dp0_Logs\%Computername%.log" IF EXIST "C:\\Windows\\system32\\Macromed\\Flash" DEL /S /Q /F "C:\\Windows\\system32\\Macromed\\Flash\\\*.\*" Microsoft employees typically have MSFT Official flair, and MVPs usually have MSFT Enterprise Mobility MVP with a link to their personal site/blog.Please send mod mail if you qualify and would like flair set for your account. Flair is reserved for Microsoft employees and MVPs.System Center Configuration Manager and Endpoint Protection.Listing of Local ConfigMgr-related User Groups (largely outdated) URL shorteners cause this almost every time, but so do strings of apparent gibberish like WSUS and PXE sometimes. It might have been caught by the spam filter. Post your SCCM tips and tricks, requests for help, or links others might find useful! Post not showing up?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |