Windows 10: Need help on batch script to shutdown computers from list

Discus and support Need help on batch script to shutdown computers from list in Windows 10 Gaming to solve the problem; Hi, I would need help to write a bat file to shutdown all the computers listed in the text file. Can someone help me please?This script will extract... Discussion in 'Windows 10 Gaming' started by SG IT1, Aug 3, 2023.

  1. SG IT1 Win User

    Need help on batch script to shutdown computers from list


    Hi, I would need help to write a bat file to shutdown all the computers listed in the text file. Can someone help me please?This script will extract the list of computers name from the text file and loop to shutdown each computer.

    :)
     
    SG IT1, Aug 3, 2023
    #1
  2. sachind1 Win User

    script running on Startup and Shutdown of System is not working

    Steps

    • Open a run box
    • type in "gpedit.msc"
    • Expand Computer Configuration
    • Expand Windows Settings
    • Select Scripts (Startup/Shutdown)
    • Double click Startup
    • Click Show Files and copy/paste your file in to this folder
    • Click the Add button on the startup properties
    • Click Browse and double click on your script to choose it.
    • "OK" out of all windows to apply the new settings.
    I am generally Giving Path of My python to the startup and shutdown as steps given above
     
    sachind1, Aug 3, 2023
    #2
  3. yegorsw Win User
    Run the audio troubleshooter from a batch script

    I have an automated home theatre setup - a batch script that enables my TV as a display, and changes the TV to be my primary display (so games and apps open on my TV instead of my monitor).

    The same script also changes my default audio device to be the TV.

    The problem is every time I turn off my TV, it disappears from the list of audio output devices in Windows 10, and even when I turn it back on, it does not appear in the list. However, if I RIGHT CLICK on the audio icon and select "troubleshoot sound problems"
    and immediately cancel/close the troubleshooter, the TV is automagically added to my list of output devices.

    My question is - is there any way to have this troubleshooter be launched from a batch script and instantly closed? Alternatively, is there a way to force a refresh of the audio devices through a batch script?
     
    yegorsw, Aug 3, 2023
    #3
  4. Julivgar Win User

    Need help on batch script to shutdown computers from list

    Netfix Batch Script- Fix internet connection

    Somebody please try my batch script Netfix and leave feedback so I can improve it. thank you!

    My goal is to make a troubleshooter to help the built in "Windows Network Diagnostics" fix internet connection problems. How can you help?

    1. Download/copy the code on notepad then save as "Netfix.bat" or "Netfix.cmd"

    2. Test the Batch script

    3. Provide feedback and/or suggestions

    Thank you!
     
    Julivgar, Aug 3, 2023
    #4
Thema:

Need help on batch script to shutdown computers from list

Loading...
  1. Need help on batch script to shutdown computers from list - Similar Threads - Need help batch

  2. Need help on batch script to shutdown computers from list

    in Windows 10 Software and Apps
    Need help on batch script to shutdown computers from list: Hi, I would need help to write a bat file to shutdown all the computers listed in the text file. Can someone help me please?This script will extract the list of computers name from the text file and loop to shutdown each computer....
  3. Need help on batch script to shutdown computers from list

    in Windows 10 Customization
    Need help on batch script to shutdown computers from list: Hi, I would need help to write a bat file to shutdown all the computers listed in the text file. Can someone help me please?This script will extract the list of computers name from the text file and loop to shutdown each computer....
  4. Batch scripting

    in Windows 10 Software and Apps
    Batch scripting: Hi, here's the code that I used for 3 DISM commands to start automatically after pressing a key:Code and result:Code:@echo off echo You are going to use DISM. echo 1. To check the image. echo 2. Scan your PC's health echo 3. Restore your PC'S health. echo To continue, press...
  5. Batch scripting

    in Windows 10 Gaming
    Batch scripting: Hi, here's the code that I used for 3 DISM commands to start automatically after pressing a key:Code and result:Code:@echo off echo You are going to use DISM. echo 1. To check the image. echo 2. Scan your PC's health echo 3. Restore your PC'S health. echo To continue, press...
  6. Batch scripting

    in Windows 10 Network and Sharing
    Batch scripting: Hi, here's the code that I used for 3 DISM commands to start automatically after pressing a key:@echo off echo You are going to use DISM. echo 1. To check the image. echo 2. Scan your PC's health echo 3. Restore your PC'S health. echo To continue, press any key. echo Before...
  7. Need Help Regarding Powershell Command in Batch Script to Mount Wim

    in Windows 10 Customization
    Need Help Regarding Powershell Command in Batch Script to Mount Wim: Please Help. I want Powershell to show Grid View as Output of Wim Indexes then when a user select one from menu & press OK it will then mount the selected wim. Get-WindowsImage -ImagePath "\install.wim" | Out-GridView -PassThru -Title 'Select Windows Image and press OK'|...
  8. Batch Rename Script Help!

    in Windows 10 Support
    Batch Rename Script Help!: Hello! I am very new to this and need a little help. I am trying to create a batch file that will rename files that are called png_X.png (the X being the number page it is). The code I have is below. It works fine with out the pipe sort command but it sorts the by the ones...
  9. Write a batch script to read list of db names to connect

    in Windows 10 Installation and Upgrade
    Write a batch script to read list of db names to connect: Hi, I hope someone can help me. I am new to batch scripting. I want to read a file that has database names and connect to each of them to get status. I'd like to do this from cmd command. I really appreciate if I can get some help here. Thanks in advance....
  10. Help needed writing batch script!

    in Windows 10 Support
    Help needed writing batch script!: Firstly thank you for even clicking on this thread as I understand that this probably isn't meant to be here. The scenario is that I'm trying to write a script that incorporates the result of a ping to an IP and then based on the result do different things. Here is an...