In the Adobe AIR example I gave in step 1, I would delete the entire folder 1.0 under Versions. inf file associated with the Macromedia Flash Player ActiveX control (swflash.inf) and delete it. $hash_value = Get-FileHash -Path "C:\temp\uninstall_flash_player. After the ActiveX has been successfully unregistered, locate the file. #Get hash value of the file we just copied. Robocopy "\\Put\Source\Path\Here" "C:\temp" uninstall_flash_player.exe ![]() #Create a temp dir if its not already there and copy the uninstall tool Below is the updated script that handles this issue by giving ‘System’ ownership of the folder. You may want to re-hash the when you download it as well just in case its different than what in the script.ĮDIT 3-19-21: I have run into additional permission issues on some PCs where, for some reason, ‘Trusted Installer’ is the owner of the Flash folders. The only thing you need to modify in this script is the source path where you put the uninstaller. The script leverages the uninstall tool that adobe provides here and also removes the app data folders for each user. See my post here to learn how to create and run a script in SCCM. ![]() ![]() Here is a script that you can use to uninstall flash and remove all leftover folders. Well, Flash is finally dead and you probably want to get it off all your systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |