Disable the overlay for admin using a feature? Every time i spawn a new website the first thing i need to do is disable the very slow overlay in /user/1/edit?destination=admin/people



Is there a way to export admin user settings each time after an install?
You can use a feature for this, but IMO it makes more sense to do this in an install profile, because you are just setting this once. One way or the other, you will need to add some code to the .install file of your install profile or feature, in the form of a hook_install implementation.

This is untested code but I believe it should work:

&lt;?php
/**
 * Implement hook_install().
 */
function PROFILENAME_install() {
  user_save(user_load(1), array('data' =&gt; array('overlay' =&gt; 0)));
}
?&gt;


Of course you need to replace 'PROFILENAME' with the name of your install profile or the name of your feature.