Originally published at coinetic.io .
Your Windows VPN runs on Routing and Remote Access (RRAS), and the logins are checked by the Network Policy Server (NPS). The answers to who logged in, who failed, and who is on right now are spread over several places. Here is where to look.
In short
NPS log files: %SystemRoot%\System32\LogFiles , files named IN*.log (set in the NPS console › Accounting).
NPS in Event Viewer: Security log, Event ID 6272 (access granted) and 6273 (access denied), if Audit Network Policy Server is on.
RRAS events: System log, source RemoteAccess .
Who is connected now: Routing and Remote Access console › Remote Access Clients , or Get-RemoteAccessConnectionStatistics in PowerShell.
1. NPS accounting logs (the log files)
NPS can write every authentication and accounting request to a text file.…