• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1330
  • Last Modified:

SC Command to stop and start service

I need to stop and start a service on a remote vista computer from my xp computer.

They are both on the domain and I am using an account that is in the administrators group on both computers.

When I run this " c:\>sc \\computername stop mcafeeframework " from the XP computer command prompt
to the vista computer, I get this error.

[SC] OpenService FAILED 5:

Access is denied.

0
CMILLER
Asked:
CMILLER
  • 2
1 Solution
 
EnriquePhoenixCommented:
The only way I can get this to work is to change the settings on the client.
Access Protection > Unelected "Prevent McAfee service from being stopped" with this selected you can then use your CMD. This can also be done in the ePolicy server for that specific machine. Maybe there is a way to turn off that setting off remotely but I doubt it since it would be a security risk.
0
 
EnriquePhoenixCommented:
To turn off this setting you will need to with the VirusScan Console on your PC and the administrator password. You should be able to Remote Console (Tools > Open Remote Console) into the remote PC and make the appropriate changes.
0
 
CMILLERAuthor Commented:

Yes, that was it.

Thanks.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now