Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Scheduled task cannot run an .exe file on a share folder in Windows


View products that this article applies to.

Summary

Consider the following scenario:
  • You set up a share folder in a domain environment.
  • You configure the share or New Technology File System (NTFS) level permission settings on the share folder.
  • You set up a task schedule on a client computer. The task runs an .exe file on the share folder.
  • Only the user account that is used to run the task has the access permission to the share folder.
In this scenario, the task cannot run. You receive an access denied or a not found error.

↑ Back to the top


More Information

To work around this issue, use one of the following steps:
  1. Assign the access permission for the share folder to the client computer.
  2. Configure the task to run cmd /c \\share\name .exeinstead of \\share\name.exe.
    Note \\share\name.exe is the placeholder of the path of the share folder.

↑ Back to the top


Keywords: kb, kbtshoot, kbexpertiseadvanced, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2958913
Revision : 1
Created on : 1/7/2017
Published on : 5/4/2014
Exists online : False
Views : 208