Win 10 - Starting Sync from Task Scheduler


FlashPan

Recommended Posts

Hello,

Been banging my head against a wall on this for a few hours now.

I'm trying to start the Reslio service via a batch file that would then by run at X time via the Task Scheduler.  Problem with this is that I am getting an "access denied" as the command needs to be run in an elevated cmd prompt.

The basic command I am running is: net start rslsyncsvc

I have set the logon account for this service as a local admin account and have set Task Scheduler to run with highest permissions etc but I do not seem to be bale to run this bat file with a simple double click or even including runas /savecred /user:............ in the batch file.

Any ideas how to get this running without having to manually open an elevated cmd prompt?

Thanks and cheers

EDIT:

I should have also stated that I can start the service fine manually from Services or right click and run as admin.

The kicker is.  I have a 2nd identical Win 10 box that has the same batch file an only contains: net start rslsyncsvc

If I manually double click or add into Task Scheduler the service will start with no problems/questions and USC is set to the same default on box boxes

 

Edited by FlashPan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.