New
#11
Batch files for use in BSOD debugging
%temp%\DiskpParInfo.LOG
p should be deleted.
Batch files for use in BSOD debugging
%temp%\DiskpParInfo.LOG
p should be deleted.
Which size do you prefer. It's a BBCODE problem. All should have the same size= statement and apparently they don't. I can fix that. Just let me know which one you want. Also depends on where you copied it from.
You should be using this line, that's what it's there for:
Tuneup.bat - Click here to go to the BSOD batch repository to download and run this batch file.
They are all the same size.
Problem with doing that is %batchfile1% and %batchfile2% are not defined so it will not be functional. If you run the complete bacth file as I said you'll see exactly what happens.
When I run it, this is what I get:
Code:C:\WINDOWS\system32>(Net session 1>nul 2>&1 ) && Goto:Admin || Echo CreateObject("Shell.Application"). ShellExecute "\\DESKTOP\Lenovo_E\sources\Windows 10\Batch Files\Tenf BatchFiles\AddGenFileList.bat","","","RunAs",1 1>"C:\Users\ztruk\AppData\Local\Temp\(+).vbs" && "C:\Users\ztruk\AppData\Local\Temp\(+).vbs" & Exit C:\WINDOWS\system32>set batchfile1=C:\Users\ztruk\GenFileList1.bat C:\WINDOWS\system32>set batchfile2=C:\Users\ztruk\GenFileList2.bat C:\WINDOWS\system32>set filelist1=C:\Users\ztruk\AppData\Local\Temp\GenFileList1.txt C:\WINDOWS\system32>set filelist2=C:\Users\ztruk\AppData\Local\Temp\GenFileList2.txt C:\WINDOWS\system32>Echo Updating registry Updating registry C:\WINDOWS\system32>(REG Add "HKCR\AllFilesystemObjects\shell\printDir1" /D "Create File List" /T REG_SZ /F ) The operation completed successfully. C:\WINDOWS\system32>(REG Add "HKCR\AllFilesystemObjects\shell\printDir1\Command" /VE /D """"C:\Users\ztruk\GenFileList1.bat""" """%V"""" /F ) The operation completed successfully. C:\WINDOWS\system32>(REG Add "HKCR\AllFilesystemObjects\shell\printDir2" /D "Create File List wSubs" /T REG_SZ /F ) The operation completed successfully. C:\WINDOWS\system32>(REG Add "HKCR\AllFilesystemObjects\shell\printDir2\Command" /VE /D """"C:\Users\ztruk\GenFileList2.bat""" """%V"""" /F ) The operation completed successfully. C:\WINDOWS\system32>Echo Creating C:\Users\ztruk\GenFileList1.bat Creating C:\Users\ztruk\GenFileList1.bat C:\WINDOWS\system32>Echo @echo off & set filelist=C:\Users\ztruk\AppData\Local\Temp\GenFileList1.txt 1>C:\Users\ztruk\GenFileList1.bat C:\WINDOWS\system32>Echo dir %* /a /-p /o:gen>%filelist% & notepad %filelist% & del %filelist% 1>>C:\Users\ztruk\GenFileList1.bat C:\WINDOWS\system32>Echo. C:\WINDOWS\system32>Echo Creating C:\Users\ztruk\GenFileList2.bat Creating C:\Users\ztruk\GenFileList2.bat C:\WINDOWS\system32>Echo @echo off & set filelist=C:\Users\ztruk\AppData\Local\Temp\GenFileList2.txt 1>C:\Users\ztruk\GenFileList2.bat C:\WINDOWS\system32>Echo dir %* /a /-p /s /o:gen>%filelist% & notepad %filelist% & del %filelist% 1>>C:\Users\ztruk\GenFileList2.bat C:\WINDOWS\system32>Echo. C:\WINDOWS\system32>Echo. C:\WINDOWS\system32>Echo ############################################################################# ############################################################################# C:\WINDOWS\system32>Echo # To use, Open File Explorer, navigate to the folder above the one you want # # To use, Open File Explorer, navigate to the folder above the one you want # C:\WINDOWS\system32>Echo # to get a directory list of. # # to get a directory list of. # C:\WINDOWS\system32>Echo # Press the Shift key and Right click on the folder you want the directory # # Press the Shift key and Right click on the folder you want the directory # C:\WINDOWS\system32>Echo # list for and select Create File List. Notepad will open with the contents # # list for and select Create File List. Notepad will open with the contents # C:\WINDOWS\system32>Echo # of the directory. # # of the directory. # C:\WINDOWS\system32>Echo # # # # C:\WINDOWS\system32>Echo # The batch file used to gather the directory info is . You can # # The batch file used to gather the directory info is . You can # C:\WINDOWS\system32>Echo # change that however you want to control the directory output you see. # # change that however you want to control the directory output you see. # C:\WINDOWS\system32>Echo ############################################################################# ############################################################################# C:\WINDOWS\system32>Pause Press any key to continue . . .
At this time clicking on: 2. DiskParInfo.bat
opened tuneup.bat
Part Three
Index of Batch Scripts for BSOD debugging
1. Tuneup.bat Run SFC, DISM and CHKDSK commands and use WMIC to change some settings 2. DiskParInfo.bat Collect WinRE, Boot Manager and Hard Drive information 3. Create_system_information_files.bat Generate a System Information file of your computer via a menu.. 4. chkdskFromEvent.bat Extract all chkdsk information from Application section of Event Viewer. 5. SFCfromFile.bat Extract all SFC entries from CBS.log or CBSPERSIST*.log (if necessary). 6. LOGS.bat Windows Standard Log Collection w/ EventSearch (Technet) 7. Tuneup1.bat Run SFC, DISM and CHKDSK commands to repair system files and folders. 8. Tuneup2.bat Runs WMIC and BCDEDIT commands to set some basic startup, debug and dump settings. 9. GetMemoryConfiguration.bat Get memory configuration data via Powershell 10. GenFileList.bat Generate a List of Files and Folders for a Folder from File Explorer 11. getWindowsUpdateList.bat Extract a list of all Windows Updates applied to a system 12. Get_Powercfg_info.bat Use Powershell Powercfg commands to extract power and
opened:
Batch files for use in BSOD debugging
This link is malfunctioning:
Post the following in a thread to point users to this Batch script.
Get_Powercfg_info.bat - Click here to go to the BSOD batch repository to download and run this batch file.
Get_Powercfg_info.bat
Use Powershell powercfg commands to extract Power plan information.
This link is working:
Part One
Download the batch file
Download the batch file to your Desktop or Downloads folder.
Download Get_Powercfg_info.bat
Clicking on the first Get_Powercfg_info.bat opened:
Batch files for use in BSOD debugging
Clicking on the second Get_Powercfg_info.bat launched the download/script
The first link is intended to take users to the post. You are supposed to copy the link into a post in reply to a user, who will then follow the link to the "Get_Powercfg_info.bat" post.