TEXworks will save its preferences in the registry: \HKEY_CURRENT_USER\Software\TUG\TeXworks. If this is erased, it will be recreated with default values at the next use.