I am trying to set up an action in PA Server Monitor Ultra to restart the Outlook client when the monitor detects it isn't running. At the moment, although the monitor recognises when Outlook is stopped and it does successfully restart the application, it is restarted as if for a different user.

I have double checked and the monitor service is definitely running as exactly the same domain user as the console session. When I start Task Manager I can see Outlook as long as I have 'show processes for all users' ticked, but on the Users tab there is only 1 user showing.

I'm either missing something really obvious or there is a bit of a glitch. Can anybody help?

Thanks

Ian

asked 09 Oct '12, 08:25

Ian%20Homewood's gravatar image

Ian Homewood
10112
accept rate: 0%

edited 09 Oct '12, 08:27


You are discovering the Window sessions, also known as WinStations. Basically, even though you've got PA Server Monitor running as the same account, it's running as a service which means it's in a separate session.

I'd recommend having it launch PSExec or PAExec, and then having one of those apps launch Outlook with the -i flag -- that will force Outlook into the interactive session.

link

answered 09 Oct '12, 17:05

Doug's gravatar image

Doug ♦♦
10.2k122138
accept rate: 21%

Thanks Doug, I'll try that.

Ian

(10 Oct '12, 05:36) Ian Homewood
Your answer
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:

×1
×1
×1

Asked: 09 Oct '12, 08:25

Seen: 6,753 times

Last updated: 10 Oct '12, 15:41