?
Solved

Using sc.exe to remotely restart services

Posted on 2010-01-11
3
Medium Priority
?
904 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Expert Comment

by:jaynir
ID: 26284139
0
 
LVL 85

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Here's a look at newsworthy articles and community happenings during the last month.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses
Course of the Month9 days, 6 hours left to enroll

764 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