Windows 8の Flash Player を削除して強制的にアップグレードできないか試した
とりあえず、そのままだと、上書きでインストールできないので、フォルダのアクセス権限。レジストリのアクセス権限を奪って書き換えてみた。
| @echo off cd C:\Users\BlackWingCat\Desktop\ subinacl /keyreg HKEY_LOCAL_MACHINE\software\macromedia /setowner=blackwingcat subinacl /keyreg HKEY_LOCAL_MACHINE\software\macromedia\FlashPlayer\safeversions /setowner=blackwingcat subinacl /nostatistic /keyreg “HKEY_LOCAL_MACHINE\software\macromedia” /grant=blackwingcat=F subinacl /keyreg HKEY_LOCAL_MACHINE\software\macromedia\FlashPlayer /setowner=blackwingcat subinacl /nostatistic /keyreg “HKEY_LOCAL_MACHINE\software\macromedia” /grant=SYSTEM=F subinacl /nostatistic /keyreg “HKEY_LOCAL_MACHINE\software\macromedia\FlashPlayer” /grant=blackwingcat=F subinacl /nostatistic /keyreg “HKEY_LOCAL_MACHINE\software\macromedia\FlashPlayer” /grant=SYSTEM=F subinacl /nostatistic /keyreg “HKEY_LOCAL_MACHINE\software\macromedia\FlashPlayer\SafeVersions” /grant=blackwingcat=F subinacl /nostatistic /keyreg “HKEY_LOCAL_MACHINE\software\macromedia\FlashPlayer\SafeVersions” /grant=SYSTEM=F regedit /s C:\Users\BlackWingCat\Desktop\regs.reg subinacl /nostatistic /file “C:\Windows\System32\Macromed\Flash” /setowner=blackwingcat subinacl /nostatistic /file “C:\Windows\System32\Macromed\Flash” /grant=blackwingcat=F subinacl /nostatistic /file “C:\Windows\System32\Macromed\Flash\activex.vch” /grant=blackwingcat=F subinacl /nostatistic /file “C:\Windows\System32\Macromed\Flash\Flash.ocx” /grant=blackwingcat=F subinacl /nostatistic /file “C:\Windows\System32\Macromed\Flash\FlashUtil_ActiveX.dll” /grant=blackwingcat=F subinacl /nostatistic /file “C:\Windows\System32\Macromed\Flash\FlashUtil_ActiveX.exe” /grant=blackwingcat=F |
このスクリプトを タスクスケジューラーでSYSTEM権限で実行

はい消えた!

そのままだとインストーラー通らないので、互換オプションでインストール


インストール自体は成功。

でも、なぜか起動できない・ω・;


Comments