how to stop software center centre restarting your computer windows

I need to work on it, as do you if you’re here. Do this;
Go to system services (Start > Run > services.msc)
Find the service named “SMS Agent Host”.
Right click that, click stop.

Source: http://team-ryan.com/postpone-forced-software-center-reboot-sccm-2012/

After stopping the service remember to run the following command from the cmd:

shutdown /a