Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: winbatch tivoli
Sometimes the script doesn't work at all.
The script is started on a remote station with a local user that is local and domain admin. I know it's not a security problem but rather the script kind of hang during running. Sometimes the program starts but if i check into the taskman the program is there but nothing is executed (the changes on the remote pc are not done).
Again if the script is started manually on the remote pc everything works fine. It's only if i schedule it with tivoli that the problem appears.
Do you mean that the script is being launched by a program that is logged on as a service rather than as an interactive user?
There are several differences between how interactive applications run and how services run. For example, a service runs logged on as either the local system account [e.g. it can have access to the console windowstation & desktop, but it cannot have access to network resources] or as an actual user account[it has its own private windowstation & desktop, cannot access the console windowstation & desktop, and it does have access to network resources]. There may also be some other important differences, such as whether or not the HKCU registry hive is loaded.
Make sure you're not doing anything in your code that requires interaction or Sendkeys.
You say your Debugtrace file doesn't get generated. Maybe post the first few lines of your code instead.
You might want to re-think what it is that your script is supposed to be doing and determine if there is a way to achieve the same results w/o sending keystrokes. Use the Control Manager Extender (and Roboscripter) instead of Sendkeys.
Article ID: W15173
File Created: 2002:09:05:13:50:18
Last Updated: 2002:09:05:13:50:18