I need to run devcon command everytime I logon Win7

I'm having a problem with a peice of hardware and need to run the following two commands at logon to get it running.

c:\devcon\devcon.exe disable "@USB\ROOT_HUB20\4&1D371D5B&0"
c:\devcon\devcon.exe "@USB\ROOT_HUB20\4&1D371D5B&0"

I have tried using task sdcheduler but get error 0x800704DD and nothing happens.  I have configured the tash to run with highest privelages but it makes no difference.  I have tried sticking the command into HKLM\Software\Microsoft\Windows\CurrentVersion\Run but it doesn't run.

Any ideas?
bridgegaelAsked:
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.

Jim-RCommented:
Add a 30 second or 1 minute delay to the properties of the task.  This worked for me on a task that didn't work until I added the delay.
Ivano ViolaSystem AdministratorCommented:
Try putting it in your startup folder as a .cmd or .bat file (or All Users startup folder) in All Programs. I think this will work.

IV
johnb6767Commented:
If this is in a .bat/.cmd file, you can go to the properties of the file/compatibility/and select RunAsAdministrator.....

Is UAC enabled as well?

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
bridgegaelAuthor Commented:
I had to disable User Access Control to get this to work
LeeTutorretiredCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
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 7

From novice to tech pro — start learning today.