How to uninstall Opsi client agent
How to uninstall Opsi client agent
We are currently using Opsi to deploy operating systems, we're not using it to install applications or manage OS's.
What's the best way to uninstall the Opsi client agent in Windows?
Should we run the uninstaller script in c:\program files (x86)\opsi.org\uninst, or remove it from Programs and Features, etc.?
-
- Beiträge: 650
- Registriert: 21 Feb 2012, 12:03
- Wohnort: Mainz
Re: How to uninstall Opsi client agent
The uninstall string used by deinstall.cmd and from within Programs and Features are the same.
You can find the latter in HKLM\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\opsi-client-agent.
So it's up to you.
As with every uninstaller there will be remnants. You might check c:\program files (x86)\opsi.org and c:\opsi.org.
Re: How to uninstall Opsi client agent
viewtopic.php?t=9498
regards,
bardo wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: How to uninstall Opsi client agent
50_opsi-client-agent.cmd
to
50_opsi-client-agent.txt
every script higher than 50 does not run, including necessary cleanup scripts. This worked fine in version 4.0.
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: How to uninstall Opsi client agent
Looks like a bug to me.ttblum hat geschrieben:In version 4.1, I'm finding that if I rename
50_opsi-client-agent.cmd
to
50_opsi-client-agent.txt
every script higher than 50 does not run, including necessary cleanup scripts. This worked fine in version 4.0.
What netboot product in what version are you currently using?
Does updating - if update available - the netboot product help?
Kind regards
Niko
Code: Alles auswählen
import OPSI
Re: How to uninstall Opsi client agent
Opsi version: 4.1.1.65
Netboot product: win10-x64, Windows 10 x64, Version 4.1.0.1-1 .
All the scripts run correctly until I rename:
Code: Alles auswählen
/var/lib/depot/opsi-client-agent/files/opsi/postinst.d/50_opsi-client-agent.cmd
to
/var/lib//depot/opsi-client-agent/files/opsi/postinst.d/50_opsi-client-agent.txt
Re: How to uninstall Opsi client agent
Properly most of the olderttblum hat geschrieben:In version 4.1, I'm finding that if I rename
50_opsi-client-agent.cmd
to
50_opsi-client-agent.txt
every script higher than 50 does not run, including necessary cleanup scripts. This worked fine in version 4.0.
Code: Alles auswählen
postinst.d
Code: Alles auswählen
cmd
For instance the new
Code: Alles auswählen
80_repartition.cmd
So for me this change in behaviour is more a feature than a bug.
Coming back to your Question
you can runttblum hat geschrieben:Hello,
What's the best way to uninstall the Opsi client agent in Windows?
Should we run the uninstaller script in c:\program files (x86)\opsi.org\uninst, or remove it from Programs and Features, etc.?
a) opsi-client-agent = uninstall
via opsi
or
b) have a deeper look in the postinst.d mechanism described in the getting started to get what you need (perhaps working only with opsi-script/opsi-winst without installing opsi-client-agent)
kind regards,
bardo wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: How to uninstall Opsi client agent
I uninstalled via Opsi, and that does appear to have removed it cleanly.
We already deployed a computer with opsi-agent to a user that's not connected to our LAN. I disabled both Opsi Windows services, and now the opsi agent no longer launches at bootup.