![]() |
psexec via Hudson |
Post Reply
|
| Author | |
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Topic: psexec via HudsonPosted: 04 November 2009 at 11:02am |
|
The -i param may be relevant, in the event you wish CMD.EXE to appear on the remote system rather than the local. Is that truly the case?
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
Mikael
Newbie
Joined: 02 November 2009 Online Status: Offline Posts: 4 |
Post Options
Quote Reply
Posted: 04 November 2009 at 8:20am |
|
Hi Molotov and thanks for these reply
I finally found, the good line was PSexec -i \\myIP -u myUser -p myPassword -w myFolder cmd.exe Thanks for your help |
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 04 November 2009 at 4:16am |
|
Perhaps, try:
PSexec -accepteula \\myIP -u myUser -p myPassword -w myFolder cmd.exe |
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
Mikael
Newbie
Joined: 02 November 2009 Online Status: Offline Posts: 4 |
Post Options
Quote Reply
Posted: 03 November 2009 at 12:25pm |
|
Hi Molotov and thanks for your reply
I've tried to include /accepteula but it doesn't seem to work. My prompt line lokks like as follow now : PSexec \\myIP /accepteula -u myUser -p myPassword -w myFolder test.bat |
|
![]() |
|
molotov
Moderator Group
Joined: 04 October 2006 Online Status: Offline Posts: 17492 |
Post Options
Quote Reply
Posted: 03 November 2009 at 11:56am |
|
Hi Mikael,
Try including /accepteula on your psexec command-line.
|
|
|
Daily affirmation:
net helpmsg 4006 |
|
![]() |
|
Mikael
Newbie
Joined: 02 November 2009 Online Status: Offline Posts: 4 |
Post Options
Quote Reply
Posted: 03 November 2009 at 11:23am |
|
OK, I finally found
By default the hudson launch processes with the System account. Of course, this account isn't allowed to acces through the network. I still have a little problem : my process is launched but never ends. I got the following trace [exec] |
|
![]() |
|
Mikael
Newbie
Joined: 02 November 2009 Online Status: Offline Posts: 4 |
Post Options
Quote Reply
Posted: 02 November 2009 at 3:56pm |
|
Hello,
I try to use psexec via nant scripts and I got some troubles : My nant script calls a C# exe which contains the following : "C:\WINDOWS\system32\CMD.exe" /C PSexec \\myIP -u myLogin -p myPassword Ipconfig When I try to call my nant file in a shell this works perfectly But when i try to call this sale nant file via hudson I get an error like "Unable to connect to the remote server" Any idea? |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |