[SOLVED] Waptagent and Windows sleep

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
erict
Messages: 56
Registration: December 22, 2017 - 7:09 PM

September 5, 2018 - 10:43

Hello,

I'm using wapt 1.5 community.

I've started deploying wapt in my computer labs (Windows 10), and I've noticed that most of the time, the workstations appear "disconnected" in the console. I assume this is due to Windows going into sleep mode.
Are you experiencing this problem, and is there a recommended setting to avoid it?

Thanks in advance
.
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

September 5, 2018 - 11:09

If the machines are in sleep mode or shut down, they will appear disconnected in the console because the Wapt service on the machine is also in sleep mode or stopped.

To avoid this, you must disable sleep mode on the PCs.
Alternatively, enable Wake-on-LAN and wake the machines when you want to manage them (this option is in the context menu "Start with WakeOnLAN," which only works if the Wapt server and the workstations are on the same subnet).

To disable sleep mode, a possible package is available here: https://store.wapt.fr/package_details?p ... 3_all.wapt
Tranquil IT
erict
Messages: 56
Registration: December 22, 2017 - 7:09 PM

September 5, 2018 - 2:29 PM

Hello,

`tis-disable-sleepmode` seems to disable too many things for my needs (screen sleep mode, for example), however, it's a good starting point for creating my own package.
What are the essential elements to disable to maintain the connection to the server? I was leaning towards hibernate, of course, but is that sufficient?

Thanks
.
erict
Messages: 56
Registration: December 22, 2017 - 7:09 PM

September 5, 2018 - 2:32 PM

D,

My previous message went out too quickly... Intuitively, I would think those two lines are enough, but if you could confirm...:

Code: Select all

run('"powercfg.exe" -change -standby-timeout-ac 0')
run('"powercfg.exe" -change -hibernate-timeout-ac 0')
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

September 7, 2018 - 11:29

Good morning,

We must add the following:

Code: Select all

run('"powercfg.exe" -h off')
Our package completely disables standby mode: https://store.wapt.fr/package_details?p ... 3_all.wapt

Sincerely,

Alexander
User avatar
dvinouze
Messages: 4
Registration: May 21, 2019 - 08:41

November 25, 2019 - 10:55 AM

Hello,
Is it normal that authentication is requested upon restarting?

I simply want to turn off the display, but when the screen is turned off, the user seems locked out.
Regards,
- Installed WAPT version (1.7.4)
- Server OS (Debian Stretch 9.9)
- Administration/package creation machine OS (Windows 10 - 1903)
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

December 3, 2019 - 3:02 PM

dvinouze wrote: Nov 25, 2019 - 10:55 AM Hello,
Is it normal that authentication is requested upon restarting?

I simply want to turn off the display, but when the screen is turned off, the user seems locked out.
Regards,
cf. viewtopic.php?f=9&t=2104
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked