Windows 7 Command line question

Ok thanks. And how can I go about killing a task? For an example, I see port 135 being used by epmap, so how can I kill epmap from using port 135?
Thanks
 
Use the netstat command with parameters a, o and n:

netstat -a -o -n

Note the PID of the service using the port you want to close then go to task manager and end the process with that PID.
 
Thanks. Or you can actually use the command 'taskkill -f -pid 1024' (PID of epmap). Why is it telling me Access Denied, when trying to kill the process? Í've tried by task manager, and im even in command line adminstrator?
Thanks
 
Back
Top