创建注册表文件sec.reg,写入

  1. Windows Registry Editor Version 5.00 
  2.  
  3. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security] 
  4. "MaxSize"=dword:c800000 


导入注册表,即可