How to execute an executable (GoogleDriveFS.exe) from Task Scheduler on Win 10

asaf david 1 Reputation point
2021-08-29T09:14:31.213+00:00

Hi,
I'm trying to create a task scheduler to start "C:\Program Files\Google\Drive File Stream\50.0.11.0\GoogleDriveFS.exe" every night.
My task command is: "C:\Program Files\Google\Drive File Stream\50.0.11.0\GoogleDriveFS.exe"

when I hit "Run" the task status is changed to "Running" but the executable is not started.

what I already tried:

  1. to use "C:\Windows\System32\cmd.exe" as the command and this as argument: /c "C:\Program Files\Google\Drive File Stream\50.0.11.0\GoogleDriveFS.exe"
  2. to change the user from my user to SYSTEM

when I run "C:\Program Files\Google\Drive File Stream\50.0.11.0\GoogleDriveFS.exe" from the terminal - it works.

Windows for business Windows Client for IT Pros User experience Other
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Devguy 81 Reputation points
    2021-08-29T10:19:39.92+00:00

    Select the task properties and make sure the checkbox 'Run with highest privileges' is ticked.

    That should help you.

    Another thing, the task MMC will show 'Running' even it the task has finished its work. Be sure to refresh (F5) on your keyboard to see if it has changed back to 'Ready'.
    This is just a quirk of the Task Scheduler MMC.
    Ken


  2. Hunaid Udaipurwala 1 Reputation point
    2022-10-11T08:55:59.86+00:00

    Its October 2022, and I still have this problem. Google Drive does not launch using task scheduler, neither in Windows 10 or 11. Tried every possible command line and arguments tricks, including playing around with Task Scheduler settings as well as Google Drive itself. Does not work at all. How do we fix this??

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.