Latest GW stops running when laptop sleeps

Windows 11 Pro and latest GW Elite

Often when closing lid and laptop goes to sleep, GW stops running

When lid opened, manually restarting works but annoying to be required

For now, setup a 1 hour repeated Task Scheduler event to start every day at 07:59

glasswire.exe -hide

Is there also a -minimized switch as -hide will popup window on desktop ?

Found an even better solution:

Robotask 9 x64 (v9.0.0.1068 currently) task that watches for Process to Finish (Trigger)
Loops all hidden windows and if GlassWire not found, verifies service is running and
Starts C:\Program Files (x86)\GlassWire\GlassWire.exe in hidden mode

Sorry for the issue. GlassWire should not stop when a laptop sleeps.

Please try a clean reinstall and see if it solves the issue, or if you are using any unusual software that might be killing our Windows service, please consider white listing our service.

Service keeps on running, it is GlassWire.exe that disappears from the monitored processes when lid closed/sleep

Robotask detects it automatically when lid is opened and starts the .exe in hidden mode, the systray icon automatically re-appears. I also have system write a tracker.log file when this occurs and it does not happen at every sleep event.

The service never disappears or becomes disabled so that is not the issue.

Sorry I misunderstood.

Did the clean install solve it?

No, clean install does not solve it. My posted solution works and requires no input from me.

From the history of GlassWire since 2014 nobody has ever reported needing to use “robotask” to do anything with GlassWire to make it function properly. If that is happening for you, then there is something wrong with the install.

Sorry for the issue but I’m glad you were able to find some sort of solution, even though it should not be necessary to use a third party app.

Just happened again, today and it corresponds with Administrative Event Error Log.

Robotask automatically caught shutdown and forced an immediate restart of GW

Event 17, DPTF

ESIF(8.7.10700.22502) TYPE: ERROR MODULE: ACTION FUNC: EsifActWriteLogHandler FILE: esif_uf_action.c LINE: 789 TIME: 41293628 ms

UPE_WIFI:[WifiDev_GetChannelInfo@wifi_dev.c#356]<41293628 ms>: Error: WlanQueryInterface failed for getting current channel number [0]

- System

|||- Provider

[ Name] DPTF

[ Guid] {d3cb85d1-d61c-4bcf-9674-7910ee54d6af}

EventID 17

Version 0

Level 2

Task 0

Opcode 0

Keywords 0x8000000000000000

|||- TimeCreated

[ SystemTime] 2022-05-07T13:59:37.5824964Z

EventRecordID 13497


|||- Execution

[ ProcessID] 2852

[ ThreadID] 8128

Channel Application

Computer MVLTPWW

|||- Security

[ UserID] S-1-5-19

- EventData

Message ESIF(8.7.10700.22502) TYPE: ERROR MODULE: ACTION FUNC: EsifActWriteLogHandler FILE: esif_uf_action.c LINE: 789 TIME: 41293628 ms UPE_WIFI:[WifiDev_GetChannelInfo@wifi_dev.c#356]<41293628 ms>: Error: WlanQueryInterface failed for getting current channel number [0]

I have a somewhat similar issue on my laptop running Windows 11. After waking up from sleep the Glasswire icon either disappears from the tray or greyed out. Service is running and if the icon is grey I click on it and the window pops up showing the “connect” button which tries to connect to the local server and usually just FCs after trying for a while.

Running the app again from the start opens the window with no issues and all the stats showing.

If pressing the Sleep key again does not resolve this, try each of the following methods in the order in which they are presented and determine whether the problem still exists before you try the next method. If you are using the original version of Vista and have not updated to the latest available Service Pack, updating to Service Pack 1 or a later version may resolve this problem.

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

928631 A USB device may no longer work correctly after Windows Vista resumes from sleep or from hibernation

871233 USB device is not recognized when you attach it immediately after your Windows XP-based computer resumes from standby or hibernation

929577 A Bluetooth device may no longer work correctly when you wake a Windows Vista-based computer from sleep

Method 1: Install the current software for your device and verify its configuration
First, download the latest version of the Microsoft IntelliType software, IntelliPoint software, or both for your keyboard, your mouse, or both. To do this, visit the following Microsoft Web site:

After you install this software, run it, and then verify that the correct device is selected and that the settings are as you want them to be. If your keyboard does not have a dedicated Sleep key and you want to program Sleep for an alternative key, follow these steps:

Open the Keyboard control panel.

In Windows Vista or Windows 7, Click
Start Start button , type keyboard in the Start Search box, and then click Keyboard or Microsoft Keyboard in the Programs list.

In Windows XP and earlier versions, click Start, click Run, type Control keyboard, and then click OK.

On the Key Settings tab, double-click the key that you want to change to access the Reassign a Key wizard.

Select the Start a Program, Web page, or file option, and then click Next.

To enable this key to start Sleep mode, run the following command:

Method 2: Try alternative keys, mouse buttons, or the power button on your keyboard
To resolve this issue and resume computer operation, use one of the following methods:

Press the SLEEP keyboard shortcut.

Press a standard key on the keyboard.

Move the mouse.

Quickly press the power button on the computer.

Note If you use Bluetooth devices, the keyboard may be unable to wake the system.

Method 3: Verify that your device is allowed to wake the computer
To resolve this issue for, follow these steps:

Open the Keyboard control panel item, as described in Method 1.

Click the Hardware tab, and then click Properties.

Click the Change Settings button

Note This step requires Administrator access

Click the Power Management tab, and then verify that the Allow this device to wake the computer is enabled.

Click OK, and then click OK again.

Note If your computer does not support Advanced Configuration and Power Interface (ACPI), the earlier steps may not be available. In this case, you have press the power button to wake the computer. If you cannot resume computer operation by using any of these methods, you may have experienced a system problem.

For information about how your system resumes operation, see the documentation that accompanied your computer or contact the computer manufacturer. For information about Microsoft Windows Power Management settings, see Microsoft Windows Help.

Note Many laptop manufactures will not allow a Bluetooth device to wake the computer from sleep mode because of the power consumption requirements to keep the Bluetooth radio activated (Bluetooth paging can consume up to 15% of the computer’s power). Therefore there are a couple of workarounds that you can use:

If you can open the lid of your laptop, use the embedded keyboard or pointing device or an external non-Bluetooth device to wake the computer.

If you cannot open the lid (for example, because it is in a docking station) or if you have it plugged into external power (that is, you are not using the battery), you can change the Power settings in Windows to not go into Sleep mode when plugged in.

Alternatively the Microsoft Bluetooth stack or your laptop’s proprietary Bluetooth stack may allow customization to allow wake by using Bluetooth devices.

Rachel Gomez