通过注册表控制软件可否运行

禁止运行某些程序.reg
  
  Windows Registry Editor Version 5.00
  
  [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
  "DisallowRun"=dword:00000001
  
  [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun]
  "1"="Foxmail.exe"
  "2"="msnmsgr.exe"
  "3"="AppMain.exe"
  "4"="EXCEL.EXE"
  "5"="WINWORD.EXE"
  "6"="notepad.exe"
  "7"="ctfmon.exe"
  "8"="VPTray.exe"
  "9"="Rfw.exe"
  "10"="Ravmon.exe"
  
  只允许运行某些程序.reg
  
  Windows Registry Editor Version 5.00
  
  [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
  "RestrictRun"=dword:00000001
  
  [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RestrictRun]
  "1"="Foxmail.exe"
  "2"="msnmsgr.exe"
  "3"="AppMain.exe"
  "4"="EXCEL.EXE"
  "5"="WINWORD.EXE"
  "6"="notepad.exe"
  "7"="ctfmon.exe"
  "8"="VPTray.exe"
  "9"="Rfw.exe"
  "10"="Ravmon.exe"

posted @ 2013-12-13 15:54  xmily  阅读(262)  评论(0编辑  收藏  举报