Jump to content

Index of Batch Scripts for BSOD debugging, and other Windows troubleshooting


Recommended Posts

Toc1

Table of Contents​


Contents
  • Part Zero Download Tips for Edge, Firefox and Chrome
  • Part One Verify vertical scroll buffer (Height) is large enough
  • Part Two Capture output of batch file to Clipboard
  • Part Two-OneA From Command Prompt or Powershell Window
  • Part Two-OneB From Notepad Window
  • Part Two-Four Post captured data to your forum thread
  • Part Three Index of Batch Scripts.
  • Part Four Where to report problems or make suggestions.

Batch files for use in BSOD debugging-bsodlogo9x1.5.jpg

information
Information
This thread is for use by the BSOD team to store batch files that can be used to collect additional data, fix settings or anything else that is useful in debugging BSOD problems in Windows 10.

The first post (this one) will be an index and each additional post will be a batch file with the instructions necessary to run it. This post will also have any instructions that will apply to all batch files in general.

warning
Warning
This thread IS NOT for discussion or suggestions or problem reporting. It is strictly a batch file repository. Any other posts will be deleted.



Part Zero

Download Tips for Edge, Firefox and Chrome

Batch files for use in BSOD debugging-edge.png

When you download one of our batch files with Edge you may run into security problems.

bat was blocked because it could harm your device

This is complaining about the code to auto-elevate to Administrator level to run commands. This is not a problem and is done in almost all our batch files. There is no security exposure.

Look a the following images to see what you need to do to bypass the interference and continue to run the batch file.
Click Keep
Batch files for use in BSOD debugging-download_edge-1.png


Click Keep Anyway
Batch files for use in BSOD debugging-download_edge-2.png


Click Show in Folder
Batch files for use in BSOD debugging-download_edge-3.png
Batch files for use in BSOD debugging-firefox.png

When you download one of our batch files with Firefox there are currently no known problems.
Batch files for use in BSOD debugging-chrome.png

When you download one of our batch files with Chrome you may run into security problems.

This type of file can harm your computer. Do you want to keep .........bat anyway?

Again, this is complaining about the code to auto-elevate to Administrator level to run commands. This is not a problem and is done in almost all our batch files. There is no security exposure.

Look a the following images to see what you need to do to bypass the interference and continue to run the batch file.
Click Keep
Batch files for use in BSOD debugging-download-1.png


Click Show in folder
Batch files for use in BSOD debugging-download-2.png




Part One

Verify vertical scroll buffer (Height) is large enough​



Many of the batch files here are designed to run from File Explorer so the following are not needed. Look through the Batch file specific instructions then follow these instructions only if necessary.

If you want to run the batch file in a currently open Command Prompt or Powershell window, it would be a good idea to check the properties of the window to make sure the vertical scroll buffer (Height) is large enough to hold the output so it can be collected and posted in your BSOD thread. Some batch files will handle this for you, some may not.

To check this, do the following:


1 Right click on the Powershell (or Command Prompt) title bar and select Properties.

Batch files for use in BSOD debugging-con-height1.jpg

2 The Windows Powershell or Command Prompt properties window will open. Click on the Layout tab,
check the Height setting. Set it to 3000 then click OK
Batch files for use in BSOD debugging-con-height2.jpg




Part Two

Capture output of batch file to Clipboard​


You may need to capture output from a Command Prompt window, Powershell Window, Notepad Window or upload one or more files when you complete running the batch file. Follow the steps as directed below.


1 Command Prompt or Powershell Window - follow Part Two-OneA steps 1A, 2A, 3A and Part Two-Four steps 4 through 7.

2 Notepad Window - follow Part Two-OneB steps 1B, 2B, 3B and Part Two-Four steps 4 through 7.

3 Upload files - follow Part Two-Four step 8.



Part Two-OneA

From Command Prompt or Powershell Window​


1A Right click on the Powershell (or Command Prompt) title bar and select Edit then click on Select All.
Batch files for use in BSOD debugging-win1.png


2A Right click on the Powershell (or Command Prompt) title bar and select Edit then click on Copy.

Batch files for use in BSOD debugging-win2.png


3A That will copy everything from the Powershell (or Command Prompt) window to the Clipboard.

Click here to see a short video of the steps needed to copy & paste the data in a Command Prompt or Powershell Window to your thread in Tenforums: https://1drv.ms/v/s!AiInGuVqlXiCsQyT...xZgXy?e=Cogp44

Goto Part Two-Four step 4.



Part Two-OneB

From Notepad Window​


1B Copy all data in Notepad to the clipboard
Select all data in the notepad window by clicking anywhere in it and pressing Ctrl+ A or click on Edit at the top and then Select all.
Copy the data to the clipboard by pressing Ctrl+C or click on Edit at the top then Copy.
Now paste the results you copied to the clipboard into a post on TenForums.
Go to your thread in the BSOD section, start a new post, and paste the text you copied
into your post by pressing Ctrl+V or right-click and select Paste.

2B Use CODE formatting tags so the text displays properly
Select the text you just pasted into your post. Then, on the editor toolbar
click on the hashtag icon [#] to wrap
Code:
tags around the selected
text. The data will appear in a code box, properly formatted and easy to read when it is posted.

3B IMPORTANT Before you post, click on the
Batch files for use in BSOD debugging-goadv.png
button at bottom right to see what it looks like and, if you have made any additional changes, click on the
Batch files for use in BSOD debugging-prevpost.png
button, so that you can see what it looks like before you actually post it. Click on the
Batch files for use in BSOD debugging-subrep.png
button as long as you are satisfied with it.



Part Two-Four

Post captured data to your forum thread​


4 Post in your forum thread
Go to your thread in the BSOD forum, start a new thread and paste the text you copied into your post (CTRL+V or Right click and select Paste).

5 Use CODE formatting tags so the text displays properly
Select the text you just pasted into your post then click on the Hash tag # icon to Wrap
Code:
tags around selected text. The data will appear in a Code box, properly formatted and easy to read.

6 Use DOS formatting tags so the text displays properly
Alternatively, without selecting anything, put [DOS][/DOS] tags at the beginning and the end of the data you inserted, which will make it look like it does in a Command Prompt window, properly formatted and easy to read when it is posted. I would only use this for data copied from a Command Prompt though the CODE tags are sufficient.

7 Verify formatting
Before you post, click on the
Batch files for use in BSOD debugging-goadv.png
button at bottom right to see what it looks like and if you make any additional changes, click on
Batch files for use in BSOD debugging-prevpost.png
button, again so you can see what it looks like before you actually post it. Click on
Batch files for use in BSOD debugging-subrep.png
when your satisfied.

8 Upload files
If you have files to upload and add to your thread, see this tutorial: How to Upload and Post Screenshots and Files at Ten Forums

information
Information
Read this tutorial to learn how to change the Post Editor between Source mode (shows tags used to do the actual formatting) and WYSYWIG (What You See Is What You Get) mode.

How to Change Post Editor to Source or WYSIWYG Mode
 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • AD
  • Recent Status Updates

    No Recent Status Updates
  • Most Solved

    Nothing has been solved this week.

×
×
  • Create New...