ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

PC Shut down

<< < (2/4) > >>

Nzyme:
The power options in win 7 and the software available (most of which I have tested) are timer based and give an option to shutdown the PC at a certain time. But this is not my requirement. I need to shutdown my PC when there is no user logged in and there is no activity (for example no activity for half hour).

Can you guys help me with coding this as a service for this (I guess this needs to be coded as a service as no user has logged in)

MilesAhead:
I found this:

http://www.apponic.com/autoshutdown-pro-44764/

It says "shareware" which implies you can try it before purchase. I have no clue if it works. But it states it can shut down without a user being logged on.

4wd:
To run when no user has logged in, it has to either be a service or run using the Windows Startup script feature.

And this is no trivial thing if you want it to keep running after a user has logged out....I spent quite some time trying to get a program to run in a similar situation, (see here).

However, if it's not necessary that the program run after a user logoff then it should be possible write a AutoIt program that'll do the job.

EDIT: Otherwise, take a look at DShutdown which can do what you want and you can also run it as a Windows Startup script using it's command line options, (which should take care of the pre-user logon requirement).

techidave:
I forgot about DShutdown.  I looked for various software a few years back but eventually gave up.  it's too bad 4wd that we never got the wirelesss sensor program too work right.  But you gave it your best!  Thanks!

Nzyme:
Ok, I just tried DShutdown to no avail. Firstly, I started the service program and then in the main options, I tried selecting first the "Power Off" and then "Shutdown" while setting the idle time out option and guess what, the PC never shut down at all after I logged out. (Atleast AutoShutdown Pro does that part)...

Secondly, even if any program is able to shut down after a period of inactivity, how can it check if any user is logged in or not...(For example, I wouldn't want the program to shut my PC when I have a download in progress and have locked it.) 8)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version