I have a windows service, running under system, that is using paexec to execute commands on a remote server. This works for most of our servers but with some we get an access denied error message unless we use windows impersonation to execute the paexec command, so it doesn't run under system. Anybody have any ideas why this is or does something need to be configured on the remote server to allow these calls.

PAExec v1.21 - Execute Programs Remotely Copyright (c) 2012-2013 Power Admin LLC www.poweradmin.com/PAExec

Connecting to noddy... Starting PAExec service on noddy... Failed to connect to Service Control Manager on noddy. Access is denied. [Err=0x5, 5]

PAExec returning exit code -6

asked 02 Oct '13, 14:22

cwsunderland's gravatar image

cwsunderland
111
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×52
×15
×8
×4

Asked: 02 Oct '13, 14:22

Seen: 2,764 times

Last updated: 02 Oct '13, 14:22