Search code examples
google-chromebatch-filecmdscheduled-tasks

Google Chrome doesn't run from task scheluder


I'm trying to configure a task on Task Scheduler on Windows 7. It's a very simple one - running Google Chrome with an argument, which suppose to open a website with Chrome.

The command is:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" google.com

It works totally fine from cmd and from a batch file.

But thus far, I could not set it to run on Task Scheduler. There are a few methods I tried, and all of them end up with the same result.

Option 1:

  • Action: Start a program
  • Program/script: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
  • Add arguments (optional): google.com
  • Start in (optional): blank

Option 2:

  • Action: Start a program
  • Program/script: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
  • Add arguments (optional): google.com
  • Start in (optional): "C:\Program Files (x86)\Google\Chrome\Application\"

Option 3:

  • Action: Start a program
  • Program/script: D:\Scripts\openWebSite.bat
  • Add arguments (optional): blank
  • Start in (optional): blank

Option 4:

  • Action: Start a program
  • Program/script: D:\Scripts\openWebSite.bat
  • Add arguments (optional): blank
  • Start in (optional): D:\Scripts\

Solution

  • On Actions Tab:

    • action:

      "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
      
    • Arguments:

      http://www.Google.com
      

    On General tab:

    • Make sure you have the correct permissions to run this in task scheduler:

      run with highest permissions.

    • And select

      run only when user is logged on.

    created task