User Tools

Site Tools


computing:windows:crash_dump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:windows:crash_dump [2023/03/24 12:07]
jcooper created
computing:windows:crash_dump [2023/03/27 10:34] (current)
jcooper
Line 19: Line 19:
   * Click File -> Open dump file   * Click File -> Open dump file
   * Browse to dump file   * Browse to dump file
 +  * Click Open
  
 {{:computing:windows:windbg1.png?600|}} {{:computing:windows:windbg1.png?600|}}
  
 +  * In the kd field type ! analyze -v and hit enter
 +  * Review the text for clues to the crash 
  
 +{{:computing:windows:windbg2.png?600|}}
  
 +===== Driver Verifier Stress Diag =====
  
 +https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/driver-verifier
  
 +:!: Used to stress drivers that cause crashes
  
  
-Reboot the local machine now: 
  
-<file> 
-shutdown -r -t 0 
-</file> 
  
-Shutdown now showing a dialog box with a timer (in seconds): 
  
-<file> 
-shutdown -s -t 60 
-</file> 
  
-With a timer and a message: 
  
-<file> 
-shutdown -s -t 120 -c "Please save your work immediately because the server is being rebooted!" 
-</file> 
  
-Shutdown another computer in your domain: 
  
-<file> 
-shutdown -s -m \\computername -t 10 
-</file> 
  
-Cancel a shutdown: 
-<file> 
  
-shutdown -a 
-</file> 
  
-===== Do It Later ===== 
- 
-==== Using the 'at' Command ==== 
- 
-Download and extract the [[http://download.sysinternals.com/Files/PsTools.zip|PsTools]] package from SysInternals (now Microsoft).  We extract the zip archive into ''C:\Support\PsTools\'' as a convention. 
- 
-Use the 'at' command to schedule a one-off reboot: 
- 
-<file> 
-at 2:00am c:\support\pstools\psshutdown.exe -r -f -c -t 10 
-</file> 
- 
-or shutdown: 
- 
-<file> 
-at 2:00am c:\support\pstools\psshutdown.exe -s -f -c -t 10 
-</file>  
- 
-Where: 
- 
-<file> 
--s: Shutdown windows server 
--r: Reboot windows server 
--f: Forces all running application to exit 
--c: Allow the shutdown to be canceled user 
--t: Specifies the countdown in seconds until the shutdown 
-</file> 
- 
-==== Using the Task Scheduler ==== 
- 
-=== Windows 2003/2008 === 
- 
-http://www.itbox4vn.com/2011/05/how-to-schedule-windows-server-20032008.html 
- 
-=== Windows 2008 R2 === 
- 
-http://www.wegotserved.com/2011/11/04/set-automatic-scheduled-reboots-windows-home-server-2011/ 
- 
-**Task Scheduler -> Action -> Create Task -> General** 
- 
-  - **Name** the task ''Scheduled Reboot'' 
-  - Use the ''SYSTEM'' **user account** 
-  - **Select** ''Run with highest privileges'' 
-  - **Configure** for ''Windows 2008 R2'' 
- 
-**Task Scheduler -> Action -> Create Task -> Triggers** 
- 
-  - **On a schedule** 
-  - **One time** 
- 
-:!: We add two actions, one to warn users and the other to reboot the server. 
- 
-**Task Scheduler -> Action -> Create Task -> Actions** 
- 
-  - Set the **Action** to ''Start a program'' 
-  - Set the **Program** to ''C:\Windows\System32\msg.exe'' 
-  - Set the **Arguments** to ''* "Please log out now.  This server is rebooting in 5 minutes!"'' 
- 
-**Task Scheduler -> Action -> Create Task -> Actions** 
- 
-  - Set the **Action** to ''Start a program'' 
-  - Set the **Program** to ''C:\Windows\System32\shutdown.exe'' 
-  - Set the **Arguments** to ''/r /f /t 300 /c "Scheduled Reboot" /d p:4:1'' 
-  - Set **Start in** to ''c:\windows\system32'' 
-  - Set the **Comments** to ''Reboot in 5 minutes with reason as 'Application: Maintenance (Planned)''' 
- 
-=== Windows 2012 R2 === 
- 
-**Task Scheduler -> Action -> Create Task -> General** 
- 
-  - **Name** the task ''Scheduled Reboot'' 
-  - **Use** the ''SYSTEM'' user account 
-  - **Select** ''Run with highest privileges'' 
-  - **Configure** for ''Windows 2012 R2'' 
- 
-**Task Scheduler -> Action -> Create Task -> Triggers** 
- 
-  - **New** 
-  - **On a schedule** 
-  - **One time** 
-  - Set the **date and time** of the desired reboot 
-  - **Stop task if it runs longer than** ''30 minutes'' 
-  - **OK** 
- 
-:!: We add two actions, one to warn users and the other to reboot the server. 
- 
-**Task Scheduler -> Action -> Create Task -> Actions** 
- 
-  - **New** 
-  - Set the **Action** to ''Start a program'' 
-  - Set the **Program** to ''C:\Windows\System32\msg.exe'' 
-  - Set the **Arguments** to ''* "Please log out now.  This server is rebooting in 5 minutes!"'' 
-  - **OK** 
- 
-**Task Scheduler -> Action -> Create Task -> Actions** 
- 
-  - **New** 
-  - Set the **Action** to ''Start a program'' 
-  - Set the **Program** to ''C:\Windows\System32\shutdown.exe'' 
-  - Set the **Arguments** to ''/r /f /t 300 /c "Scheduled Reboot" /d p:4:1'' 
-  - Set **Start in** to ''c:\windows\system32'' 
-  - **OK** 
- 
-:!: You can easily export saved tasks to be imported to other machines. 
computing/windows/crash_dump.1679681225.txt.gz · Last modified: 2023/03/24 12:07 by jcooper