--- In [email protected], [EMAIL PROTECTED] wrote: > > What are the process-name and user-name (:Security Context) > > of the app? > > Process name is BrmfRsmg.exe as listed in Task Manager. Running under System > account. > > From Bruce: > > My understanding is that someone wants to script killing a process > > with no window. They want something like this > > > > 1. Find me the process id of the process with exe exename.exe > > 2. Kill that process. > > That is correct. I thought that powerpro had some code to make sure that > window close commands bound to a window of a program to send the close > command to (and had a check to make sure that happened). When that check > failed, it didn't even try the close command to the .exe. > > I guess that if I could retrieve the pid, I could commandline the rest with > pskill. I see that there is already a win.getprocessid(han) > > But I can't even get a handle of the .exe with: > win.debug(win.handlelist("=BrmfRsmg", 1))
As I suspected it seems to be started as a service. Some processes in the Security Context of System, which include services, don't create any window at all or do so temporarily, at least on your logon session. First search your registry for 'BrmfRsmg', and find out the name of the service (:registry's Key name). If you want to prevent it permanently from triggering, just delete the Key. If you merely want to close it, you may use: net stop sevice_name Or you can use PSService.exe: http://www.sysinternals.com/Utilities/PsService.html However, some services do not accept Stop/Pause request. Then you may have to kill/suspend the process using: http://www.sysinternals.com/Utilities/PsKill.html http://www.sysinternals.com/Utilities/PsSuspend.html Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h0hr218/M=362335.6886445.7839731.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1124772027/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font> --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
