Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Is it possible to run a batch file on a restricted user that will start the service?

For instance: i have a batch file that will stop or start a certain service of a pc under domain network and i am using a non admin user.

user-image
Question ajoutée par Jose Jr Dagohoy , System Operator , The Shared Electronic Banking Services Incorporated (KNET Kuwait)
Date de publication: 2014/06/16
Anas Jalal Yahya
par Anas Jalal Yahya , Freelance Consultant, Project Manager and Trainer , Freelance

Hi,

 

The service you want to be started, which account is configured to run it, if network or system account then it should work, right?

 

Anyhow try to test it based on the exact case you have.

 

HTH

Best Regards,

Aliakbar Patwa
par Aliakbar Patwa , IT Manager , Foodfund International

yes possible, but i would rather suggest using Group Policy to automate this process. hence no need to physically go and run the batch also if it is a re-running batch use windows task scheduler

Adrian Lorentz
par Adrian Lorentz , Principal IT officer (analyst-programmer) , A.N.P.

 Yes, it is possible if you grant the rights Log on as batch job, Log on as service and Enable computer and user accounts to be trusted for delegation to the restricted user account. See the applicable AD Group Policy Object under Computer Configuration\\Windows Settings\\Security Settings\\Local Policies\\User Rights\\Assignment.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?