Command -remove to remove a service application??

B

Bill in Co.

This was a new one for me, and I could use some more help.

I was trying to get rid of Adobe's "bonjour" service on my computer (which
got installed by one of their apps), because I don't need that service. So
I found a solution on the Net on how to get rid of it, but I don't
understand exactly how its doing it, and would appreciate some additional
info.

The application service name was "bonjour" that I wanted to remove. Part of
the procedure to remove it was to use the Run box (from the Start menu), and
type in the following, and then reboot. (Note: the Bonjour service is
linked to the file mDNSResponder.exe)

"C:\Program Files\Bonjour\mDNSResponder.exe" -remove

Is this running a VBS script to remove the file after rebooting, or what?
Or is perhaps placing an entry in the registry in the -run key, that is
activated after reboot?
 
P

Pegasus \(MVP\)

Bill in Co. said:
This was a new one for me, and I could use some more help.

I was trying to get rid of Adobe's "bonjour" service on my computer (which
got installed by one of their apps), because I don't need that service.
So I found a solution on the Net on how to get rid of it, but I don't
understand exactly how its doing it, and would appreciate some additional
info.

The application service name was "bonjour" that I wanted to remove. Part
of the procedure to remove it was to use the Run box (from the Start
menu), and type in the following, and then reboot. (Note: the Bonjour
service is linked to the file mDNSResponder.exe)

"C:\Program Files\Bonjour\mDNSResponder.exe" -remove

Is this running a VBS script to remove the file after rebooting, or what?
Or is perhaps placing an entry in the registry in the -run key, that is
activated after reboot?

No, this isn't running a VBS script - it is running an executable, because
"mDNSResponder.exe" uses an .exe extension. What it does depends entirely on
what the Bonjour software engineers put into "mDNSResponder.exe". It could
be anything you can think of! If properly written it will erase all traces
of the Bonjour application from your PC.
 
M

Mike Torello

Bill in Co. said:
This was a new one for me, and I could use some more help.

I was trying to get rid of Adobe's "bonjour" service on my computer (which
got installed by one of their apps), because I don't need that service.

That's too simple: just disable it.

Control Panel, Administrative Tools, Services.
 
B

Bill in Co.

Pegasus said:
No, this isn't running a VBS script - it is running an executable, because
"mDNSResponder.exe" uses an .exe extension. What it does depends entirely
on
what the Bonjour software engineers put into "mDNSResponder.exe". It could
be anything you can think of! If properly written it will erase all traces
of the Bonjour application from your PC.

So if I understand this correctly, most, if not all, exe files will allow
for the -remove argument to execute? And for those applications, exactly
what it does, and how it does it, depends entirely on the code contained
inside that particular exe, although I expect there must be some common
ground rules.

I guess the only thing we can assume here is that IF it works (as a run
command suffix argument to the exe file, its intention is to remove the
application and disable it. (And that it is NOT the same thing as deleting
the file itself, of course).

Where is this general "-remove" as a run command argument thing documented,
if you happen to know? I tried some fairly specific searches on Google,
but with "-remove" as part of the search criterion, too much spurious stuff
comes up. Or maybe you can suggest an appropriate Google search criteria
for me. :)

Thanks, Pegasus.
 
B

Bill in Co.

Mike said:
That's too simple: just disable it.

Control Panel, Administrative Tools, Services.

I did that first. And then later decided I wanted to clean it out
entirely.
What made it hard to find in Services was that it wasn't even listed by any
recognizable name, but only by some cryptic keyname. (thanks, Adobe).
 
M

Mike Torello

Bill in Co. said:
I did that first. And then later decided I wanted to clean it out
entirely.
What made it hard to find in Services was that it wasn't even listed by any
recognizable name, but only by some cryptic keyname. (thanks, Adobe).

Vista lists it normally both in services and the programs listing. But
you probably won't see that for another six or seven years, if you
live that long ;->
 
P

Pegasus \(MVP\)

