The application uses both the local machine and the current user directories but that said we finally figured it out. Since administrator is always signed on so we ran the job as administrator and forced the current user key. Must be it only uses the current user directory when called remotely. Thankyou for all your help. Angela Wawrzaszek Programmer/Analyst awawrzaszek@xxxxxxxxxxxxxxx (315) 258-4205 -----Original Message----- From: CWilt@xxxxxxxxxxxx [mailto:CWilt@xxxxxxxxxxxx] Sent: Friday, October 15, 2004 1:43 PM To: midrange-l@xxxxxxxxxxxx Subject: RE: runrmtcmd and the registry Angela, I could be wrong. But I don't believe that the HKEY_Current_User should be used by anything but an interactive application as it refers to the Currently logged on user. Which explains why the job runs fine if the user is logged on. I'd put the registry info in another subtree, HKEY_Local_Machine perhaps? HTH, Charles > -----Original Message----- > From: Angela Wawrzaszek [mailto:awawrzaszek@xxxxxxxxxxxxxxx] > Sent: Friday, October 15, 2004 12:55 PM > To: Midrange Systems Technical Discussion > Subject: runrmtcmd and the registry > > > I wrote earlier with a problem running rmtcmd from the as/400 to a > windows 2003 server. I have made some progress. The 'old' > job on the > server works fine. I use a runrmtcmd from the as/400 to > execute a .exe > file on a server on our network. The application has been modified > to now use the registry keys for information. This seems to be the > problem. When this job runs from the as/400 it hangs up. > In a log we > produces it is when reading the HKEY_Current_user. There > are 3 fields > in there that it is not able to read, that the application > requires to > run. So the application is basically hung up waiting for user input. > HOWEVER I can log on to that machine as this rmtuser and then the > AS400 job DOES run fine. However we do not want the server to be > logged into as this user. The user does have administrative rights. > So is there shome mystery with registry keys and the as400? > > > > Any help would be great > > > > Angela Wawrzaszek > > Programmer/Analyst > > awawrzaszek@xxxxxxxxxxxxxxx > > (315) 258-4205 > > > > -- > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact