Solved

S - Word does not open so I can see the WIndow

Posted on 2008-10-27
6
366 Views
Last Modified: 2013-12-06
Hi,

So I am executing a runrmtcmd from a iSeries terminal emulation screen to a window server running Microsoft Windows 2003 Server running Office 2003.  When I check off the command to kick off a word document, it does not open word on the server (if I am waiting the server via VNC).  

When I do this to a Windows 2000 Server running Office 97, it does popup.  Any ideas ?

Thanks,
VSACIT
0
Comment
Question by:VSACIT
  • 3
  • 3
6 Comments
 
LVL 34

Expert Comment

by:Gary Patterson
ID: 22816470
Configure the service to allow it to interact with the desktop.

Control panel - Administrative Tools - Services - Log On tab - Allow Service to interact with desktop.  

It is probably opening a hidden window that belongs to the service, so the Word window is not visible to your interactive session.  You can test this theory by opening Task Manager, displaying tasks for All Users, and seeing if there is a instance of Word open under the appropriate user associated with the Remote Command service.

You will also need to configure the Incoming Remote Command service to run under the profile of the logged-on users.  If multiple users are connected to the terminal server, you may get unpredictable results.

If you want to duplicate as closely as possible the old functionality, check out all of the configuration options for both the service and the Incoming Remote Command configuration in Client Access Administration.

It isn't recommended to run in this configuration on a server (run as logged-on user + allow servcie to interact with t desktop), since it is possible that multiple users will be logged on at once (or none).  You would normally use this feature only on a workstations, since Windows limits workstation OS's to a single concurrent logon.

- Gary Patterson
0
 

Author Comment

by:VSACIT
ID: 22820280
The IRC service is already set to Allow service to interact with the desktop.   Nope, WinWord.exe shows up by itself in task manager, like it normally would if it opened on the screen.  

My eyes have been cracking from the 6 hours I spent yesterday duplicating the settings as much between the old server and the new one.  :0)  I am the only one who logs into this server, so I am not worried about multiple people attempting to login to this server.  

Agreed, it should only be done on workstations, but these are the cards I have been dealt....

0
 
LVL 34

Expert Comment

by:Gary Patterson
ID: 22823446
Do you actually need the document to pop on the screen, or are you performing a function (like running a macro or printing) that can be done in a non-visible window?

What account is the Remote Command service running under?  If it isn't running under the Local System account, try changing to the Local system acct and restarting the service.

- Gary
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:VSACIT
ID: 22831143
we need them to pop open so we can see errors if they come up (like fields having too much data, ODBC error, etc.).

It has been tried as Local System, domain admin, and same ID as the ID actually logged into Windows.  Same behavior for all three.
0
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 22835252
I have seen the behavior that you describe fairly recently at a client site, but since the application didn't need to interact with the user, it was no problem.  They are no longer running the application in question, since we retired that particular set of applications (and everything else that depended on IRC).

We don't generally use nor recommend IRC due to security concerns, so when I have to do this particular sort of job, I often use a client/server data queue application.  You might find that to be a nice solid solution (and pretty fast and easy to implement) in this case.

For example, one client had a green-screen application that need to open a PDF for the user to view on the workstation.  We just wrote a simple little data queue application.  On the AS400, the application pushes the name of the document to open onto a data queue (QSNDDTAQ API), and on the workstation, we created a little program that runs in the system tray at session start-up that watches the AS/400 data queue and then opens the document.  Works like a champ, and can be adapted to just about any purpose.  Plus it doesn't create the exposure that the IRC service does, since the receiving application can filter the incoming requests any way it like to keep random commands from being executed.

Don't see your OS version, but here is a link to the V5R4 iSeries Access Programming section of the Information Center.  You'll find links and examples there in a number of common PC programming languages.  If you can't find a data queue example in your programming language of choice, post back and I'll see if I can help you find one:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaik/rzaikoledbprovider.htm

- Gary Patterson  
0
 

Author Closing Comment

by:VSACIT
ID: 31510492
Thanks for your help...
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now