Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Kiwibro

69 posts

Master Geek


#191540 8-Feb-2016 08:32
Send private message

Hi all.

 

I have a small issue that so far I am unable to resolve. I have an old pc running Win 10 pro. It is set up to wake at 3.00 every morning to back up my home server to a pair of drives.

 

The PC is set to hibernation off, (powercfg.exe /hibernate off).  it is set to S3 standby. The reason for this is that the PC will not resume correctly and will crash with Hibernation turned on (not worried about this). One drive is via Firewire and the other is via Esata (this one is removed and swapped with another drive and kept off site in rotation). If this seems a strange setup it is due to the fact that it is all assembled with bits lying around!

 

If I let the pc sleep on its own it will wake via Task scheduler without issue. The issue I am having is that if I put the PC to sleep via the command line it refuses to wake with the error "the operator or administrator has refused the task (0x800710e0). I have tried the following commands, (%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby) ,  (rundll32.exe powrprof.dll,SetSuspendState 0,1,0) ,and  (rundll32.exe powrprof.dll,SetSuspendState Sleep). They all sleep the PC but it will not wake as requested.

 

I need the command line to work as after FreeFileSync had backed up any changes it will run the command to sleep the PC. I have just set the power settings to sleep the PC after 10mins which works for me but I find it annoying that none of the command lines will work.

 

I need a command line that will perform the same action as the actual sleep that the PC achieves when it goes to sleep by its self, S2 sleep mode without hibernation or hybrid sleep?

 

Any ideas and sorry about my protracted explanation!

 

 

 

 


Create new topic

gzt

gzt
17137 posts

Uber Geek

Lifetime subscriber

  #1487514 8-Feb-2016 14:43
Send private message

I will guess there is almost certainly an api call through powrprof available. But the quick answer I can give is the sleep option of the Microsoft psshutdown utility:

https://technet.microsoft.com/en-us/sysinternals/psshutdown



Kiwibro

69 posts

Master Geek


  #1487559 8-Feb-2016 16:10
Send private message

Thanks GZT, I will look into that. I also forgot to mention that this PC runs headless and I use Remote Desktop to administer it. Will post my results.
Al

Kiwibro

69 posts

Master Geek


  #1487863 9-Feb-2016 10:03
Send private message

Well done gzt that worked a treat! Problem solved!
Al

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.