Can't run a batch from UNC path in Task Scheduler

Posted on 2015-02-18
Last Modified: 2016-02-11

Trying to run a batch via task scheduler but it won't run.  On the 'Actions' tab i put this for the 'Program/script' field:  \\opus\hyperion\automation\run_triggers.bat

Note:  The \\opus\hyperion\automation directory is on a SAN not a server.  I tried mapping the \\opus\hyperion drive to Z and then:


Still won't execute.  Could I use NET USE or something like that?
Question by:elwayisgod
  • 3
  • 3
LVL 69

Accepted Solution

Qlemo earned 250 total points
ID: 40617696
Is it a normal user account you run the task under? Certain computer accounts are restricted in having no network access. And you can't use drives mapped in your interactive user session.

Author Comment

ID: 40617746
User account has full access.
LVL 69

Expert Comment

ID: 40617774
What's the error message or task execution status?
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

LVL 25

Assisted Solution

by:Lionel MM
Lionel MM earned 250 total points
ID: 40618847
Can you run this from a command prompt please and post the results; from a dos prompt type
and then tell us what you get

Author Comment

ID: 40629655
It was due to a Environment variable on DEV server that was on TEST and PROD.  Sorry for confusion, I'm not a Windows Server guru :)

Author Closing Comment

ID: 40629657
Thanks for responses and help troubleshooting.
LVL 69

Expert Comment

ID: 40631778
Did we really help? If not, the question should get deleted.

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article was inspired by a question here at Experts Exchange ( The requirements stated in that question are (1) reduce the file size of a large number of…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 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