|
Posted by Thomas Kratz on April 3, 2006, 11:59 am
Please log in for more thread options Paul Adare wrote:
> microsoft.public.windows.server.security news group, Thomas Kratz
>
>
>>I am unsuccessfully trying to start/stop a service from the task scheduler
>>under a "normal" user account (the same domain user account the service
>>runs as).
>>
>>Generally, I seem to have setup things correctly, as starting a command
>>shell as the user and issuing a "net start <service>" works as expected.
>>
>
>
> The net.exe command invokes the command prompt when called. In Windows
> Server 2003, the command prompt, cmd.exe, has been locked down.he
> special group Interactive has permissions on cmd.exe which explains why
> you are able to do this while logged on as the user in question. You'll
> need to grant the user, or a group the user belongs to Read, Read and
> Execute permissions on cmd.exe.
>
Been there, done that :-) I have granted the needed rights to the special
group BATCH.
cmd.exe is invoked correctly and I get the access denied error message
from net.exe itself.
I checked it with "net stop w32time" as the same user which correctly gives:
System error 5 has occurred.
Access is denied.
Thomas
|