Pskill Access is Denied

I am trying to kill a process from a windows 7 computer on a windows 2003 server using pskill.  However, I get access is denied.  I can kill this service using task manager on the server.  It would be nice to be able to kill it and restart it without having to go to the server room on the other side of the building.

I have tried the following:

C:\PSTools\pskill.exe \\server -u server\administrator -p password standard.exe

C:\PSTools\pskill.exe \\server -u domain\administrator -p domainadminpassword standard.exe

As you can see this particular server is not our domain server so I have tried using the domain administrator credentials and the local server administrator credentials.  FYI, the local admin is the user that stays logged on to the server that I am trying to kill the process on.  I am trying to kill from a network administrator logon on the windows 7 machine.

Thanks for your help.
joemckameyGeneral ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent DyerIT Security Analyst SeniorCommented:
What about TaskKill.exe?

C:\Users\Kent>taskkill /?

TASKKILL [/S system [/U username [/P [password]]]]
         { [/FI filter] [/PID processid | /IM imagename] } [/T] [/F]

Description:
    This tool is used to terminate tasks by process id (PID) or image name.

Parameter List:
    /S    system           Specifies the remote system to connect to.

    /U    [domain\]user    Specifies the user context under which the
                           command should execute.

    /P    [password]       Specifies the password for the given user
                           context. Prompts for input if omitted.

    /FI   filter           Applies a filter to select a set of tasks.
                           Allows "*" to be used. ex. imagename eq acme*

    /PID  processid        Specifies the PID of the process to be terminated.
                           Use TaskList to get the PID.

    /IM   imagename        Specifies the image name of the process
                           to be terminated. Wildcard '*' can be used
                           to specify all tasks or image names.

    /T                     Terminates the specified process and any
                           child processes which were started by it.

    /F                     Specifies to forcefully terminate the process(es).

    /?                     Displays this help message.

HTH,

Kent
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joemckameyGeneral ManagerAuthor Commented:
That worked.  I wonder why it worked and the other didn't?  Is there a similar program to start the process again?

Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.