Post problem reports here for Batch files for use in BSOD debugging


  1. Posts : 7,606
    Windows 10 Home 20H2
       #1131

    Your commands have been put into the attached script.
    Post problem reports here for Batch files for use in BSOD debugging Attached Files
      My Computer


  2. Posts : 41,462
    windows 10 professional version 1607 build 14393.969 64 bit
       #1132

    Commands are needed to display non-Microsoft:
    a) firewall
    b) drive encryption
      My Computer


  3. Posts : 7,606
    Windows 10 Home 20H2
       #1133

    I know nothing about firewalls and encryption.
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #1134

    Hello @Matthew Wai,

    I have searched high and low for a Batch Script of yours that was something like Collect_Logs_From_Event_Viewer.bat that placed the Folder on the Desktop but was NOT Zipped, but I just can't find it.

    Have you got a copy please?

    Thanks.
      My Computer


  5. Posts : 7,606
    Windows 10 Home 20H2
       #1135

    Paul Black said:
    Have you got a copy please?
    Post problem reports here for Batch files for use in BSOD debugging
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #1136

    Hello @Matthew Wai,

    No, that creates a Zipped Folder on the Desktop, I want the one that does NOT create a Zipped Folder on the Desktop. Did you read my post?
      My Computer


  7. Posts : 7,606
    Windows 10 Home 20H2
       #1137

    Paul Black said:
    I want the one that does NOT create a Zipped Folder on the Desktop.
    See whether the following one does not zip the files.

    Post problem reports here for Batch files for use in BSOD debugging
      My Computer


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #1138

    Hello @Matthew Wai

    Matthew Wai said:
    See whether the following one does not zip the files.
    Yes, thanks for that, it is appreciated. I have tweaked it a little bit to run from a Batch Script, Copy the Folder to the Desktop, etc, etc.

    I also added > $Host.UI.RawUI.BufferSize = New-Object Management.Automation.Host.Size(1000,10000) so that I could view the WHOLE of the CMD Prompt Output.

    Last edited by Paul Black; 16 Dec 2021 at 15:11.
      My Computer


  9. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #1139

    Hello @Matthew Wai,

    Matthew Wai said:
    Extract all from the attached ZIP file and run "Collect_logs_from_Event_Viewer.cmd".

    Just a quick question that I think you will be able to answer.

    How can I change the PowerShell Code to Output the LOGS Folder to the Desktop instead of $tempDir\LOGS [ Temp Directory ] please? I have tried replacing $tempDir\LOGS with $UserPath\LOGS, after setting $UserPath = "$($env:USERPROFILE)\Desktop", which only partly works.

    I think the problem is the $global:tempDir = [System.IO.Path]::GetTempPath() part which I can't seem to get right.

    Thanks.
      My Computer


  10. Posts : 7,606
    Windows 10 Home 20H2
       #1140

    Paul Black said:
    $global:tempDir = [System.IO.Path]::GetTempPath()
    Replace the above with the following:

    $global:Desktop=(New-Object -ComObject Wscript.Shell).SpecialFolders(4)

    Then, replace all $tempDir\LOGS with $Desktop\LOGS

    See whether it works.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:04.
Find Us




Windows 10 Forums