Re Windows tasks

Richard Kreiss rkreiss at verizon.net
Mon May 17 19:33:47 PDT 2010


John,

In my case, printwiz is on c:\wiondows\printwiz30. And the program is
running from local drive E.  There are other tasks running that complete the
function.

It is printwiz that is not executing.  I have set the  /L (logging) option
on the command line and will check to see what is happening or if printwiz
is actually running.

The way my program works, I do a chdir to each directory to run printwiz.  I
know this works.

I have suggested that my client create an admin login with minimal admin
rights so that the tasks will run properly.  They could use your suggestion.
I will pass it on to them.

Thanks for the idea.

Richard



> -----Original Message-----
> From: John Esak [mailto:john at valar.com]
> Sent: Monday, May 17, 2010 3:06 PM
> To: 'Richard Kreiss'; 'Nancy Palmquist'; filepro-list at lists.celestial.com
> Cc: 'FilePro Mailing List'
> Subject: RE: Re Windows tasks
> 
> This is going to be a really stupid... Or rather naïve suggestion.  But,
> based on what Nancy (and you) say that resources aren't available, drives
> aren't mapped, unless you're logged in... Etc.,  Why not try... For your
> cron'd (scheduled) task, build an RDP login to the IP of that server
(right
> from that server itself) and map the drives you need, whatever, and then
run
> *another* task with all the things you need to do as the e4xecutable
program
> for that RDP session.  You know, instead of taking them directly to a
> filePro menu or the more usual stuff, just run the little script you
really
> want to run in the first place.  Wouldn't you then be doing it as if you
had
> truly logged in with all that user's security and privileges?
> 
> John
> 
> By "build an RDP  login", obviously, I mean used mstsc to build the Remote
> Desktop login and fill in the username/password, resources and program to
> execute....
> 
> > -----Original Message-----
> > From: filepro-list-bounces+john=valar.com at lists.celestial.com
> > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
> m] On Behalf Of Richard Kreiss
> > Sent: Monday, May 17, 2010 1:34 PM
> > To: 'Nancy Palmquist'; filepro-list at lists.celestial.com
> > Subject: RE: Re Windows tasks
> >
> > >
> > > Richard,
> > >
> > > I have also had issues with tasks running on Win2003. When no one is
> > > logged in to the server, some resources are not available.
> > Drives are
> > > not mounted, security of various kinds have not been established.
> > >
> > > We have tasks running and thought we had them running
> > without a login
> > > active.  We installed a windows upgrade and rebooted and they all
> > > stopped.  I suspect someone was really logged in and the reboot
> > > disconnected them.
> > >
> > > All our tasks have a password and should run without the
> > login, but we
> > > can not find the reason either.  So we just leave an admin
> > user logged
> > > it.  It goes back to asking for the password if you open
> > the window, but
> > > the tasks run.
> > >
> > > I think it is a Win2003 server issue.  We use some of the
> > clients for
> > > tasks also, (winXP machines) and they work just fine.  Like
> > you say it
> > > is difficult to troubleshoot because if you test the script, you are
> > > logged in.  So it works.  Same problem we had when testing
> > this stuff.
> > >
> > > Good luck.  Just leave the login and move on.
> > >
> > > Nancy
> >
> > This is also a problem with Server 2008.
> >
> > Will suggest this to my client.
> >
> > Thanks,
> >
> > Richard
> >
> >
> >
> >
> >
> > >
> > >
> > >
> > > On 5/17/2010 12:09 PM, Richard Kreiss wrote:
> > > > I have addressed this Bob Rasmussen but would like to
> > know if anyone has
> > any
> > > > suggestions to my catch22.
> > > >
> > > > As previously posted, I have a task that runs at night
> > (windows server
> > 2003
> > > > or 2008).  As long as one is logged into the server, the task runs
> > properly
> > > > creating pdf files.  When no one is logged in to the
> > server, the task
> > runs,
> > > > txt files are created but printwiz does not run.
> > > >
> > > > The routine does a system call to run printwiz which in installed
> > > > c:\windows\printiz30.
> > > >
> > > > My catch22 is that I really have no way to see why this
> > is happening.
> > > >
> > > > Yes, the task runs as I have tested it on my system with
> > the routine
> > which
> > > > deletes the txt file an the end.
> > > >
> > > >
> > > >
> > > > Richard Kreiss
> > > > GCC Consulting
> > > > rkreiss at gccconsulting.net
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Filepro-list mailing list
> > > > Filepro-list at lists.celestial.com
> > > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> > > >
> > > >
> > >
> > > --
> > > Nancy Palmquist         MOS&  filePro Training Available
> > > Virtual Software Systems    Web Based Training and Consulting
> > > PHONE: (412) 835-9417           Web site:  http://www.vss3.com
> > >
> > > _______________________________________________
> > > Filepro-list mailing list
> > > Filepro-list at lists.celestial.com
> > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >





More information about the Filepro-list mailing list