大网数据广告活动
Windows Server 管理

Scheduled Task Can't Run an Exe File on a Share Folder

· 52CE 我爱测

Provides a workaround to an issue in which scheduled task can't run an .exe file on a share folder in Windows.

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 can't run. You receive an access denied or a not found error.

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.exe instead of \\share\name.exe.

Note: \\share\name.exe is the placeholder of the path of the share folder.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。