Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st October 2007, 16:59   #1
parasoul
Member
 
Join Date: Aug 2007
Posts: 75
Killing a process that reports "Access Denied"

Unable to kill process
Access is denied.

Is a little log from PsKill. Also Taskmanager cannot kill the process either.

Is there a way to kill a process even though we don't have "access" to it?

And yes, I'm logged on as an administrator
parasoul is offline   Reply With Quote
Old 1st October 2007, 19:42   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
Are you talking about Vista or XP? Vista has some protected processes that, according to what I've heard, no one can touch.

If it's XP, that's just weird... Maybe some GPO setting?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 1st October 2007, 20:25   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,813
http://www.alex-ionescu.com/?p=35 might be able to help with protected processes on vista

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 1st October 2007, 20:47   #4
parasoul
Member
 
Join Date: Aug 2007
Posts: 75
It's with XP.

I remember nsProcess:Killprocess would do the job but I installed the plugin and it's telling me nsProcess:Killprocess is an invalid command. Can someone please find me the whole nsProcess plugin?
Thanks again!
parasoul is offline   Reply With Quote
Old 1st October 2007, 21:27   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,813
the actual export is called nsProcess::_KillProcess (not sure why it has the underscore to be honest)

are you using the nsProcess.nsh include file and its macros?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 1st October 2007, 22:25   #6
parasoul
Member
 
Join Date: Aug 2007
Posts: 75
Yeah I fixed the nsProcess problem, but it still cannot kill that process. Any more ideas?
parasoul is offline   Reply With Quote
Old 1st October 2007, 22:29   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,813
might help if you can tell us what process it is

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump