Is it possible to enable logging of RDP connections / disconnections under Windows XP and Windows 7?

10,346

I dont know if there's something specific for RDP, btw you could

  1. enable an Audit Policy for Logons on the workstation (you can do it via GPO if you're on a Active Directory domain or you can do it on a single workstation editing its Local Security Policy)
  2. check Events in Security with Event Code = 528 (User logged in) and Logon Type = 10 (Remote Interactive, so RDP like connections)

you can query Events i.e. using LogParser (GUI here) and maybe load them in a DB for future analysis

Share:
10,346

Related videos on Youtube

Jon Cage
Author by

Jon Cage

A Computer Systems Engineer based in the UK

Updated on September 17, 2022

Comments

  • Jon Cage
    Jon Cage over 1 year

    As the title suggests, I'm trying to keep an eye on RDP connections / disconnections to a couple of machines. One's running Windows XP and one's running Windows 7.

    I've checked the event logs on the Windows XP machine and there's nothing mentioned in there. Is it just a Windows 2003 Server feature?

  • Jon Cage
    Jon Cage about 14 years
    Thanks. I'm using Python to parse the loging messages as part of a larger suite of applications (no need to use logparser).