Operating System - HP-UX
1832997 Members
2387 Online
110048 Solutions
New Discussion

Re: Executing windows NT based programs from HP-UX server

 
SOLVED
Go to solution
Bala_4
Occasional Advisor

Executing windows NT based programs from HP-UX server

Hi All

I would like to execute some windows NT based programs from my unix server. Is there any emulation software available ?
i.e I would like to login into my windows NT machine from my unix server and execute some programs on NT and come back to unix server. I would like to do this using unix shell script.

Any help is greatly appreciated.

Thanks

Bala

10 REPLIES 10
Nico van Royen
Frequent Advisor
Solution

Re: Executing windows NT based programs from HP-UX server

For HP-UX .. nops.. sorry.. if you happen to have a linux server in that case your only hope is VMWare (Virtual Machines) ... this is not exactly want you want, but as close you you can get. (see http://www.vmware.com)
If all else fails, try reading the manual...
A. Clay Stephenson
Acclaimed Contributor

Re: Executing windows NT based programs from HP-UX server

Hi,

I don't think there is an emulation package that will do this. At one time, Insignia Solutions marketed a product called 'SoftWindows' which emulated a Windows 3.X environment and was available for HP-UX. The closest I can think of now is a separate NT box running Citrix WinFrame with an HP-UX client.

Clay
If it ain't broke, I can fix that.
linuxfan
Honored Contributor

Re: Executing windows NT based programs from HP-UX server

Hi Bala,

I don't think what you are attempting to do is possible. Not sure what kind of scripts/programs do you want to run in windows but is it something that you can schedule it like cron using "Task Scheduler" in NT/2000?

One other option is to set up a terminal server and run a citrix client on HP.

Another option is get the VNC (FREE) http://www.tridiavnc.com ) and you can export your windows display to your hp server.

Another option is to use linux and use vmware ($$$) or wine (FREE). Again depends on your task.

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Jim Turner
HPE Pro

Re: Executing windows NT based programs from HP-UX server

Bala,

If I understand correctly, you want to run NT commands on an NT machine by issuing those commands from a UNIX box. I think you can get there with a combination of a telnet server on your NT box and an expect script on your UNIX box.

It seems like there was an NT telnet server that came with either Microsoft's Personal Web Server (PWS) or on the NT40 reskit CD. You can download expect (source or binaries) for your HP-UX box at
http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.31/

Cheers,
Jim
linuxfan
Honored Contributor

Re: Executing windows NT based programs from HP-UX server

Hi Bala,

Jim brought up an interesting point as well. If you have the telnet server on the NT box, this simple script would do the job as well

/Begin/
( sleep 2
echo userid
sleep 2
echo 'password'
sleep 5
echo ls
sleep 5
echo exit ) | telnet hostname

/End/

here hostname is the hostname of the NT machine, password is in single quotes and in the example "ls" is the command being run, in your case it could be the script you want to run.

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Nicholas Cross
New Member

Re: Executing windows NT based programs from HP-UX server

You need Remote Shell running on the Windows NT box (called RshSvc on the NT4 ResKit).

Once that's setup you can use rshell on the *nix box to login and run NT commands from the command prompt.

I use it for sending 'net send's to people in our support team for OV NNM (on Solaris) alerts. It's not the best but it's free-ish.
*NIX is user friendly, It's just selective on who it's friends with!
Volker Borowski
Honored Contributor

Re: Executing windows NT based programs from HP-UX server

Hi Bala,

for standard NT there is not much!
Some 3rdparty telnet-deamons exist for NT, but NT Software requiring no graphics is rare.

An Option might be to Install a MS-Terminal-Server with cytrix-Metaframe. This works like the other way round compared to a product like Reflection X / Exceed ....

http://www.citrix.com/products

Do not know if this helps.
Volker
Sridhar Bhaskarla
Honored Contributor

Re: Executing windows NT based programs from HP-UX server

Bala,

As pointed out by Nick, you can use emulation softwares on NT to run commands from unix. I have hummingbird Exceed installed on my NT box and I can do rcp and ftp to my NT box. You can also install telnet server on your NT. Once the telnet server is there, you can write non-interactive programs like mentioned by Ramesh from the unix box. There are also some softwares like MKSToolkit etc that can give access to NT system in Unix fashion.

There is a possibility. You need to explore.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill McNAMARA_1
Honored Contributor

Re: Executing windows NT based programs from HP-UX server

Try http://www.uk.research.att.com/vnc/

Later,
Bill
It works for me (tm)
Bala_4
Occasional Advisor

Re: Executing windows NT based programs from HP-UX server

Hey all

Thanks for the excellent Responses. Appreciate ur good tinkers.

Thanks again

Bala