About this tag
The tag 'run with highest privileges' on WindowsForum.com covers issues related to Task Scheduler tasks configured to run with elevated permissions. In a recent thread, a user reported that a batch file copying files via xcopy works when double-clicked but fails when triggered by Task Scheduler, even though the task is set to run with highest privileges. The problem resulted in zero files copied, suggesting that the elevated context may not fully replicate the interactive user environment. Discussions under this tag explore why tasks with highest privileges behave differently than manual execution, focusing on permission contexts, environment variables, and Task Scheduler settings that affect file operations and script execution.
-
S
Windows 11 Task Scheduler odd behavior
I have a command file (.bat) I run to copy some files from my Windows 11 PC to another PC. When I double-click the .bat file on my PC, it runs and successfully copies the files. When I run it using Task Scheduler, it runs the command file but no files are actually copied. I piped the output...- samsquared2
- Thread
- batch file credentials directory mapped drives network sharing path remote copy run whether user is logged on run with highest privileges script directory source path start folder system account task scheduler unc path windows 10 windows 11 xcopy
- Replies: 3
- Forum: Windows Help and Support