top and trunk will not open on 2006 BMW 650i

Every two months the top won't go up and the trunk will not open. The bmw dealer "reset" it once and it was fine. Now it is not.

Asked by for the 2006 BMW 650i
Is valet mode on? Try a battery power reset, remove the negative battery terminal for 10mins, refit, tighten and retest