I'm trying to make a batch file to edit a local security policy on XP Pro Machines. Basically what I want to do is edit the run as service policy and add one user to it. so maybe if there is a command that would look something like this
ntsecurity set SeRunAsServiceRight /add Domain\Username
Otherwise if that's not possible, can I edit the registry to do something like that. Like add a Registry entry like
HKEY_LOCAL_MACHINE\Software\Test "TestValue"="domain\username"
Any help would be amazing.

Help


Back to top









