Backend menu sidebar collapsed by default every time? [duplicate]

The following works with a regular site. I have’t worked with multisite yet, but I imagine it should be something along the same line:

function change_user_settings() {
    set_user_setting('mfold', 'f'); //Missing "t" typo caused fatal error
}

add_action('admin_init', 'change_user_settings');