Share via

Azure VPN Black Window

Jordan Wagner 0 Reputation points
2026-04-29T13:35:18.74+00:00

Hello,

I use Azure VPN for work on a Windows 11 computer. Recently it started to freeze and if I try to kill the task and re-open it, I get a black window.

I have tried everything. Uninstalling, deleting the app data folder (C:\Users...\AppData\Local\Packages\Microsoft.AzureVpn_...), reinstalling... I even went nuclear and got a brand new computer with a fresh windows install, and I have the same issue.

None of my co-workers seem to have this problem. The only way I can fix it is by restarting my device but that is really inconvenient since this happens 2-3 times a day,

I notice this happen when my wifi router drops connection for a bit while I am connected to the VPN on my computer. I also notice it sometimes when I come back to my computer and it was idle/sleep,

User's image

Thanks,

Jordan

<Moved from: Windows for home | Windows 11 | Performance and system failures>

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Alex Burlachenko 20,665 Reputation points MVP Volunteer Moderator
    2026-04-30T07:27:47.4633333+00:00

    hello Jordan Wagner & thx for join me here at Q&A portal,

    sooo firstly quick answ app UI is hanging after network resume, try WebView2/GPU update and restart RasMan instead of reboot. And sounds like Azure VPN Client UI process gets stuck after network loss/sleep, not a VPN gateway issue. fresh PC having same issue points to user profile/config, VPN package version, graphics/WebView dependency, or the Wi-Fi drop/sleep path.

    first thing I would try is disable sleep for Wi-Fi/network adapter in Device Manager and power plan because the trigger is connection drop or resume from idle. then update/reinstall Microsoft Edge WebView2 Runtime and GPU driver coz black window in modern Windows apps is often WebView/rendering stuck, not the app logic. when it happens, dont only kill Azure VPN Client UI, also stop/reset the VPN platform service with admin PowerShell: Get-Service *vpn* | Where-Object {$_.Name -like "*Ras*" -or $_.DisplayName -like "*VPN*"} | Restart-Service -Force, or just restart RasMan with Restart-Service RasMan -Force. if that clears it without reboot, it confirms stuck Windows VPN stack. also check Event Viewer under Application and Microsoft-Windows-RasClient logs around the freeze. practical workaround is to disconnect VPN before sleep or unstable Wi-Fi, and set Wi-Fi adapter power saving off. if it still happens 2-3x daily after WebView2/GPU/RasMan checks, open ticket with Microsoft and include app version + event logs.

    rgds, Alex

    &

    pls if my answer helps pls accept it.
    

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.