Windows. How do I disable users from modifying system services?

Source: Internet
Author: User
Tags net send

Source Address: http://community.csdn.net/Expert/topic/4933/4933221.xml? Temp =. 2227899.

Question:
I only want Members of the Administrator group to have the permission to start or stop the service (including pausing the service)

Answer:
Expand your registry. The service is usually located in the following three locations. Since you manually add the service, you should be clear about its location.
HKEY_LOCAL_MACHINE/system/CurrentControlSet/services

HKEY_LOCAL_MACHINE/system/controlset001/services

HKEY_LOCAL_MACHINE/system/controlset002/services

Expand and find the new one: item: Right-click the property permission to add a non-Admin System account, such as user1; user3. set their permissions to deny!

Tested:
Disable firewall in Environment XP SP2! Modify system service name: Messenger
First, set the system service to start: Manual
Send a message to the local device: net send 192.168.1.3 msg
Sent locally
Received locally

Modify registry
HKEY_LOCAL_MACHINE/system/CurrentControlSet/services
Set the sub-item "messnger" to administrator "Disable" full control
Send a message to the local device: net send 192.168.1.3 msg
Sent locally
Received locally

If you double-click the "messenger" service in services. MSC, the system prompts:
Configuration Manager: A required entry in the registry is lost or an attempt to write data to the Registry fails --> OK
Access denied --> OK

The above strength proves that the Administrator has no right to control the service, but the service can still provide services for the system and is still applied by the Administrator account!
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.