For Wes, EWF is default enable, so just after reboot, the settings will been restored. If EWF is been disable, then you have to reinstall OS to restore settings.
For Cos, at traditional interface, there is an option After entering the administrator mode, click the "Restore Settings" icon.