Skip to main content

Change Administrator User Password on macOS

This article will guide you through importing a Fileset that will give you the ability to change the Administrator password on macOS devices.

Requirements:

  • FileWave Admin
  • macOS Client

Steps to Deploy:

  • Fileset:Download and Import the Fileset

    • Download Change Admin Password (Ventura+).fileset.zip

      • Download and importImport the Fileset into FileWave AdminAdmin.
    • Edit Environment Variables

      • This Fileset uses LaunchEnvironment ArgumentsVariables to determine the Admin username, current passwordpassword, and new password. You just need to edit thethese Launch Argumentsvariables to add your Admin account information.information and new password.
      • To do this, double-click on the Fileset to open it.
    • Navigate to the scriptScript

      • Hold the Option key (macOS) or Alt key (Windows) to expand the full directory (as shown below),.
      • select
      • Select itthe script and then click ‘Get Info’.

        Screenshot 2024-05-31 at 3.31.16 PM.png
      • You’
    • Update Environment Variables
      • Under the ‘Executable’ tab, you’ll find the LaunchEnvironment Arguments under ‘Executable’.Variables.

      • Now you just have to editEdit the three argumentsvariables to include yourthe Admin username, passwordcurrent password, and new password.
      • Click 'Apply' to save the new password (in that order).changes.

        Screenshot 2024-05-31 at 3.09.26 PM.png

    • Test your deployment
      • Finally, associatedeploy the Fileset to a test device with this Admin account and update the model.

      • Verify the new password works after deployment.

    Tested on macOS Ventura and Sonoma.Sonoma (macOS 13+). The script should reflect a proper success or failure in Fileset Status if the AdminPassword or AdminUsername value is incorrect.