1.

Solve : Taskkill?

Answer»

I have a Batch file that I use to close MULTIPLE programs using 'Taskkill". I use th"/f" option to force the closure, but even so, "Access Denied" is returned. The program I try to close ends just fine manually. I have searched other places with not MUCH help. This automatic closure action is important and needed in this batch file. THANKS for your help.you have to start that batch process as administrative privileges,
though your user might be an administrator, windows restricts access by default on some areas
so if you want to activate admin account : "net user administrator /active:yes" is the command, after that you can log out and loggin into administrator account try running batch script from that account.I DISAGREE with your Sig...Thanks for the suggestion, but I am the Administrator and logged in. The command works fine on all but one application.Quote from: hartlessone on March 16, 2016, 09:06:37 PM

but I am the Administrator and logged in.

Did you actually try to right click on the script and select "RUN as admin..." ?

Being admin is not the same as it once was - there are restrictions in some cases.Quote from: foxidrive on March 17, 2016, 05:48:53 AM
Did you actually try to right click on the script and select "run as admin..." ?

Being admin is not the same as it once was - there are restrictions in some cases.

yeah,thanks foxidrive, that's exactly what i am trying to explain !


Discussion

No Comment Found