Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-27
6
Medium Priority
?
402 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

705 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