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


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

    Hello @Matthew Wai,

    Matthew Wai said:
    Are you referring to the VBScript dialog box shown under OPTION THREE in the tutorial below?

    The default option is Yes.

    Sort of. When the Command has finished running, a pop-up box appears that ONLY shows OK. I just want the Script to include pressing OK. As it is the only button, it will be the same as pressing Enter virtually really.
    BTW, I hope EVERYTHING goes OK at the Hospital tomorrow.
      My Computer


  2. Posts : 7,607
    Windows 10 Home 20H2
       #972

    Paul Black said:
    Sort of. When the Command has finished running, a pop-up box appears that ONLY shows OK. I just want the Script to include pressing OK. As it is the only button, it will be the same as pressing Enter virtually really.
    VBScript
    Code:
    MsgBox _
    " All of the operations have been completed." & vbNewLine & _
    " You may press [ Enter ] to close this window.",64,_
    " Attention, please!"

    Paul Black said:
    BTW, I hope EVERYTHING goes OK at the Hospital tomorrow.
    A typhoon is approaching my city, and I have to go to the hospital next morning. Hopefully, the strong wind will not blow me away.
      My Computer


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

    Thanks @Matthew Wai,

    I am running this in a Script . . .

    Code:
    
    cleanmgr.exe /VeryLowDisk /d C

    After it has run, I get this . . .

    Post problem reports here for Batch files for use in BSOD debugging-clean_popup.jpg

    I just want the Script to automatically click OK so it can continue on with the rest of the Script.

    I thought it might be something like .vbs + SendKey.

    Thanks.
      My Computer


  4. Posts : 7,607
    Windows 10 Home 20H2
       #974

    If you have time, read the following:
    SendKeys - VBScript - SS64.com

    I will read it later if I have time.
      My Computer


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

    Thanks @Matthew Wai,

    Matthew Wai said:
    If you have time, read the following: SendKeys - VBScript - SS64.com

    I will read it later if I have time.

    I am just looking at Autoit as a possible solution.

    Again, I hope EVERYTHING goes OK tomorrow.

      My Computer


  6. Posts : 41,472
    windows 10 professional version 1607 build 14393.969 64 bit
       #976

    The setupdiag is a Microsoft utility and does not need to be modified for our use.

    For LOGS PS1 when possible please use the pop up grid for checked and unchecked boxes.

    If scripts can be made for the individual checked boxes then there will be multiple scripts.
    With the individual scripts it will be easier to check for PII and modify the script accordingly.
    Then multiple scripts can be entered into the batch files.

    I hope you're hospitalization is smooth and uneventful.
      My Computer


  7. Posts : 7,607
    Windows 10 Home 20H2
       #977

    zbook said:
    For LOGS PS1 when possible please use the pop up grid for checked and unchecked boxes.
    What is "the pop up grid"? Do you mean the following list of checkboxes?

      My Computer


  8. Posts : 41,472
    windows 10 professional version 1607 build 14393.969 64 bit
       #978

    Yes, there could be 8 scripts.

    Then at some time some could be combined so that it's easier to collect more output at one time.

    Once PII is ruled out it should be easier to use the scripts.


    The event box has the working / approved script (combination of LOGS PS1 and V2 text output).

    Correction:
    The setupdiag with LOGS PS1 is more comprehensive (has additional collected files) so please create this script too.
      My Computer


  9. Posts : 7,607
    Windows 10 Home 20H2
       #979

    zbook said:
    Correction:
    The setupdiag with LOGS PS1 is more comprehensive (has additional collected files) so please create this script too.
    Do you want the "SetupDiag" script to collect the following files?

    OS_details.TXT
    setupapi.dev.log
      My Computer


  10. Posts : 2,800
    Windows 7 Pro
       #980

    Paul Black said:
    Thanks @Matthew Wai,

    I am running this in a Script . . .

    Code:
    
    cleanmgr.exe /VeryLowDisk /d C

    After it has run, I get this . . .

    Post problem reports here for Batch files for use in BSOD debugging-clean_popup.jpg

    I just want the Script to automatically click OK so it can continue on with the rest of the Script.

    I thought it might be something like .vbs + SendKey.

    Thanks.
    The article relates to Win7 but you can give it a try in w10

    https://docs.microsoft.com/en-us/tro...k-cleanup-tool
      My Computers


 

  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 13:29.
Find Us




Windows 10 Forums