I have sorted it out now, what I did is go into my c drive and elete the maya folder called prefs, then reloaded maya and all was restored.