Include Power off PC when download complete
Could be for current download task and current list of downloads
< >
Showing 1-14 of 14 comments
HeyYou Nov 1 @ 9:42am 
Do you really want the steam client to have that kind of power on your PC? I sure don't. It's not like the machine is burning a bunch of power when it is just sitting there, doing nothing.
Microsoft won't let a user space app shutdown a PC and you shouldn't be running steam as an admin.
sky Nov 1 @ 4:28pm 
This can be at least a bit avoided with elevated subprocess started after you click "shutdown after download".

This way Steam will run in non-elevated mode, while subprocess waiting for the event from Steam client will have privilege to shutdown PC. It probably won't be very useful for PC, but might be for a laptops.
nullable Nov 1 @ 10:35pm 
Isn't that what sleep mode is for when the system is idle?
Sure, why not some people do overnight downloads, and go to sleep, or gone out.

There is work around can always do using app that monitors your system usage, from CPU %, disk read, or writes, and etc... Which app shutdown your PC, and see below threshold you set over X period of time.

Another lazy method is using script to auto shutdown using countdown.

Originally posted by nullable:
Isn't that what sleep mode is for when the system is idle?
Yes, issue it may not always work, and could go to sleep during download which is rare as it can be due to either issue by OS, or app behavior.

But I assume OP want PC just off.
Mailer Nov 2 @ 2:34am 
You can schedule your PC to turn off with a "Run" shutdown command, roughly some time after the download ETA is done, as long as it doesn't fluctuate too much.
Last edited by Mailer; Nov 2 @ 2:35am
Wouldn't be that hard to implement in the past some defrag programs and AV programs had that feature.
HeyYou Nov 2 @ 7:33am 
Shutdown is a simple command..... Steam could conceivably do that. My question becomes, why? Not like it burns a lot of power doing nothing....

And 'sleep'? Yeah. Win 11, box stock, wants to put your machine to sleep after 3 minutes of inactivity..... Which I think is just idiotic. When I am running updates, I don't want to babysit my machine for however long it takes. (and some of those updates seem to take FOREVER to download....) So, my machine NEVER goes to sleep, and most certainly never hibernates. It'll turn the screen off after an hour, but, that's it. (desktop.....)
10 years from now "hey i had this great idea and added it to steam"
You might look at how much time is left to download it on Steam and create a task to shut down your PC.
Originally posted by Doctor Zalgo:
Microsoft won't let a user space app shutdown a PC and you shouldn't be running steam as an admin.

This is false. As stated by the Windows API documentation[learn.microsoft.com]

To shut down the local computer, the calling thread must have the SE_SHUTDOWN_NAME privilege. To shut down a remote computer, the calling thread must have the SE_REMOTE_SHUTDOWN_NAME privilege on the remote computer. By default, users can enable the SE_SHUTDOWN_NAME privilege on the computer they are logged onto, and administrators can enable the SE_REMOTE_SHUTDOWN_NAME privilege on remote computers.

Processes running as a regular user can shut down the system. The process just has to call AdjustTokenPrivilege to enable SE_SHUTDOWN_NAME first, which regular user accounts have the ability to do; it's the software equivalent of a plastic cover over a big red button that you have to flip up first; it's not locked.

See also this Stack Exchange answer: https://superuser.com/a/1254265

Originally posted by HeyYou:
Do you really want the steam client to have that kind of power on your PC? I sure don't.
It already does. If you go into Big Picture Mode, you can shut down the system from the power menu there.

And, as I noted: any process you run can shut your system down. It's not protected at all.
Last edited by aiusepsi; Nov 3 @ 5:23am
good feature but TBH.. i think steams client has too much system ACCESS already.
I think microsoft has to review power options and update it 2025
< >
Showing 1-14 of 14 comments
Per page: 1530 50