My org has an account that was used by a consultant to create various apex triggers and classes, workflows, visual force and other custom development. The higher ups want to disable this now unused account but I'm concerned that all of the custom development done by the account will stop working. So my question is 2 fold:

a) What will stop working if this account is disabled?
b) Can I transfer the ownership of all the apex etc to an account dedicated to running custom jobs? If so, how?


In any Salesforce.com system, the System Administrator is not only responsible for actively maintaining, updating, and modifying system functionality, but there are also a variety of settings for which a System Administrator is the default user. There are probably few things as disruptive to a system than de-activating a System Administrator User without first modifying a variety of settings in a Salesforce.com instance.

Scenario: The main System Administrator for an organization’s Salesforce.com has to be fired rather suddenly, and the Management Team doesn’t want anything to break, but wants access and permissions for that user to be shut off immediately.

Solution: In the immediate term, the first step is to change the current System Administrator’s User Record’s email address to another System Administrator in the system . Second, request that the outgoing System Administrator User find the “Email Change” acceptance email in their inbox, and click accept. Finally, go to the User’s record with the new email address and click ‘Reset Password’. This is a temporary solution to prevent data loss or intentional sabotage, as well as make sure that nothing critical breaks.

In the short- to medium-term, there are a variety of settings to consider updating:

Salesforce.com Support

It may be necessary to submit a Case specifying a new Security Contact for the system. The Security Contact is the user who will be contacted in case there is a security breach, and should be updated it is currently set to the outgoing System Administrator. Customize

Leads | Web-to-Lead | Default lead Creator Cases | Support Settings | Default Case Owner Cases | Support Settings | Automated Case User Customer Portal Settings | Settings | [Portal Name] | Administrator Create

Workflow | Settings | Default Workflow User Administration Setup

Company Profile | Company Information | Primary Contact Data Management | Analytics Snapshots | [Analytic Snapshot Name] | Running User Monitoring | Scheduled Jobs (if the old System Admininstrator is the user for any Scheduled Jobs, the scheduled job must be deleted, and then re-scheduled by a different System Administrator) Monitoring | Apex Jobs (If the old System Administrator is the user for any currently-running Batch Apex jobs, they must complete before de-activating the User) Analytics

If any Dashboards or Automated Reports have the user set as the Running User, they will need to be updated to another Active User (not necessarily a System Administrator). If this is not done they will cease to work until an Active User is set as the Running User. Gotcha

A User can’t be deactivated if they’re assigned as the sole recipient of a workflow email alert. A User can’t be deactivated if they’re the User assigned to a Task. A User can’t be deactivated if they are the selected User in a custom hierarchy field, even if the field is deleted. The field must be deleted and permanently erased first.


Steps to consider before deactivating a System Administrator

Why can't I deactivate a system administrator?

  • Thank you very much for the detailed answer! That was my fears exactly, and changing the email and password was what I wanted to do as well. Also, thank you for the links (I couldn't find any googling), this helps me quite a bit!
    – mikesalty
    May 30 '14 at 14:46
  • This is why I recommend devoting a license to a service account and have it own all of those services. And it looks better to see a message saying "Org Admin has assigned a Lead to you" than "Mike had assigned a Lead to you."
    – Mike Chale
    Jun 1 '14 at 1:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.