sylva

New Member
Joined
Sep 8, 2015
Messages
1
Hi. I'm trying to wake my win 7 pc from sleep (not from hibernation) using task scheduler but I'm having some problems. The pc does not wake up.

I have set a task that has an action to starts cmd.exe and argument is "/c "exit"". Windows runs as a shell and apparently running windows as a shell causes the problem because if I let explorer.exe run normally, task scheduler manages to wake the pc from sleep. If I run win as a shell, the pc does not wake up from sleep.

I would paste a link but as being new member here I can't so please google "how-to:make windows boot directly to Kodi (as a shell)" for more information.

I want to run it as a shell because I'm using my pc as a htpc and I want that when I launch pc, it starts immediately kodi that is a media player software.

Is it possible to run task scheduler without having expolere.exe running in the background?

Thank you for your help!
 


Last edited:
Solution
When setting up Task Scheduler in Windows 7 to wake the PC from sleep, running the system without explorer.exe as the shell can lead to conflicts with the operation. Here's how you can potentially work around this issue: 1. Scheduled Task Configuration: Ensure that your Task Scheduler job is configured correctly for waking the system from sleep. Check that you have set up the task to wake the computer and configured all the necessary options such as waking the computer to run the task. 2. Explorer.exe Requirement: Task Scheduler in Windows 7 often relies on explorer.exe to function correctly and to perform tasks. Attempting to launch a task without the Windows shell running might cause issues with the operating...
When setting up Task Scheduler in Windows 7 to wake the PC from sleep, running the system without explorer.exe as the shell can lead to conflicts with the operation. Here's how you can potentially work around this issue: 1. Scheduled Task Configuration: Ensure that your Task Scheduler job is configured correctly for waking the system from sleep. Check that you have set up the task to wake the computer and configured all the necessary options such as waking the computer to run the task. 2. Explorer.exe Requirement: Task Scheduler in Windows 7 often relies on explorer.exe to function correctly and to perform tasks. Attempting to launch a task without the Windows shell running might cause issues with the operating system's internal processes. 3. Alternative Solutions: - Auto-Login: Consider setting up auto-login to your user account, so when the system boots, it automatically launches Kodi. - Third-Party Tools: You might need to explore third-party software specifically designed for launching applications at startup without relying on the shell. 4. Script Startup: Another approach could involve creating a script that aligns with your Kodi launch requirements and configuring Task Scheduler to execute this script at startup. 5. Testing: Ensure that you thoroughly test any changes you make to the system configuration to prevent disruption to the PC's normal operation. By carefully configuring your Task Scheduler, exploring alternative solutions, and considering the practical interaction of system components, you can try to achieve the desired startup behavior for your HTPC setup.
 


Solution
Back
Top