Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Using sc.exe to remotely restart services

Posted on 2010-01-11
3
Medium Priority
?
912 Views
Last Modified: 2013-12-04
Good morning, experts!

I am looking for a way for a non-admin to remotely restart a certain service.

I have done research on sc.exe and am pretty sure I have allowed a security group permissions to restart this service, yet I am still getting "[SC] OpenSCManager FAILED 5" when I attempt to run the following command from the non-admin account:

sc \\10.10.10.10 stop service_name

Thoughts?
0
Comment
Question by:Rogiee
3 Comments
 
LVL 13

Expert Comment

by:jaynir
ID: 26284139
0
 
LVL 86

Accepted Solution

by:
oBdA earned 2000 total points
ID: 26284418
Since SP1, users aren't allowed remote access to the Service Control Manager itself.
You'll need to change the permissions for the SCM on the machine that is running this service:
Non-administrators cannot remotely access the Service Control Manager after you install Windows Server 2003 Service Pack 1
http://support.microsoft.com/kb/907460
0
 
LVL 10

Author Closing Comment

by:Rogiee
ID: 31675521
Perfect!  Thank you very much!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question