Run Task Schedule with Least privilege user permission.

Netsol-NOS
Netsol-NOS used Ask the Experts™
on
Dear EE,

I need to run the EAServer application (exe/ bat file) from Task Schedule BUT with the local user who has least the privilege permissions.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
Sybase EAServer 6.3.1 EOL 01/31/2015

Will it run as a standard user?

Author

Commented:
Yes i know it is EOL but still we need to test it for POC.
Can we run the TASK SCHEDULE to start the EAServer with local ADMINISTRATOR ?
Top Expert 2016

Commented:
I would try starting it as a standard user first.. if you get a UAC prompt or it doesn't run. switch to a local administrator and try running it.
I can't test this but doesn't the 'server' run as a service?

Author

Commented:
It is also not running event with Local Administrator.
Peter HutchisonSenior Network Systems Specialist

Commented:
The following procedure will allow a normal user run Scheduled Tasks.

Create a log account with member of Users group only.
Open Local Security Policy console (secpol.msc)
Expand Local policies, User Rights Assignment
Add new user to 'Logon as a batch job' (see Explain tab)
Configure new Scheduled Task using new local user account.

Author

Commented:
Hi Peter,
Your suggestion is correct but here actually i am referring the EASERVER.
I need to start the EAServer (process and DB, which will start when Process start) from Task Scheduler with local user having limited permissions.

Thanks
I have created workflow server which points EAServer process and its DB.
Then create Task Schedule with LOCAL ADMINISTRATOR and start the EAServer.

Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial