Share via


Memory Dump Configuration Using WMIC

Test Articles..

Using WMIC Command , Chgange Windows Server OS Memory Dump Configuration 

1. AutoReboot

wmic RECOVEROS set AutoReboot=true

2. Memory Dump Generate location

wmic RECOVEROS set DebugFilePath=D:\dump\MEMORY.DMP

3. Memory Dump OverWrite

wmic RECOVEROS set OverwriteExistingDebugFile=1

4. AutoMatic PageFile Size Disable

wmic computersystem set AutomaticManagedPagefile=false

5. Page File Min/Max Size Setting ( Etc 8GB )

wmic pagefileset where name="c:\pagefile.sys" set InitialSize=8106,MaximumSize=8106

6. Page File Size Ignore -> Dump Create

reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl /v IgnorePagefileSize /t REG_DWORD /d 1 /f

7. PS2 Keyboard

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v CrashOnCtrlScroll /t REG_DWORD /d 1 /f

[ KB ]

http://support.microsoft.com/kb/949052/en-us