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