Process Hacker and Windows discussion

 
Mike1961-1

Computer Shutdown programming

27 Nov 2016, 10:57

Hello!
Subject says it all: Could the option of shutdown programming be added?
Selecting a time, an automatic daily repeat maybe?
Anyway, thanks a lot for this piece of software! ! ;)
 
User avatar
viksoftru
Member
Posts: 486
OS: Win7 (Live! DVD), BSD

Re: Computer Shutdown programming

27 Nov 2016, 22:07

I simple use system scheduler (at, cron, nnCron) and add task for run command shutdown /s /f /t 30 /c "Scheduling shutdown" /d p 00:00 on scheduling time.
 
Guest

Re: Computer Shutdown programming

28 Nov 2016, 11:15

viksoftru wrote:
I simple use system scheduler (at, cron, nnCron) and add task for run command shutdown /s /f /t 30 /c "Scheduling shutdown" /d p 00:00 on scheduling time.
Thanks. Yes, there are tools here and there, even with windows, but I was thinkin that a process tool was a good place for such an option...
 
Guest

Re: Computer Shutdown programming

28 Nov 2016, 11:19

...and it could also be used for a single process...
 
User avatar
viksoftru
Member
Posts: 486
OS: Win7 (Live! DVD), BSD

Re: Computer Shutdown programming

29 Nov 2016, 01:15

For more information:
#include <windows.h>

VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,1,7600,16385
PRODUCTVERSION 6,1,7600,16385
FILEFLAGSMASK 0x3FL // VS_FF_DEBUG|VS_FF_INFOINFERRED|VS_FF_PATCHED|VS_FF_PRERELEASE|VS_FF_PRIVATEBUILD|VS_FF_SPECIALBUILD
FILEFLAGS 0x0L
FILEOS 0x40004L // VOS_NT|VOS__WINDOWS32
FILETYPE 0x1L // VFT_APP
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Microsoft Corporation\0"
VALUE "FileDescription", "Windows Shutdown and Annotation Tool\0"
// Zero-length item found
VALUE "FileVersion", "6.1.7600.16385 (win7_rtm.090713-1255)\0"
VALUE "InternalName", "shutdown\0"
// Zero-length item found
VALUE "LegalCopyright", "© Microsoft Corporation. All rights reserved.\0"
VALUE "OriginalFilename", "SHUTDOWN.EXE\0"
// Zero-length item found
VALUE "ProductName", "Microsoft® Windows® Operating System\0"
// Zero-length item found
VALUE "ProductVersion", "6.1.7600.16385\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
Binary patch %WINDIR%\System32\shutdown.exe :)

Who is online

Users browsing this forum: Bing and 7 guests