I'm looking for help with "Task Scheduler" Windows 10
I don't know how to do it but basically, I have two users, "A" has admin rights and "B" does not.
I also saved the .bat file on the Local Disk and gave permissions for "B": "Read" & "Read and execute" only as I don't want user "B" to be able to delete the .bat file ruining the script.
I want to create a task where it runs the "shutdown .bat file" at 5 PM which basically just shuts the computer down. How do I do that by Task scheduler?
Further and detailed explanation:I want to create a task on task scheduler on the user "A", "A" has admin rights. I want it executed on "B", "B" doesn't have admin rights.The task would do the following:Daily at 5 PM, execute the following .bat file:
@echo offshutdown /s /f /t /p 0
This .bat file is stored on Local Disk (E:). "B" only has "Read", "Read and Execute" permissions for the .bat file, so I cannot delete it through "B"
I was asking for a step-by-step on what to press on Task Scheduler and how to create the task exactly so I'd achieve the following:
1. At 5 PM everyday, a shutdown .bat file would run on user "B" shutting down the device. 2. If you send a solution and it works even on "A" at 5 PM, sure, I just want B to shutdown once the clock reaches 5 PM. 3. I want the task to run automatically through task scheduler, The task will be created on "A".
Why am I doing this?I want to have myself like a certain time where I can spend time on PC, and it'd end on 5 PM
my .bat file just in case I wrote it wrong:
@echo offshutdown /s /f /t /p 0