[C#]How to run program(exe or batch file) as currently logged in user account from windows service?

  • Thread starter Thread starter 라바
  • Start date Start date

라바

Guest
I created Windows service program using C#.

Account of Windows service is SYSTEM.

I want to remove credentials under current user account.

However, it seems that Windows service can only access credentials of SYSTEM account.

So I want to remove credentials by running exe or batch file with currently user account from windows service.

I found to change session but user name is not changed.

How can I do?

Continue reading...
 
Back
Top