Bill in Co. said:
So if I understand this correctly, most, if not all, exe files will allow
for the -remove argument to execute? And for those applications, exactly
what it does, and how it does it, depends entirely on the code contained
inside that particular exe, although I expect there must be some common
ground rules.

I guess the only thing we can assume here is that IF it works (as a run
command suffix argument to the exe file, its intention is to remove the
application and disable it. (And that it is NOT the same thing as
deleting the file itself, of course).

Where is this general "-remove" as a run command argument thing
documented, if you happen to know? I tried some fairly specific searches
on Google, but with "-remove" as part of the search criterion, too much
spurious stuff comes up. Or maybe you can suggest an appropriate Google
search criteria for me. :)

Thanks, Pegasus.

I think you're missing a point. An executable file does exactly what its
author intends it to do. If he included code to detect the "/remove"
parameter then it will probably remove something. If he included a switch to
detect "/music" then it might play some music. He might also have coded it
to play music when the user uses the switch
/supercalifragilistiexpialidocous. There is absolutely no point in searching
the net for the meaning of the /remove switch. It's only what the programmer
had in mind, nothing more, nothing less. Here is some pseudo-code that
illustrates the principle:

if param1 = "/delete" then DeleteFolder("c:\Bill's Files")
if param1 = "reboot" then RebootMachine
if param1 = "-Hello" then WriteToScreen("Hello")
 
W

windmap

This was a new one for me, and I could use some more help.

I was trying to get rid of Adobe's "bonjour" service on my computer (which
got installed by one of their apps), because I don't need that service.  So
I found a solution on the Net on how to get rid of it, but I don't
understand exactly how its doing it, and would appreciate some additional
info.

The application service name was "bonjour" that I wanted to remove.  Part of
the procedure to remove it was to use the Run box (from the Start menu), and
type in the following, and then reboot.    (Note: the Bonjour serviceis
linked to the file mDNSResponder.exe)

"C:\Program Files\Bonjour\mDNSResponder.exe" -remove

Is this running a VBS script to remove the file after rebooting, or what?
Or is perhaps placing an entry in the registry in the -run key, that is
activated after reboot?

According to the following document
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400982

To remove Bonjour:

1. Open a Windows command prompt and type the following command:
"C:\Program Files\Bonjour\mDNSResponder.exe" -remove
2. Navigate to the following folder in Windows Explorer: C:\Program
Files\Bonjour
3. Rename the mdnsNSP.dll file in that folder to mdnsNSP.old
4. Restart your computer
5. Delete the the Program Files\Bonjour folder
 
B

Bill in Co.

Pegasus said:
I think you're missing a point. An executable file does exactly what its
author intends it to do. If he included code to detect the "/remove"
parameter then it will probably remove something. If he included a switch
to
detect "/music" then it might play some music. He might also have coded it
to play music when the user uses the switch
/supercalifragilistiexpialidocous. There is absolutely no point in
searching
the net for the meaning of the /remove switch. It's only what the
programmer
had in mind, nothing more, nothing less. Here is some pseudo-code that
illustrates the principle:

if param1 = "/delete" then DeleteFolder("c:\Bill's Files")
if param1 = "reboot" then RebootMachine
if param1 = "-Hello" then WriteToScreen("Hello")

OK then. Thanks. :)

Sounds like it's totally at the discretion of the programmer, assuming he
even wants to take ANY such parameters. So the person who wrote that
comment about using that "-remove" switch to remove the bonjour service must
have had some inside information on that particular exe file. :)
 
P

Pegasus \(MVP\)

Bill in Co. said:
OK then. Thanks. :)

Sounds like it's totally at the discretion of the programmer, assuming he
even wants to take ANY such parameters. So the person who wrote that
comment about using that "-remove" switch to remove the bonjour service
must have had some inside information on that particular exe file. :)

Yes - inside information, published information, trial and error or
analysing the .exe file with a suitable tool.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top