OK guys, I know that this can be done, but I am having a moment right now. How do I stop a service. We want to make sure that all of our machines re-authenticate to the WSUS server every time they login, just to make sure that nothing gets missed. here is what I have:

If Exist ("%wiwndir%\system32\pskill.exe")
Display ("File Exists")
Else Copy @ldrive+\files\pskill.exe ("%windir%\system32")
;
Run ("%windir%\system32\pskill.exe wauclt")
Sleep 6
net stop "Automatic Updates"
Net Start "Automatic Updates"
Run ("%windir%\system32\wuauclt.exe /resetauthorization /detectnow")

I am having two problems with this code, first, if the wuault program is not running, I get an error, any thoughts on how to just allow it to continue without a response from me? Also, how do I stop then start the WSUS service ("Automatic Updates"). I know that they net stop and net srart work from a batch file, but I dont want to do it that way.

thanks much

app