Windows 10: 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?
"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
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.
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 found something that look like it may pertain to shutdown. In C:\Windows\Tasks, there's a file At1, which isn't in scheduled tasks.....
upon opening with notepad+
<!-- Copyright (c) Microsoft Corporation -->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<description>Windows Shutdown and Annotation Tool</description>
looks like something shutdown related to me... will delete that file and set time to 8:59 again.
Still shutting down...
It mentions shutdown so could be it but the name AT1 seems to ring a bell with some kind of virus / malware.
It may be worth running a scan with malwarebytes Malwarebytes | Free Anti-Malware & Internet Security Software
Downadup is the virus, it would be worth runing a virus check to be sure
Oh No! tbh, I think tomorrow is the day to 'redo' that computer and check the rest of the household computers!
Thanks for all your help throughout Jamie!
I will update thread after I do virus scan though.
Hello, I am trying to restore Windows 10 to my computer.
I was dual-booting Widnows 8.1 (came pre-installed on ACER laptop I recently purchased) and Ubuntu. This worked fine until I decided to take the free upgrade to windows 10...
Hi, since upgrading to windows 10 Word is maddeningly slow to open and close. In fact the whole system just seems slower.
Also I keep getting script debug messages, especially when using Facebook and Yahoo.
I have purchased a new computer that came with Windows 8.1. I upgraded the new computer to Windows 10. My old computer has Windows 7 professional. I understand that if the existing OS is 7 pro that your windows 10 will be upgraded to the...
I am in the process of building a new PC. After updating the old existing Win 7 32 bit desktop to Win 10, can I do a clean Win 10 64 bit install on the new build and keep the old computer running while I install all the necessary programs and...
My PC was running Windows 8.1 with no problem. I upgraded to Windows 10. Installation went fine, but right after I logged in to windows, it started to continuously run a shell script in background. A shell window pops up on the computer screen every...