Reset global preferences. Removes all, or, depending on the value of the resetkinds parameter, some types of global preferences and make them not global anymore.
resetkinds