Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch running in background  (Read 2531 times)

0 Members and 1 Guest are viewing this topic.

hemirosani

  • Guest
Batch running in background
« on: August 02, 2007, 03:35:28 AM »
Hello,

I have a java programm running from 'planned tasks' on system start, using a user with administrator rights on XP.
This java programm starts at a given time a msdos batch file which runs - let's say -  a logoff command.
If i'm logged on with the same user as the java program runs under, every thing works as expected. The user is logged off.  :)
If another user is logged in, the batch file seems to run normally, but nothing happens!! No logoff or anything else!!!!  >:(

What am i doing wrong????

Thanks for help...

unlovedwarrior



    Guru

  • someday this name will be known
  • Thanked: 13
    Re: Batch running in background
    « Reply #1 on: August 02, 2007, 08:13:43 AM »
    ummm is the other person using the same account or a different one. if different the program might need to be on both accounts.

    Zylstra

    • Moderator


    • Hacker

    • The Techinator!
    • Thanked: 45
      • Yes
      • Technology News and Information
    • Certifications: List
    • Computer: Specs
    • Experience: Guru
    • OS: Windows 7
    Re: Batch running in background
    « Reply #2 on: August 02, 2007, 03:10:52 PM »
    Perhaps you should tell us the exact goal of the script, and post part of it

    It could be that the program that the batch file executes is in use by another user.
    Can the program be used by more than one user at once?