{"id":3988,"date":"2026-06-08T18:06:19","date_gmt":"2026-06-08T15:06:19","guid":{"rendered":"https:\/\/support.withsecure.com\/en\/?post_type=support_article&#038;p=3988"},"modified":"2026-06-08T18:06:19","modified_gmt":"2026-06-08T15:06:19","slug":"how-to-perform-a-silent-uninstall-of-withsecure-client-security-for-mac-or-elements-epp-for-computers-mac-client","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/en\/support-articles\/how-to-perform-a-silent-uninstall-of-withsecure-client-security-for-mac-or-elements-epp-for-computers-mac-client\/","title":{"rendered":"How to perform a silent uninstall of WithSecure Client Security for Mac or Elements EPP for Computers (Mac client)?"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>How to perform a silent uninstall of WithSecure Client Security for Mac or Elements Agent for Mac \/ Elements EPP for Mac?<\/p>\n<h3>Resolution:<\/h3>\n<p>Before running any uninstall operation, you need to deactivate the system extension. You can use the following command:<\/p>\n<p><code>\/Applications\/WithSecure\/WithSecure\\ Agent.app\/Contents\/MacOS\/wsagent --deactivate-system-extension<\/code><\/p>\n<p>This will deactivate the system extension. It should be run with a user session, or it can also be run without it if there is an MDM profile configured that allows sysext uninstallation. In any case this command should be executed before uninstall_MacProtection script.<\/p>\n<p>You can uninstall <strong>Elements Agent for Mac<\/strong> and <strong>Client Security for Mac<\/strong> using the command line by running the following command:<\/p>\n<p><code>sudo \/Library\/WithSecure\/bin\/uninstall_MacProtection<\/code><\/p>\n<p>The script needs to run as \u201droot\u201d so depending on what kind of logon scripts, It may or may not work. \u00a0A script executed by a remote administration tool such as JAMF or Apple Remote Desktop (or just using SSH) can be run as root so it should work.<\/p>\n<p><strong>Note:<\/strong> If the <span style=\"font-family: Courier New,Courier,monospace;\">uninstall_MacProtection<\/span>\u00a0uninstallation method fails, it could be that you have in the Elements profile &quot;<strong>Allow user to uninstall the product<\/strong>&quot; set as\u00a0<strong>disabled<\/strong>.\u00a0\u00a0If the subscription has expired and client settings cannot be changed anymore, then delete the following file to remove the restriction:<\/p>\n<p><code>\/Library\/WithSecure\/fsmac\/sysconfig\/.no_uninstall<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to perform a silent uninstall of WithSecure Client Security for Mac or Computer Protection for Mac \/ Elements EPP for Computer (Mac client)?<\/p>\n","protected":false},"template":"","support_article_product":[104],"class_list":["post-3988","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000014251","source_version":2,"source_system":"salesforce","source_date_updated":"2026-06-08 15:06:19","import_hash":"79b304f44dce5de07d3d152633258b01682043a8","vanilla_article_id":32853,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/32853-how-to-perform-a-silent-uninstall-of-withsecure-client-security-for-mac-or-elements-epp-for-computers-mac-client","vanilla_kb_id":30,"vanilla_category_id":106,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article\/3988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/media?parent=3988"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article_product?post=3988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}