内気なもんた君

時々日本語化してます

復活する UserChoice の恐怖

復活する UserChoice の恐怖

追記 :

実行犯は taskhostw.exe と判明。
あとは首謀者を突き止めるだけだ。

追記 :

いろいろ試してみたけど、ようわからん・・・

MSEdgeHTMの文字を見るのが嫌で突き止めようと思ったけど諦めた。

ここは素直に設定の既定のアプリから好みのブラウザに変更した方が良さそうだ。

追記 :

とは言え、不要と思われるものもあるのでいちおうすべてのMSEdgeHTMを削除するコマンドを載せました。
既にEdge以外のブラウザに設定している場合でもすべて削除されるので、編集が必要な場合は修正してください。

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * -

クリーンインストール時、
ftp,http,https,microsoft-edge,microsoft-edge-holographic,ms-xbl-3d8b930,read
htm,html,mht,mhtml,pdf,svg,xht,xhtml,xml
これらの関連付けは削除しいてるのだけれど、上の画像のものが復活している。

削除後上書きされているとしたらSetupComplete.cmdの後だと思うのでRunOnceのFix.cmdで再度削除してみたけど、削除できたのは一時的でログオン後時間が経つと復活してしまう。

 

こいつらゾンビが復活しないようにするには、犯人を突き止めるしかなさそうだ。

 

とりあえず一時的にでも削除するには以下のコマンドを実行。
SetACL を使用するので、こちらを参照して入手してください。

- = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = -

コマンド :

SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.svg\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.svg\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.svg\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ftp\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice" /f

- = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = -

 

すべて削除するコマンド : 上記に追加します。

SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mht\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mht\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mhtml\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mhtml\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xht\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xht\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xhtml\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xhtml\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge-holographic\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge-holographic\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ms-xbl-3d8b930f\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ms-xbl-3d8b930f\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\read\UserChoice" -ot reg -actn setowner -ownr "n:Administrator"
SetACL.exe -on "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\read\UserChoice" -ot reg -actn ace -ace "n:Administrator;p:full"
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mht\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mhtml\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xht\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xhtml\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\microsoft-edge-holographic\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\ms-xbl-3d8b930f\UserChoice" /f
Reg.exe delete "HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\read\UserChoice" /f