How to uninstall Opsi client agent
How to uninstall Opsi client agent
Hello,
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.?
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
No difference.
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.
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
mmh, do you remember "Prevent opsi-agent from being installed"
viewtopic.php?t=9498
regards,
bardo wolf
viewtopic.php?t=9498
regards,
bardo wolf
OPSICONF 2024
https://opsi.org/en/opsiconf/
Basisworkshop Mainz :
17. - 20. 06. 2024
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.
http://www.uib.de
Re: How to uninstall Opsi client agent
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.
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
Hi,
What netboot product in what version are you currently using?
Does updating - if update available - the netboot product help?
Kind regards
Niko
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
I'm using:
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:
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
OPSICONF 2024
https://opsi.org/en/opsiconf/
Basisworkshop Mainz :
17. - 20. 06. 2024
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.
http://www.uib.de
Re: How to uninstall Opsi client agent
Neither removing the agent in Add Remove Programs or running the uninst script works, the Opsi agent still appears at bootup anyways.
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.
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.