Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 2000 Permissions Problem???

Status
Not open for further replies.

TheVMan

IS-IT--Management
Feb 19, 2001
110
US
Also posted in Windows 2000 Server Forum...


I am having a problem with a batch process running on a Windows 2000 box, and I believe it is caused by a permissions setting somewhere in Win2K. The process is a VBScript file that spawns multiple processes, using WScript.Run(). The spawned process then creates an object and does work. I have set up the process through NT's at command to run each day in the morning. I have found that when I leave the user that the scheduled task runs as logged into the box, it runs flawlessly. However, if I log out of the box and let the process run, only the first two processes run to completion. All others (I have varied this number) fail to create the object (its a Business Objects object) reporting a 429 Error - ActiveX component can't create object. I have ruled out the possibility of a Business Objects error, as the ONLY difference between when it runs flawlessly and when if fails is that the user that the scheduled task runs as is logged out of the console when it fails. I have combed the BO docs looking for some setting and have found nothing. I have also pinged all the BO support forums looking for anything similar and have found nothing. This leads me to believe that it is more the OS and security permissions than the BO product. As I am nowhere near a win2K guru, I am hoping that someone has seen this type of behavior trying to create multiple instances of other proprietary objects and perhaps a workaround or a solution. Leaving the user logged in on the console is not an option here, so I need a fix. Any help, guidance, or insight you may provide will be useful. Thanks for your time on this one!
 
Just to clarify VMan - When you set the batch process up to run through Scheduler - Did you set the "Run as:" and "Password" properties with an available User Account ?

Scheduler as the host should start the batch job and look after the permissions. It does not Log the computer / leave the computer logged in as the assigned account but rather assigns the user account as responsible for looking after the running process.
 
Yes, I am using Run as with a domain account is also a local admin on the server. It's just really weird that it runs while logged into the console, but not while I'm logged out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top