KillProcess function
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Yes, it still applies. Whether XP or above, you may need to be admin to kill some processes.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Vaguely recall your previous posts above mentioned your script is compiled, isn't? Assume your script is named kill.scp and compiled to kill.exe. Please assign BOTH C:\Program Files\Macro Scheduler 14\msched.exe and kill.scp with ADMIN privilege with the right-mouse button triggered context menu.newuser wrote:Im the only user in my computer windows xp pro, and I have full admin rights since I install windows xp pro as admin.
On my W7 Ult x64 config, I always assign C:\Program Files (x86)\Macro Scheduler 14\msched.exe's privilege level to ADMINISTRATOR.
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
I thought I would test this myself. With my visualized version of MS in the editor the KillProcess wouldn't work. If I compiled it though it did work. Maybe cause of the way I have it visualized it couldn't talk where it needed to.
That being said I always prefer to use taskkill anyway as it allows you to specify wild cards, although the OP didn't what to use that, not sure why as it has been included with Windows for a long time now, I would question why you would be supporting something older that didn't have it. Another option would be to use PSKill & supply it with your script.
That being said I always prefer to use taskkill anyway as it allows you to specify wild cards, although the OP didn't what to use that, not sure why as it has been included with Windows for a long time now, I would question why you would be supporting something older that didn't have it. Another option would be to use PSKill & supply it with your script.
FIREFIGHTER
Nope, like I said Im writing a security process killer application for deployment, if i wanted to use the taskkill or pskill, I wont be making a thread about killfunction in the first place.
For your information, pskill is blocked on the deployment computers, because people misused it to kill important process on these computers.
Since a solution on killprocess wont be available, the project would be put on hold until I can find a better solution or alternative.
Thanks guys for all the help.
For your information, pskill is blocked on the deployment computers, because people misused it to kill important process on these computers.
Since a solution on killprocess wont be available, the project would be put on hold until I can find a better solution or alternative.
Thanks guys for all the help.