The question now is what did you do that changed the default NoActiveDesktop binary data.It wouldn't have changed values by itself.

Its good that you found a fix,but its even better if you can work out why the problem arose in the first place.