Disable 'standby mode' during background copy
Moderators: Hacker, petermad, Stefan2, white
Disable 'standby mode' during background copy
Hi,
I was copying some large files last night (with TC 7.50a) using the background copy function.
(from usb hdd to internal hdd)
My computer running Windows 7 64 bit went into 'standby' aka 'sleep' mode during the copy.
With the negative effect that the background copy stopped.
I like it more if TC would prevents Windows 7 from entering 'standby"mode during the background copy???
Greetz,
DR...
I was copying some large files last night (with TC 7.50a) using the background copy function.
(from usb hdd to internal hdd)
My computer running Windows 7 64 bit went into 'standby' aka 'sleep' mode during the copy.
With the negative effect that the background copy stopped.
I like it more if TC would prevents Windows 7 from entering 'standby"mode during the background copy???
Greetz,
DR...
#106383 Windows 10 Pro 64-bit
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC 7.55 already does that now when a copy dialog is up. Can you try it, please? Release candidate 2 is already very stable, more than 7.50a final.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
During the weekend I have succesfully executed several large copy actions similar to the actions described in my original post.
During the copy actions my computer does not enter the 'standby mode'!

The computer screen does go blank!
I think this is logical and I like that.
To be sure I did a 'Power Efficiency Diagnostics Report' during one of the copy actions.
It showed that TC prevents entering sleep mode.
I created the 'Power Efficiency Diagnostics Report' using the following command.
(with an elevated command prompt)
So I can confirm this new feature works like a charm on my system!

Greetz,
DR...
During the copy actions my computer does not enter the 'standby mode'!

The computer screen does go blank!
I think this is logical and I like that.
To be sure I did a 'Power Efficiency Diagnostics Report' during one of the copy actions.
It showed that TC prevents entering sleep mode.
Code: Select all
System Availability Requests:System Required Request
The program has made a request to prevent the system from automatically entering sleep.
Requesting Process \Device\HarddiskVolume2\Program Files (x86)\totalcmd.v755rc2\TOTALCMD.EXE
(with an elevated command prompt)
Code: Select all
C:\powercfg -energy -output d:\energy-report.html

Greetz,
DR...
#106383 Windows 10 Pro 64-bit
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Nice, thanks for sharing this information! I hope that the computer did go to sleep after the copying had finished...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I did another test (this time with RC3).ghisler(Author) wrote:Nice, thanks for sharing this information! I hope that the computer did go to sleep after the copying had finished...
And the computer does go to sleep mode after the copying has finished!
And a little side note:
If during the copy action you get a dialog screen (for example a confirm overwrite dialog) the computer enters sleep mode.
Perfect!
Greetz,
DR...
#106383 Windows 10 Pro 64-bit
-
- Junior Member
- Posts: 7
- Joined: 2018-12-27, 15:37 UTC
Re:
Where is this option to disable sleep in copy dialog??ghisler(Author) wrote: 2010-05-28, 15:44 UTC TC 7.55 already does that now when a copy dialog is up. Can you try it, please? Release candidate 2 is already very stable, more than 7.50a final.
Image: https://i.postimg.cc/hPdhPVmH/Where-is-option-to-prevent-sleep-on-remote-PC.png
I must be blind if I can't see it....


Casually transferring files to remote PC and remote PC decides to take a nap halting file transfer....and when that happens, I only have ignore or abort options when TC pops up a dialog on what to do when remote PC naps. No option to resume or retry or even tell remote PC to *not* sleep when transferring files and let it sleep once it's finished??
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Disable 'standby mode' during background copy
There is nothing to configure - Total Commander calls SetThreadExecutionState with the parameters
ES_CONTINUOUS, ES_SYSTEM_REQUIRED when the copy dialog goes up, and set to zero when done or paused.
It also includes ES_DISPLAY_REQUIRED when the media player is playing.
Your system should not go to sleep while a file operation is active.
ES_CONTINUOUS, ES_SYSTEM_REQUIRED when the copy dialog goes up, and set to zero when done or paused.
It also includes ES_DISPLAY_REQUIRED when the media player is playing.
Your system should not go to sleep while a file operation is active.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 7
- Joined: 2018-12-27, 15:37 UTC
Re: Disable 'standby mode' during background copy
Well it go to sleepp, so how do you explain that?ghisler(Author) wrote: 2023-11-19, 09:46 UTC There is nothing to configure - Total Commander calls SetThreadExecutionState with the parameters
ES_CONTINUOUS, ES_SYSTEM_REQUIRED when the copy dialog goes up, and set to zero when done or paused.
It also includes ES_DISPLAY_REQUIRED when the media player is playing.
Your system should not go to sleep while a file operation is active.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Disable 'standby mode' during background copy
Edit:
Sorry, I misunderstood your report. I thought that the PC with Total Commander on it goes to sleep. But re-reading your report it looks like the remote PC to which you connect goes to sleep. To my knowledge, there are no functions which can prevent the target PC from going to sleep.
Sorry, I misunderstood your report. I thought that the PC with Total Commander on it goes to sleep. But re-reading your report it looks like the remote PC to which you connect goes to sleep. To my knowledge, there are no functions which can prevent the target PC from going to sleep.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com