Windows 10: I have an @echo script running on a computer daily, want it OFF

Discus and support I have an @echo script running on a computer daily, want it OFF in Windows 10 Support to solve the problem; I have "@echo off at 21:00 /every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "shutting down for the night!" echo Done! pause&end" a buddy... Discussion in 'Windows 10 Support' started by misfit41, Jan 24, 2016.

  1. misfit41 Win User

    I have an @echo script running on a computer daily, want it OFF


    I have
    "@echo off

    at 21:00 /every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "shutting down
    for the night!"


    echo Done!


    pause&end"

    a buddy wrote that to turn off my sons computer at 9pm every night. Now that he's older we've given him the computer but it still shuts off at 9pm every night, even after it was upgraded to windows 10.

    Any help would be awesome!

    :)
     
    misfit41, Jan 24, 2016
    #1
  2. DAB2020 Win User

    Script to delete files on multiple computers

    I have this simple script to delete files on a single computer and it works running it locally. However, I would like to automate it using group policy to target multiple computers upon reboot. That is computer 1,2,3, and so on.

    @echo off

    @echo Y | del "C:\\Users\computer1\Downloads"\*.*

    I would like to place it either in the computer or user configuration of the group policy. Any help will be appreciated.
     
    DAB2020, Jan 24, 2016
    #2
  3. How to set an Ethernet Connection as Metered to control Updates, Drivers, Store and others

    These are the scripts I've been using. They're intended for interactive use. To run unattended, they'll need modifying.

    Stop Windows update:

    echo off

    sc query wuauserv | Find /i "RUNNING"

    if %errorlevel% == 0 (

    echo on

    net stop wuauserv

    sc config wuauserv start= disabled

    ) else (

    echo Windows Update is not running

    )

    pause

    Start Windows update:

    echo off

    sc query wuauserv | Find /i "RUNNING"

    if %errorlevel% == 0 (

    echo Windows Update is running

    ) else (

    echo on

    sc config wuauserv start= auto

    net start wuauserv

    )

    pause
     
    David-Boxall, Jan 24, 2016
    #3
  4. Winuser Win User

    I have an @echo script running on a computer daily, want it OFF

    Right click the window icon on the lower left corner. Then type: Task Scheduler. You should be able to turn it off there.
     
    Winuser, Jan 24, 2016
    #4
  5. This will more than likely be a scheduled task.

    Click Start >> Type/Search for Task Scheduler
    Now have a look in the list of tasks to see if it is there


    I have an @echo script running on a computer daily, want it OFF [​IMG]


    If you see the task there, right click it and select disable or delete.
    Disable will stop it from running any more without actually deleting the task.

    Regards,
    Jamie
     
    JDobbsy1987, Jan 24, 2016
    #5
  6. misfit41 Win User
    I get a prompt saying "Task Scheduler service is not available. Task Scheduler will attempt to connect to it."
    After hitting OK a couple of times it loads. It doesn't show what was added here.

    I checked Task Scheduler prior to originally posting...

    It should show as that script shut down the computer last night; This is frustrating.

    In hindsight, should have probably used task scheduler to run a shutdown .bat...
     
    misfit41, Jan 25, 2016
    #6
  7. Do any of these folders have the script in?


    I have an @echo script running on a computer daily, want it OFF [​IMG]


    Failing that, do you see any reference to it in your start up programs?
    Open Task Manager >> Click the Start-up Tab >> Can you see anything there in reference to the shutdown script?

    -Jamie
     
    JDobbsy1987, Jan 25, 2016
    #7
  8. misfit41 Win User

    I have an @echo script running on a computer daily, want it OFF

    Only the Microsoft folder is populated... Couldn't seem to be finding anything related to power/shutddown/ect...
     
    misfit41, Jan 25, 2016
    #8
  9. Could you have another program installed that runs scheduled tasks that runs it, check your installed programs to see if anything stands out maybe.

    I can't think of anything that would run on a schedule that wouldn't be in the Task Scheduler unless it was managed via another program.

    -Jamie
     
    JDobbsy1987, Jan 26, 2016
    #9
  10. misfit41 Win User
    the script posted above is ran as a .bat file... Couldn't find anything relating to the file name or command in scheduler.
     
    misfit41, Jan 26, 2016
    #10
  11. I understand, have you checked your list of installed programs to see if you have another program installed that can schedule tasks?

    Something must be running that batch file on a schedule, if it's not the Task Scheduler then there might be a 3rd party program installed running it.
     
    JDobbsy1987, Jan 26, 2016
    #11
  12. misfit41 Win User
    The system is barren except for flagship games, adobe cs6 master, and office 07. all of which have been present except a couple games before the system was updated to W10.
     
    misfit41, Jan 26, 2016
    #12
  13. I have an @echo script running on a computer daily, want it OFF

    Given that you know the contents of the batch file you must know where it is located? have you tried moving the batch file and seeing what it does at 21:00.


    • Does the computer shutdown?
    • Do you get an error?

    Maybe also worth checking the Event View for the last time it shutdown via the batch file method to see if anything in there relates to the shutdown process, are you familiar with Event Viewer?

    -Jamie
     
    JDobbsy1987, Jan 26, 2016
    #13
  14. misfit41 Win User
    "The process C:\Windows\system32\shutdown.EXE (WOAC) has initiated the shutdown of computer PROBLEMCOMPUTERATM on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found
    Reason Code: 0x800000ff
    Shutdown Type: shutdown
    Comment: shutting down"

    As you can see, it does log the shutdown command, but I can't seem to find it in scheduler *Sad
    From my knowledge, you're 100% right and it should be in scheduler.

    I mean, I could probably remove shutdown.exe from system32, but I'm not sure if that'll cause issues.

    I removed the bat file off the computer, will see if shuts down in a second. Changing system time to 8:59.
     
    misfit41, Jan 26, 2016
    #14
  15. Can you see anything relating to this in the Tasks folder? C:\Windows\Tasks

    Other than that have you gone through the long winded task of looking at all the folders within the Task Scheduler?
    The task may have been put under one of these folder (By design or accidentally when setup)


    I have an @echo script running on a computer daily, want it OFF [​IMG]


    -Jamie
     
    JDobbsy1987, Jan 26, 2016
    #15
