logon as service from command prompt?

R

Robin

W2K

Is there any way to set a user to "logon as service" using the command line.

Thanks

Rob
 
D

Drew Cooper [MSFT]

You can run a service that interacts with the user's desktop. The "at"
command and tools like psexec from sysinternals do this. The user will need
the appropriate privileges to use those tools, of course (otherwise it's
probably a "shatter" attack - escalation of privileges).
 
R

Robin

Drew said:
You can run a service that interacts with the user's desktop. The "at"
command and tools like psexec from sysinternals do this. The user will
need the appropriate privileges to use those tools, of course (otherwise
it's probably a "shatter" attack - escalation of privileges).


Sorry, must have confused you..

what I mean is, I want to modify the local security policy so that a user
is added to the (local policies)(User Rights Assognment) (log on as
service) setting

Cheers

Rob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top