Run Applications at a Low Integrity Level (その4)
COPYを使って、バッチファイルだけで、コマンドプロンプトを「整合性レベル:低」で実行します。
LowCMD.cmd
@echo off
copy %comspec% "%temp%\Low\lowcmd.exe"
"%temp%\Low\lowcmd.exe" /c cmd
del "%temp%\Low\lowcmd.exe"
ショートカットでも、
LowCMD.lnk
リンク先:
cmd.exe /c copy %comspec% "%temp%\Low\lowcmd.exe" & "%temp%\Low\lowcmd.exe" /c cmd & del "%temp%\Low\lowcmd.exe"
このとき、警告ダイアログは出ません。
« Run Applications at a Low Integrity Level (その3) | トップページ | Vistaで、IEのキャッシュフォルダ(Temporary Internet Files)で「保護モード:有効」のコンテンツを見る。 »