![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? Hi blah, Quote: > I know that this is happening when the user logs out, but > it's happening intermittently. I'm wondering if anyone else > has experienced the same issue? scheduled tasks. Here's my thread: [Scheduled script prematurely exits with [PipelineStoppedException]] http://groups.google.de/group/micros...2e193490594ea7 cu Max |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? On Tue, 11 Mar 2008 Maximilian Hänel <ngSpam@xxxxxx> wrote: Quote: > Hi blah, > Quote: >> I know that this is happening when the user logs out, but >> it's happening intermittently. I'm wondering if anyone else >> has experienced the same issue? > Yes! And this is the reason why I actually dont't use powershell in > scheduled tasks. Here's my thread: > > [Scheduled script prematurely exits with [PipelineStoppedException]] > http://groups.google.de/group/micros...2e193490594ea7 > I now think that this is an issue with the VMware. Out administrator is using the vmware console whereas everyone else is using remote desktop without the same issue. I think we will need to log a support call with VMware. -- http://www.krustybrandinternet.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? On Tue, 11 Mar 2008 blah <nospam@xxxxxx> wrote: Quote: > On Tue, 11 Mar 2008 Maximilian Hänel <ngSpam@xxxxxx> wrote: Quote: >> Hi blah, >> Quote: >>> I know that this is happening when the user logs out, but >>> it's happening intermittently. I'm wondering if anyone else >>> has experienced the same issue? >> Yes! And this is the reason why I actually dont't use powershell in >> scheduled tasks. Here's my thread: >> >> [Scheduled script prematurely exits with [PipelineStoppedException]] >> http://groups.google.de/group/micros...2e193490594ea7 >> > > I now think that this is an issue with the VMware <snip> We've run a few further tests. It seems that the powershell scripts stop when using remote desktop "console" (eg Start > Run "mstsc /v:machinename /console") (or VMware remote console) It seems that after logging in using the console option, rather than the default terminal is causing the powershell scripts to terminate on logout. -- http://www.krustybrandinternet.com |
My System Specs![]() |
| | #4 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? Hi blah, Quote: > I now think that this is an issue with the VMware. Out > administrator is using the vmware console whereas everyone else > is using remote desktop without the same issue. I think > we will need to log a support call with VMware. problem on "real" machines by using either remote desktop or "direct" login, too. If someone else want to reproduce the bug, here are some instructions: http://groups.google.de/group/micros...ded6182e329a9a cu Max |
My System Specs![]() |
| | #5 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? blah wrote: Quote: > We've run a few further tests. It seems that the powershell scripts stop > when using remote desktop "console" > (eg Start > Run "mstsc /v:machinename /console") > (or VMware remote console) > It seems that after logging in using the console option, rather than the > default terminal is causing the powershell scripts to terminate on logout. session and all processes started during it. Ending an RDP session just disconnects, and the session stays open unless your group policy settings cause it to do otherwise. If you intend for a task to stay running independent of a user's session then you really need to run it as a scheduled task or a service. Alternately you can use WMI to start a process remotely, that should also work. None of this has anything to do with VMware, PowerShell, or Websphere, this is strictly Windows stuff. -- Hal Rottenberg Blog: http://halr9000.com Webmaster, Psi (http://psi-im.org) Co-host, PowerScripting Podcast (http://powerscripting.net) |
My System Specs![]() |
| | #6 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? Hi Hal, Quote: > If you intend for a task to stay running independent of a user's session > then you really need to run it as a scheduled task or a service. [Scheduled script prematurely exits with [PipelineStoppedException]] http://groups.google.de/group/micros...2e193490594ea7 The script stops even if it runs on a ***different*** user account!! cu Max |
My System Specs![]() |
| | #7 (permalink) |
| | Re: VMware remote console causing powershell scripts to terminate? On Tue, 11 Mar 2008 Maximilian Hänel <ngSpam@xxxxxx> wrote: Quote: > Hi Hal, > Quote: >> If you intend for a task to stay running independent of a user's session >> then you really need to run it as a scheduled task or a service. > Please read this thread: > > [Scheduled script prematurely exits with [PipelineStoppedException]] > http://groups.google.de/group/micros...2e193490594ea7 > > The script stops even if it runs on a ***different*** user account!! > The script is running, called by Websphere MQ (which runs as a service, under a local user). The scripts do not run as a service. Administrator(not me) logs in using remote desktop console Administrator logs out of remote desktop console Scripts stop. The problem is that there's a third party application running and the administrator needs to log in using remote desktop console. I log in using the default remote desktop terminal. But I haven't found any description of this problem on any other forum (except max's link). I would assume that people's powershell scripts would be failing everywhere because of this problem? -- http://www.krustybrandinternet.com |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| run .cmd scripts on remote machine (automating the MOSS install via scripts) | PowerShell | |||
| In Powershell execute scripts on many remote machines ,Monitor and report back | General Discussion | |||
| Re: VMWare scripts | VB Script | |||
| Powershell scripts not working with Vista powershell | PowerShell | |||
| Powershell does not terminate when started VBSCRIPT | PowerShell | |||