Start stop services remotely event viewer

G

Guest

Guest
Hello,
i have created a code to start stop services remotely using SC class. But in eventvwr of remote server i want it to give user name which did this? how can i go about it