Federal officials have known for more than six years that Microsoft would withdraw its free support for Windows XP on April 8, 2014.