Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Desktop Management / Startup and Shutdown / ModRecovery.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Configures a computer to do a complete memory dump to the file C:\Scripts\memory.dmp should a stop event (blue screen) occur */
complete_memory_dump = 1
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colrecoveryoptions = objwmiservice~execquery("Select * from Win32_OSRecoveryConfiguration")
DO objoption OVER colrecoveryoptions 
	objoption~debuginfotype = complete_memory_dump
	objoption~debugfilepath = "c:\scripts\memory.dmp"
	objoption~overwriteexistingdebugfile = "False"
	objoption~put_()
END
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Tue 2022-11-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16