QuickBooks – How to Run an Integrated Program as a Scheduled Task When No One Logged In

Quick Answer:

Don’t!

Figure out a way to stay logged instead. You can leave yourself or some other user logged in at the console, or you can even log in under terminal services but just don’t log out. (Closing terminal services is ok.)

What if the computer automatically logs you out after a set period of inactivity? See this post which does work in windows XP as well.

Sorry this is sucky from a security perspective but here’s why you have to do it:
The long answer:

A piece of QuickBooks documentation found in: C:\Program Files\Intuit\QBSDK5.0\tools\access\DCOM-SDKTest\readme.doc

Says:

5. The one issue which is not taken care of in this DCOM_SDKTest program is to be able to communicate with QB when there is not anyone logged into the QuickBooks WinNT/2000/XP computer. (This is not an issue when doing DCOM to a QB computer running Win98/ME.) The qbXMLRPe will not work because it runs as “Interactive User” since there is no interactive user when noone is logged into the computer. To get around this problem, create a second wrapper. Set up the second wrapper to RunAs “Launching User”. The second wrapper must be setup with permissions in dcomcnfg. Then in the program, if you receive the error that you cannot create the instance of qbXMLRPe, then try to create the instance of the second wrapper and use that second wrapper in the calls in your code.

Of course, if anyone knows how to create a “second wrapper” as it suggests please enlighten me!

Here are the searches I did:

  1. “The server process could not be started because the configured identity is incorrect. Check the username and password.” # on Google
  2. configured identity # on QuickBooks forum

[tags]QuickBooks,scheduled tasks,QuickBooks integration,dcom[/tags]

Comments are closed.