Setting Services Log On Permissions?

3 posts in this topic

MattNis 0

I need to change the "Log On" permissions of a bunch of services in Windows 2000 Services. I don't want to have to do it through the gui.

Is there a command line, registry, etc way of doing that?

It's kind of an urgent matter.

thanks in advance

[quote]I was busy waiting all night for the Columbus Day Bunny to come down my chimney and light fireworks in my pumpkin.There's so much wrong with that.Oh, I'm sorry, i forgot you were Jewish.[/quote]

Share this post

Link to post

Share on other sites

Bartokv 1

You may want to examine the "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID" registry hive. Each service executable name should be associated with a specific AppID (also listed within this hive). Under the corresponding AppID, you may specify "AccessPermission" or "LaunchPermission".

The only problem is that these values are recorded as binary strings, and I'm not sure how to de/en/code them. Also note that if the StringValue "RunAs" is set to "Interactive User", then the user that is currently logged in may kill the process via Task Manager.

Hope this helps.

Share this post

Link to post

Share on other sites

msb5150 0

I think i know what you mean by setting the 'log on' permissions for services. You mean setting them to start automatically, manually, or disable them. The reg file below works for xp, but should give you an idea on how to go about setting the services without a gui.

That is a registry file for all the winxp services, i don't have 2000 so i can not tell you if the registry locations are the same, but they very well may be, and if they are, then you are in luck...I knew making that file would come in handy someday.