Solved

Scheduled Task for 2003 - Peachtree API

Posted on 2010-11-14
5
879 Views
Last Modified: 2013-11-15
Hi,
We are trying to schedule a VBScript that uses an API for the Peachtree Accounting 2011 application on our server.  The API actually lauches the GUI of the application and this works fine if an RDC account (associated wit the task) is logged on.  Otherwise it does not.

Is there a way to schedule a task on Windows 2003 to overcome this issue and force a "silent mode"?  I guess we can always have an RDC account logged in?  Is there a method to use in the Peachtree API to force Silent Mode?

Thanks,
hefterr
0
Comment
Question by:hefterr
[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
  • 4
5 Comments
 
LVL 8

Expert Comment

by:PenguinN
ID: 34132149
Have you checked to ensure that the account is running the task is granted the right to "Log on as a batch job"
You can find it in Local Security Policy\Local Policies\User Rights Assignments\Log on as a batch job
0
 
LVL 1

Author Comment

by:hefterr
ID: 34136180
Hi PenguinN,
Thanks for the answer.  But I think it's a Peachtree issue.  The user has administrator rights.  The job is beining initiated and is communicating with Peachtree - but just hangs at the "opencompanysecure" com method when the user associated with the scheduled task is not logged in.  I think this is somewhat based on the fact that Peachtree always open the graphic interface and the API does not provide a "silent mode".  The openning of the graphic interface without a user seems to hang the application.

I think I will need to have a permanently logged in "peachtreebatch" user for this process.

Any thoughts?

Thanks,
hefterr
0
 
LVL 1

Author Comment

by:hefterr
ID: 34136203
>>>You can find it in Local Security Policy\Local Policies\User Rights Assignments\Log on as a batch job


The user is in the list also.

0
 
LVL 1

Accepted Solution

by:
hefterr earned 0 total points
ID: 34169852
I contacted Peachtree and the application must run in the current release when interfacing with the COM API.

It is not a Windows issue.

hefterr
0
 
LVL 1

Author Closing Comment

by:hefterr
ID: 34195154
This was not a Windows issue.  The question should be withdrawn.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
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 …

697 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