/build/static/layout/Breadcrumb_cap_w.png

Silent uninstallation of network protocol

All,
I have a network protocol that is installed by a legacy application however I was after a way to uninstall this protocol silently via either vbscript OR the command line.

Does anyone have any ideas?

Paul

0 Comments   [ + ] Show comments

Answers (11)

Posted by: AB 16 years ago
Purple Belt
2
http://itninja.com/question/how-do-you-roll-out-new-machines?4685&mpage=1&key=protocol恿

Modify use of snetcfg accordingly...
Regards,
Al
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
depends what the protocol is you want to mess with.

do you have more details.

this is how you can handle default protocols.

Windows XP and Windows Server 2000 / 2003 have a built-in utility called the System stand-alone Optional Component Manager (sysocmgr.exe) to programmatically add or remove Windows components. Running sysocmgr.exe with no parameters will display the usage. The most basic command line is:

%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf This parameter (/i:) is always required and specifies the location of the master inf (%windir%\inf\sysoc.inf). When run it simply displays the Windows Components Wizard. Therefore the above command can be used as a shortcut directly to the Windows Components Wizard.

The real power of sysocmgr is in unattended mode. Additional parameters control the user interface, handle restarting, and control which components are added or removed by way of a standard Windows unattended answer file. Sysocmgr only looks in the [Components] and [NetOptionalComponents] sections, so the answer file can be specifically for component management or reused from a Windows unattended installation. Some components have their own unattended answer file sections, which are also parsed.

The following example uses an answer file (/u:) named ocm.txt in the temporary directory (%temp%\ocm.txt), suppresses any necessary restart (/r), and displays no user interface (/q):

%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:%temp%\ocm.txt /r /q

The following example answer file adds the Simple Network Management Protocol (SNMP) service and configures the agent settings:

[NetOptionalComponents]
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
The network protocol is a custom 1 installed by an application, the only options i get are add or remove in network settings.

The protocol appears to be something to do with terminal emulation as this protocol is used by the application when connecting to a server.

Paul
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
AB, I take back everything I ever said about you!

Works a treat, protocol uninstalls now successfully, thanks man!

Regards,
Paul
Posted by: AB 16 years ago
Purple Belt
0
How very rude... you try and help your fellow Packager and all you get is verbal abuse :)
Oh yeah...
Neat utility... glad it worked
Regards,
Al
Posted by: AngelD 16 years ago
Red Belt
0
So basically what Al is trying to say is, you should rate his answer if you feel he deserves the appreciation.

I think everyone is wondering; what did he say about Al [;)]
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
hehe, nothing bad I assure you, I dont know the bloke so was only messing :)

Ill try and figure out the rating location and give im a healthy boost :)

Paul
Posted by: AngelD 16 years ago
Red Belt
0
The rating location is right here. Just hit the "Rate post" link at the buttom of his answer.
Posted by: AB 16 years ago
Purple Belt
0
No need to rate the post - it was an old post anyway... just recycled
I'll settle for the abuse - it's character building :)
Regards,
Al
Posted by: Inabus 16 years ago
Second Degree Green Belt
0
hehe, im a good one for abuse, just ask anytime :p

I rated the post anyway, a lot of people would go "search harder there are posts about it" and ignore the fact I spent 2 days trying to find the solution.

Although I had found that utility mentioned before I had been unable to find a download location so just skipped it and moved onto things like dpinst which did nothing for me!

Also im sure your aware that google can be a fickle thing and at the end of the day you need to know the right phrases to search for!

Again, thanks for the post.

Paul
Posted by: AB 16 years ago
Purple Belt
0
Dude - you're welcome
Check out http://www.blackle.com
It may not improve your searches but it looks cool and helps save the environ...
Al
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