Are you saying if you run the automator command and then delete the default user the sidebar will work? I have noticed in the automator script that it references the admin account and not the default account for El Capitan I changed this manually was this done for any particular reason?
Thanks