Hi everyone!
Folks I need help on a query for which i have been searching for almost a week but yet failed to find the solution.
=> There is an application which runs a service abc.exe by default Log on as "Local System Account". Its running on a machine which is a member of a Domain and running Windows XP SP3.
Each User has two accounts: -
1) Power User Domain Account
2) Network Configuration Operators Local System account.
The service must be running under Domain account and when the user switch to Local Account the service should get stopped and when the user switch from Local to Domain the service should start again.
I am looking for any bat file or script that can achieve this task of mine, tried using taskkill but than the service don't get started again until i restart the machine.
Can someone please provide me the solution.
Peace
F A N A




Reply With Quote