> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agen.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Windows Tray Stays on "Waiting for AgenShield…"

> Why the AgenShield tray app on Windows can stay on "Waiting for AgenShield…" with no sign-in button when user profiles are not under C:\Users, for example on a virtual desktop that keeps profiles on a separate drive, and how to fix it.

## What you see

On a Windows computer, the AgenShield tray app never finishes loading:

* every tile reads **Loading…**;
* the account box reads **Waiting for AgenShield…**;
* the status bar reads **Reconnecting…**;
* there is no **Sign in** button, so the computer cannot be signed in from the
  tray.

Restarting the tray app, the background service or the computer does not help.

## What it means

Protection is running. Policy is enforced and the device reports to the
Frontegg Portal normally. Only the tray app is affected, and through it:

* nobody can sign in from the tray, so activity is attributed to the local
  Windows account instead of a person, and policy scoped to a user's email does
  not apply;
* block notifications, which the tray shows, do not appear.

The tray app connects to the background service with a credential that the
service places in the signed-in user's profile folder. In **2026.11.2 and
earlier**, the service only looked for that folder at `C:\Users\<account name>`.
When Windows keeps the profile anywhere else, the credential is never placed and
the tray app waits forever. This happens when:

* the computer is a virtual desktop that keeps user profiles on a separate
  user volume (for example `D:\Users`);
* an administrator moved the profiles folder to another drive or path;
* the profile folder is named differently from the account, for example
  `<name>.<DOMAIN>` after two accounts with the same name signed in.

This is fixed in the release after 2026.11.2: the service finds the profile
folder that Windows registered for the signed-in account, wherever it is.

## Confirm it

In a Command Prompt opened as the affected user, run:

```bat theme={"theme":{"light":"snazzy-light","dark":"dark-plus"}}
echo %USERPROFILE%
```

If the folder it prints is not `C:\Users\<your account name>`, this page
applies.

## Fix it

Upgrade AgenShield to the release after 2026.11.2. Within a minute of the
upgrade, the tray app connects and shows the **Sign in** button. You do not need
to restart the computer or sign out.

## When to contact support

If the tray app still shows **Waiting for AgenShield…** two minutes after the
upgrade, or `%USERPROFILE%` is under `C:\Users`,
[collect a diagnostics bundle](https://docs.agen.co/troubleshoot/collecting-diagnostics.md) as an
administrator and contact support.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.