Fixing scheduler not working on XP