I had to deal with this about 2 years ago. my foggy recollection is that schedule jobs run as "System", and the "system" user has absolutely zero rights on other machines (but is like root on the local). You cannot get the system account priviledges set for other machines, so logging in as another user is required.

I am pretty sure I used the module mentioned by tye, but in effect, what I had to do was startup and then login/alias myself as a user that had priviledges on the target shares. I do remember it was a real pain in the ass (I recall swearing alot and damning all things windows to eternal hell), and ended up finding an alternative solution. I wish I could be more helpful, but it's been too long and I don't have any of that code.

if you can manage to get this going, I'd certainly ++ your tutorial :-)

PS: since it runs from an icon, maybe you need that rocking monkey toy that Homer Simpson used to tap his keyboard in order to keep the nuclear reactor from melting down? (oh wait, that didn't work) :-)


In reply to Re: Windows Scheduler Issues by wardk
in thread Windows Scheduler Issues by seigniory

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.