Scheduled Task fails

I'm trying to set up a Scheduled Task that will run 'Dropbox.exe' at a specified time. Ive set it up easily on my Windows 7 machine, but on my Windows 10 PC, I keep getting the error -

"One or more of the specified arguments are not valid."

In the History, the error reads as -

Task Scheduler failed to start "\My Tasks\Run Dropbox" task for user "EDITOR\EDITOR". Additional Data: Error Value: 2147943140.

Capture2.JPG
Steve BrameRich Media DirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
1. Try "Run whether user is logged on or not"
2. Let Dropbox do its thing. It keeps up to date for me automatically on any change.
McKnifeCommented:
The error mentions arguments. Quote the task action with arguments, please.
Steve BrameRich Media DirectorAuthor Commented:
"Try "Run whether user is logged on or not"

Tried. Same error.

"Quote the task action with arguments, please."

I use the wizard to build the task, so I figured that Microsoft builds it the way it should be built. The only argument I add is '/home', but I've also tried it with no arguments.

"Let Dropbox do its thing."

I have a specific reason for doing this. I have satellite internet with a cap on data. After the cap is reached, my speeds are throttled. However, there is a period from 2am til 8am where transfers don't contribute to my data usage. I do a lot of very large transfers, so I put them in a synced Dropbox folder, and when(or if) the task runs at 2:30am, the files get uploaded.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Steve BrameRich Media DirectorAuthor Commented:
Capture3.JPG
JohnBusiness Consultant (Owner)Commented:
Here are the command line arguments for Dropbox in Windows. Home is not one of them. Did you try Start?  I think you would have had to exit Dropbox before issuing this command.

https://techblog.willshouse.com/2011/04/09/dropbox-command-line-interface-cli/
JohnBusiness Consultant (Owner)Commented:
Here is an article that provides the use of Task Scheduler in Detail to determine when Dropbox uploads. It DOES use /Home but I could not find that. Nonetheless here is a How To for Task Scheduler

https://www.dropboxforum.com/t5/Dropbox/Set-a-schedule-for-Synching/idi-p/47537
Steve BrameRich Media DirectorAuthor Commented:
Thanks, I'd already seen that thread in the Dropbox forum. As far as the other, first of all, 'C:\Users******\AppData\Roaming\Dropbox\bin\Dropbox.exe' is not the default path for the Dropbox executable. Basically, my task is the same as theirs, and woks on Win7, just not on Win10.

Dropbox is not running on this computer when the Task runs. In fact, that isn't an issue, because the "One or more of the specified arguments are not valid." error occurs merely at the creation of the Task, not when it runs. Plus, it occurs with the argument '/home' as well as without it. Plus, plus...again, the Task works perfectly on my Windows 7 machine, but not on Windows 10. Way back in the 90's I had an MCSE certification, so I'm very familiar with scheduling tasks in Windows.
JohnBusiness Consultant (Owner)Commented:
There are significant security differences between Windows 7 and 10. I am not sure what settings may apply. Look in the Settings tab. Try checking "Allow task to run on demand"  I do not know what other setting might affect this.
McKnifeCommented:
I'd simply take a different executable for a test like maybe just notepad.
Steve BrameRich Media DirectorAuthor Commented:
Notepad works fine.
McKnifeCommented:
In the same task?
Hm, I would need to install dropbox to further investigate.
Steve BrameRich Media DirectorAuthor Commented:
Oddly enough, on a hunch I tried creating the task using 'Create Task', instead of 'Create a Basic Task', but chose the exact same parameters, and that works.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steve BrameRich Media DirectorAuthor Commented:
Basically no one suggested this avenue, and I discovered it on a wild hunch.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.