suhas-mahajan
7th April 2003, 08:18
Dear All,
Is there any way to run/execute BSHCMD from client?
-Suhas
OmeLuuk
7th April 2003, 11:06
UX: telnet to the server and perform it there ...
Win: Use some kind of desktop sharing tool (better not use terminal services...) to take over the console of the server (NETSupport, PCDuo, ICA client, VNC, PCAnywhere) and run it there...
suhas-mahajan
7th April 2003, 15:01
Dear Omeluuk,
I want don't want to install third party tool on my live server. Is there any way like licmon from Batch?
-Suhas
OmeLuuk
8th April 2003, 11:38
You already have third party software...
You run MS, Oracle, Baan, ...
You can try to use the MS terminal server software, but my experience is that some of the portingset commands cannot run correctly in the terminal server window correctly.
suhas-mahajan
8th April 2003, 13:36
Dear Sir,
I want to use it in batch script, like licmon -
@echo off
Set BSE=\\Baanserver\Disk_f\Baan
\\baanserver\Disk_f\Baan\bin\licmon.exe
and
@echo off
licmon.exe -h baanserver -w
-Suhas
victor_cleto
8th April 2003, 17:40
You can have your licmon.exe copied to your client side and then use a connection parameter to the server BUT bshcmd needs to be run locally on the server side.
OmeLuuk
9th April 2003, 13:05
You need the PID of the ntbshell process on the Baan server, not on the local server. bshcmd has no argument to go to another server (like licmon has because it is valid to use a licence of another server).
suhas-mahajan
11th April 2003, 09:00
Dear Sir,
I am making a good utility, but I think that will not get successfully complete because of same issue.
Can you tell me, Can BaaN help me in this matter? (Sorry irrelevent question)
-Suhas
OmeLuuk
11th April 2003, 10:25
irrelevant answer: Log a case to get technical assistance, they might be willing to help you.
reason: I am not from Baan, I am from Profuse.
suhas-mahajan
31st May 2003, 08:47
Hi All,
I am still not forget it. The reason for reopening the old post is expecting F1 from you. I did some workaround but not succeed. Just think, If we map the servers drive here, it should work, because I am working indirectly on server. But I am getting attached error. What is the meaning of this error? Why it is not working?
-Suhas
pedromrs
31st May 2003, 13:02
Hi Suhas,
I have come up with this problem before.
I think the reason it doesn't work remotely, at least in Windows NT machines, it's because bshcmd uses the local Windows Process ID list for the commands. So, for example, when you try to kill a bshell in a remote server it will look in the local process list, instead of remote, and only if you by any change have the same PID in the remote and local machine it will work (killing the wrong shell); otherwise it will give the attached error (couldn't find the requested PID).
OmeLuuk and Victor have answered this in the early replies.
Hope that helps,
suhas-mahajan
9th July 2003, 02:20
Hi All,
Yeah, lastly I got it!!! I used psexec.exe with BSHCMD for executing process remotely, which is downloaded from :
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
Very important utilities for M$ peoples. Now I am making utilities for -
a. Password Aging.
b. Sending mail while 81 category event occur.
c. Killing crazy (hanged) users.
Thanks All.
-Suhas
OmeLuuk
9th July 2003, 09:18
suhas-mahajan: I want don't want to install third party tool on my live server. Is there any way like licmon from Batch?sigh...