My co-workers (IT Support) have to set up 40 new PCs for our company. I want to help them,so I’ve written a program which sets the PCs
I have a problem disabling the Windows services. When I do it via
sc config service start= disable
then it works on my machine.
But when I add these lines to my C++ program:
system("sc config Wlansvc start= disabled");
system("sc config bthserv start= disabled");
system("sc config Browser start= disabled");
system("sc config Fax start= disabled");
system("sc config HomeGroupProvider start= disabled");
system("sc config HomeGroupListener start= disabled");
Then it doesn’t work on a new machine.
Does anyone have an idea?
Aucun commentaire:
Enregistrer un commentaire