Solved

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

Posted on 2008-10-27
6
394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 35

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 35

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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

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 35

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

623 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