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

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


11454 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:

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.


69 posts

Master Geek

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

Well done gzt that worked a treat! Problem solved!

Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

National Institute for Health Innovation develops treatment app for gambling
Posted 6-Jul-2020 16:25

Nokia 2.3 to be available in New Zealand
Posted 6-Jul-2020 12:30

Menulog change colours as parent company merges with Dutch food delivery service
Posted 2-Jul-2020 07:53

Techweek2020 goes digital to make it easier for Kiwis to connect and learn
Posted 2-Jul-2020 07:48

Catalyst Cloud launches new Solutions Hub to support their kiwi Partners and Customers
Posted 2-Jul-2020 07:44

Microsoft to help New Zealand job seekers acquire new digital skills needed for the COVID-19 economy
Posted 2-Jul-2020 07:41

Hewlett Packard Enterprise introduces new HPE GreenLake cloud services
Posted 24-Jun-2020 08:07

New cloud data protection services from Hewlett Packard Enterprise
Posted 24-Jun-2020 07:58

Hewlett Packard Enterprise unveils HPE Ezmeral, new software portfolio and brand
Posted 24-Jun-2020 07:10

Apple reveals new developer technologies to foster the next generation of apps
Posted 23-Jun-2020 15:30

Poly introduces solutions for Microsoft Teams Rooms
Posted 23-Jun-2020 15:14

Lenovo launches new ThinkPad P Series mobile workstations
Posted 23-Jun-2020 09:17

Lenovo brings Linux certification to ThinkPad and ThinkStation Workstation portfolio
Posted 23-Jun-2020 08:56

Apple introduces new features for iPhone iOS14 and iPadOS 14
Posted 23-Jun-2020 08:28

Apple announces Mac transition to Apple silicon
Posted 23-Jun-2020 08:18

Geekzone Live »

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

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

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.

Alternatively, you can receive a daily email with Geekzone updates.