Create windows service with current user account using sc.exe -
i trying write batch file creates windows service runs user running batch file. in other word, if i, user_x runs batch file, created service log on me, user_x.
since user must logged in run batch file, hoping there way create service without entering user's password.
so far i've been using sc.exe create "local system" windows service, , works great. don't understand how same current user. idea?
no, cannot create service runs user without knowing user's password, if logged in user in question. because system has save copy of user's password in registry (using reversible encryption) in order configure service run user.
Comments
Post a Comment