WebOct 24, 2008 · Process.Start ("cmd", @"/c shutdown -r"); But this does not work remotely for some reason. I tried using psshutdown.exe instead, using the code: Process.Start (@"C:\psshutdown.exe", @"\\10.12.0.94"); Once again this command works fine from cmd, but not from my service. WebFeb 7, 2024 · C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0 Doyou know of a better command to put the computer to sleep I downloaded psshutdown C:\Windows\psshutdown.exe -d -t xx xx= number of sec till sleep Last edited by JimO; 07 Feb 2024 at 22:41 . Reason: fixed my problem My Computer f14tomcat
How Do I Create A Desktop/Taskbar Icon for Sleep?
WebFeb 22, 2024 · After running the above command, either of the following shortcuts worked just like when I select "sleep" from the windows button: C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0. C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState. FYI. My Computer. WebFeb 6, 2015 · psshutdown.exe -d -t 0 -accepteula. Now, this works great! The problem is that I can't get the laptop to wake up the next morning via a different batch file (because it's in … telmodim
Solved: Cant get command file to run psshutdown to shutdown …
WebJan 4, 2024 · Keywords: Classic. User: SYSTEM. Computer: domain-computer.contoso.LO CAL. Description: The process wininit.exe (127.0.0.1) has initiated the restart of computer domain-computer on behalf of user NT AUTHORITY\SYSTEM for the following reason: Legacy API shutdown. Reason Code: 0x80070000. Shutdown Type: restart. WebOriginal Filename: psshutdown.exe; Product Name: Sysinternals PsShutdown; Company Name: Sysinternals - www.sysinternals.com; File Version: 2.52; Product Version: 2.52; … WebOct 26, 2015 · At the bottom of the screen, where his 2nd red arrow is, Sleep may not appear in the Shutdown settings list. If it doesn't, that means Windows thinks your motherboard doesn't support the necessary sleep states. If Sleep does appear in the list, make sure it is checked. Was this reply helpful? Yes No restaria blokzijl