PC Review


Reply
Thread Tools Rate Thread

Command -remove to remove a service application??

 
 
Bill in Co.
Guest
Posts: n/a
 
      10th Feb 2009
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?


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      10th Feb 2009

"Bill in Co." <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.


 
Reply With Quote
 
Mike Torello
Guest
Posts: n/a
 
      10th Feb 2009
"Bill in Co." <(E-Mail Removed)> wrote:

>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.

>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?
>

 
Reply With Quote
 
Bill in Co.
Guest
Posts: n/a
 
      11th Feb 2009
Pegasus (MVP) wrote:
> "Bill in Co." <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> 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.


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.


 
Reply With Quote
 
Bill in Co.
Guest
Posts: n/a
 
      11th Feb 2009
Mike Torello wrote:
> "Bill in Co." <(E-Mail Removed)> wrote:
>
>> 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.


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).

>> 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?



 
Reply With Quote
 
Mike Torello
Guest
Posts: n/a
 
      11th Feb 2009
"Bill in Co." <(E-Mail Removed)> wrote:

>Mike Torello wrote:
>> "Bill in Co." <(E-Mail Removed)> wrote:
>>
>>> 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.

>
>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 ;->

>>> 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?

>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      11th Feb 2009

"Bill in Co." <(E-Mail Removed)> wrote in message
news:%23JZPA3$(E-Mail Removed)...
> Pegasus (MVP) wrote:
>> "Bill in Co." <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> 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.

>
> 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")


 
Reply With Quote
 
windmap
Guest
Posts: n/a
 
      11th Feb 2009
On Feb 11, 12:03*am, "Bill in Co." <not_really_h...@earthlink.net>
wrote:
> 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/view...nalId=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
 
Reply With Quote
 
Bill in Co.
Guest
Posts: n/a
 
      11th Feb 2009
Pegasus (MVP) wrote:
> "Bill in Co." <(E-Mail Removed)> wrote in message
> news:%23JZPA3$(E-Mail Removed)...
>> Pegasus (MVP) wrote:
>>> "Bill in Co." <(E-Mail Removed)> wrote in message
>>> news:%(E-Mail Removed)...
>>>> 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.

>>
>> 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")


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. :-)


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      11th Feb 2009

"Bill in Co." <(E-Mail Removed)> wrote in message
news:eFh%(E-Mail Removed)...
> Pegasus (MVP) wrote:
>> "Bill in Co." <(E-Mail Removed)> wrote in message
>> news:%23JZPA3$(E-Mail Removed)...
>>> Pegasus (MVP) wrote:
>>>> "Bill in Co." <(E-Mail Removed)> wrote in message
>>>> news:%(E-Mail Removed)...
>>>>> 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.
>>>
>>> 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")

>
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line/Script to Remove/Uninstall Program that can only be removed from Add or Remove Programs Conan Kelly Windows XP General 2 15th May 2010 12:18 AM
I cannot remove the service pack from the add/remove programs menu =?Utf-8?B?QWRyaWFu?= Windows XP Internet Explorer 2 30th Oct 2006 10:18 PM
Re: How to remove a Windows service from the command line John Wunderlich Microsoft Windows 2000 0 26th May 2004 10:10 PM
Re: How can I remove service from Outlook via command line? Greg Brewer Microsoft Outlook 1 12th Feb 2004 12:06 AM
How can I remove service from Outlook via command line? Greg Brewer Microsoft Outlook 0 9th Feb 2004 08:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:00 PM.