Tuesday, February 2, 2010

Last Logged User History in windows XP

//posted by anil jain

RegistryKey Rkey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Winlogon", true);
if (Rkey != null)
{
Registry.CurrentUser.DeleteSubKeyTree("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Winlogon\\");
}

No comments:

Post a Comment