Beasleytech
asked on
Can't get SC command to work due to RPC error
I have a Server 2003 domain setup at a school. We recently purchased a new antivirus that cme with a network command to distribute it to the domain. My issue is that i need to uninstall the old antivirus from the entire school with a batch file. I have instructions on how to do the uninstall through batch, but i cannot seem to get the SC command to work. When i try to use it it reads me off the RPC server is unavailable error. I have file sharing enabled and have tried it without having the windows antivirus but it is no avail. Need all the help i can get guys and thanks.
ASKER
I have tried it with the firewall disabled and i have verified that the RPC service is running.
ASKER
and no, im at the machine, but i want to be able to do this with a batch logon script.
What command is it that you're trying to run?
ASKER
Im trying to make a bat file that will change a service from automatic to manual. I want to use a bat file so that i can run it as a script over the network. I have SC working if i type in the name of a computer, but i need it to work on all of them.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
UGH!!! man i can't beleive i din't think of that. It fixed it and thanks a million man.
are you trying to stop the antivirus service remotely?