Lightroom crashes when you choose Edit > Preferences.
You may encounter this issue if your My Pictures folder is pointing to a folder that does not exist or has been moved.
Try one or more of the following solutions to troubleshoot this issue.
Update Lightroom by choosing Help > Updates, or by clicking Update next to Lightroom in the Creative Cloud desktop application. See Keeping Lightroom up to date for details.
To move My Pictures to a different location:
For more details, see Microsoft's article Redirect a folder to a new location.