How to enable to run a particular service with a local admin privilege via group policy in windows 2012 R2 Domain

Need to run GFI Lan Attendant service run under an domain account having local admin privilege in the client machine via group policy so as to enable GFI LAN guard to scan and update the patches.
shamnadAsked:
Who is Participating?
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:
The normal way is to run the service via Task Scheduler. Set it to run when Windows start, and in the task configuration options, use local administrator privileges. This will allow it to start. Look at the tasks in Scheduler and use one for an example. Several tasks start on my computer with admin authority.
David Johnson, CD, MVPRetiredCommented:
A service can always run with administrative authority.. just assign the account that it runs under as 'SYSTEM'
shamnadAuthor Commented:
the question is specific i need to run this particular service with local administrative previlege on client machines on a domain level
JohnBusiness Consultant (Owner)Commented:
You can do what you need with Task Scheduler as suggested above.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Putting aside I don't see why LocalSystem does not suffice: You can't do that directly, but you can set up the service by a startup script. You should need that only run once, though:
sc stop "LANGuard"
sc config "LANGuard" obj= TheDomain\TheAdmin password= ThePassword
sc start "LANGuard"

Open in new window

Replace everything as needed.

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
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
Active Directory

From novice to tech pro — start learning today.