Deleting processes with a batch... - TechRepublic
Question
March 10, 2010 at 05:07 PM
jhazard112

Deleting processes with a batch…

by jhazard112 . Updated 16 years, 4 months ago

I have been trying to write a batch file that will close a few applications when it is run. On our network if I run pskill.exe in the batch when logged in as a typical user I get access denied. When I log in as an admin and run the same command I have no issues. First, I was wondering if there is anyway to run a batch in a user account without getting access denied? And secondly, why exactly is it that I can’t run it while logged in as a user? Might this be because as a user I can’t run the pskill.exe as a user? I can end the processes through task manager as a typical user this is why I am a little confused. Any help is greatly appreciated.

This discussion is locked

All Comments