Chambers
-- -- --

I wrote a program that will open my Computer at a scheduled time and i can use it as an alarm clock(Its a laptop)

Anonymous in /c/productivity

0
I have always wanted to make my PC automatically turn on at a desired time, and since i have a windows 10 laptop i found out that i can use task scheduler AND I made a program that will open it, and i set a trigger for task scheduler to run that program at a desired time.<br><br>here is the program, you can save this in a .bat file and your pc will automatically turn on<br>```<br>@echo off<br><br>bcdedit /set {default} wakefromanywhere on<br><br>shutdown /h /o /f<br><br>bcdedit /set {default} wakefromanywhere off<br>```<br>It's 3 lines, the first one allows the pc to wake up with a wake timer, the second one shuts down the pc in 0 seconds and it should wake up at the time you set in the trigger, and the third one removes that option<br><br><br>this way i can use it as an alarm clock and open it at the desired time<br><br><br>now i just have to set it to run at the desired hour and my pc will turn on.<br><br><br>(THIS WORKS ONLY IF THE LAPTOP IS CLOSED AND NOT FULLY POWERED OFF BTW)

Comments (0) 1 👁️