Thema:

I have an @echo script running on a computer daily, want it OFF

Loading...
  1. I have an @echo script running on a computer daily, want it OFF - Similar Threads - @echo script running

  2. I want Edge off of my computer

    in Windows 10 Gaming
    I want Edge off of my computer: I don't care about any of the features tied to Edge, I want it gone. It bothers me so much that Microsoft pushes this browser that no one wants and will not let you remove it. I've tried everything to remove it, I edited the NoRemove registry to ungray the uninstall button....
  3. I want Edge off of my computer

    in Windows 10 Software and Apps
    I want Edge off of my computer: I don't care about any of the features tied to Edge, I want it gone. It bothers me so much that Microsoft pushes this browser that no one wants and will not let you remove it. I've tried everything to remove it, I edited the NoRemove registry to ungray the uninstall button....
  4. I have a printer update that wants to install daily

    in Windows 10 Installation and Upgrade
    I have a printer update that wants to install daily: I have a printer update that wants to be installed constantly. Could someone please send me the link to stop reoccurring updates from happening daily? Thanks...
  5. I have a printer update that wants to install daily

    in Windows 10 Gaming
    I have a printer update that wants to install daily: I have a printer update that wants to be installed constantly. Could someone please send me the link to stop reoccurring updates from happening daily? Thanks...
  6. I have a printer update that wants to install daily

    in Windows 10 Software and Apps
    I have a printer update that wants to install daily: I have a printer update that wants to be installed constantly. Could someone please send me the link to stop reoccurring updates from happening daily? Thanks...
  7. I have daily BlueScreens

    in Windows 10 Software and Apps
    I have daily BlueScreens: Code: d1Parameter 1: ffffa30e8f67dcc0Parameter 2: 2Parameter 3: 1Parameter 4: fffff8048c243440OS version: 10_0_22000Service Pack: 0_0Product: 256_1OS Version: 10.0.22000.2.0.0.256.48Locale ID: 1033...
  8. Script running

    in Windows 10 BSOD Crashes and Debugging
    Script running: Every so often my computer will freeze on a page. I get a message push this button to stop the script, when I do this the page will unfreeze. https://answers.microsoft.com/en-us/windows/forum/all/script-running/95442ea7-9470-4cf6-815a-b9a626b9af61
  9. long running scripts slowing computer -

    in Windows 10 BSOD Crashes and Debugging
    long running scripts slowing computer -: For the last 2 weeks my laptop has slowed down a lot...Have I made any changes? only when I have to bin a fast changing environment that I struggle to keep up with (being a senior) Like watching paint dry...occasionally message pops up - long running script running..but no...
  10. Running Script

    in Windows 10 Support
    Running Script: I am running Windows 10 / IE 11 and I keep getting a running script error (“Do you want to continue running scripts on this page”?) and it is driving me crazy. I am not real tech savvy so I don’t know where to look on how to. It just started doing it and I have been using...