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.