Thanks for your help. I disabled windows update service. Hope restarts won't happen again.