Revoking View Service Details Permissions

This script revokes the "View Service Details" permissions given to the "Everyone" group. These permissions include viewing the service status, service startuptype, security on service, and so on.

By default, Windows grants "View Service Details" to the "Everyone" group. Note that this sample does not modify the access permissions of Administrators, Power Users, Server Operators, or other trustees to whom you might have granted permissions. This script should be run through the VB debugger. The results will be printed in the debug window.

image\hdisk.gif ...VB\Security\Services\RemoveViewServiceForAll\