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
15536 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

 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
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 »

Synology Introduces BeeStation
Posted 23-Feb-2024 14:14


New One UI 6.1 Update Brings Galaxy AI to More Galaxy Devices
Posted 23-Feb-2024 10:50


Amazon Echo Hub Available in New Zealand
Posted 23-Feb-2024 10:40


InternetNZ Releases Internet Insights 2023
Posted 20-Feb-2024 10:31


Seagate Adds 24TB IronWolf Pro Hard Drives for Multi-user Commercial and Enterprise RAID Storage Solutions
Posted 19-Feb-2024 16:54


Seagate Skyhawk AI 24TB Elevates Edge Security Capacity and Performance
Posted 9-Feb-2024 17:18


GoPro Releases Quik Desktop App for macOS and Introduces Premium+ Subscription Tier
Posted 9-Feb-2024 17:14


Ring Introduces New Ring Battery Video Doorbell Pro
Posted 9-Feb-2024 16:51


Galaxy AI Transforms the new Galaxy S24 Series
Posted 18-Jan-2024 07:00


D-Link launches AI-Powered Aquila Pro M30 Wi-Fi 6 Mesh Systems
Posted 17-Jan-2024 20:02


Newest LG 4K Lifestyle Projector Doubles as Art Objet
Posted 9-Jan-2024 15:50


More LG Smart TV Owners Set To Enjoy the Latest webOS Upgrade
Posted 9-Jan-2024 15:45


Panasonic Announces the Z95A and Z93A With Fire TV Built In
Posted 9-Jan-2024 15:30


Amazon Echo Pop Review
Posted 8-Jan-2024 14:22


Samsung Tab S9 FE Review
Posted 17-Dec-2023 08:26









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.