Batch Scripts / Programs.

Page 2 of 3 FirstFirst 123 LastLast
  1. Matthew Wai's Avatar
    Posts : 2,373
    Windows 10 Home 1903
       #11

    Paul Black said:
    The scripts / programs below need to be Run as administrator. To do this, right-click the .bat file and select Run as administrator.
    Is there a reason why you don't use the following code in the scripts?

    (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
      My Computer

  2. Paul Black's Avatar
    Posts : 5,201
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #12

    Hi @Matthew Wai,

    Matthew Wai said:
    Is there a reason why you don't use the following code in the scripts?

    (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
    I am actually in the process of updating the batch scripts to include that code instead of the current one that I have used. Most of those batch scripts are the ones I wrote for SevenForums and then I updated them if needed to run on Win 10. I hope to post the updated batch scripts later today or tomorrow.
      My Computer

  3. Matthew Wai's Avatar
    Posts : 2,373
    Windows 10 Home 1903
       #13

    Create_system_information_files.bat

    Consider adding it into post #1 if you find it useful.
    Batch Scripts / Programs. Attached Files
      My Computer

  4. TairikuOkami's Avatar
    Posts : 4,169
    Home 2004 x64 10.0.19041.331
       #14

    You might want to re-upload your scripts to pastebin, so people could review them before downloading, not everyone feels comfortable to download random scripts. You can also easily edit them as needed afterwards.
      My Computer

  5. Paul Black's Avatar
    Posts : 5,201
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #15

    I have just added another batch script to Post #1 called Event Viewer - System & Application Errors & Warnings . . .. I have found it very useful over the years!
      My Computer

  6. x509's Avatar
    Posts : 707
    Windows 10 Pro
       #16

    Compumind said:
    @Paul Black -

    Excellent script work!

    May I suggest placing all your scripts into a single thread and asking the Admin to perhaps make them a Sticky Thread once final?

    It does get a bit confusing when they are scattered around.

    What he said. +1
      My Computers

  7. Paul Black's Avatar
    Posts : 5,201
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #17

    Hello @x509,

    x509 said:
    What he said. +1
    This is the sticky thread, see Post #1!
      My Computer

  8. Cast's Avatar
    Posts : 269
    Microsoft Win 10
       #18

    How nice to see this script
      My Computer

  9. Paul Black's Avatar
    Posts : 5,201
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #19

    Cast said:
    How nice to see this script
      My Computer

  10. Paul Black's Avatar
    Posts : 5,201
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #20

    I have just added another batch script to Post #1 called Find_CBS_Corruption_Summary . . ..
      My Computer


 

Related Threads
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 00:26.
Find Us




Windows 10 Forums