# 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:

- **Download and Import the Fileset**
    
    
    - Download [Change Admin Password (Ventura+).fileset.zip](https://kb.filewave.com/attachments/355)
    - Import the Fileset into FileWave Admin.
- **Edit Environment Variables**
    
    
    - This Fileset uses Environment Variables to determine the Admin username, current password, and new password. You need to edit these variables to add your Admin account information and new password.
    - To do this, double-click on the Fileset to open it.
- **Navigate to the Script**
    
    
    - Hold the Option key (macOS) or Alt key (Windows) to expand the full directory (as shown below).
    - Select the script and click ‘Get Info’.  
          
        [![Screenshot 2024-05-31 at 3.31.16 PM.png](https://kb.filewave.com/uploads/images/gallery/2024-05/scaled-1680-/S8uIzWRMSkVPV1nf-screenshot-2024-05-31-at-3-31-16-pm.png)](https://kb.filewave.com/uploads/images/gallery/2024-05/S8uIzWRMSkVPV1nf-screenshot-2024-05-31-at-3-31-16-pm.png)
- **Update Environment Variables** 
    - Under the ‘Executable’ tab, you’ll find the Environment Variables.
    - Edit the variables to include the Admin username, current password, and new password.
    - Click 'Apply' to save the changes.  
          
        [![Screenshot 2024-05-31 at 3.09.26 PM.png](https://kb.filewave.com/uploads/images/gallery/2024-05/scaled-1680-/pQRmw2jC7Nf3hLBi-screenshot-2024-05-31-at-3-09-26-pm.png)](https://kb.filewave.com/uploads/images/gallery/2024-05/pQRmw2jC7Nf3hLBi-screenshot-2024-05-31-at-3-09-26-pm.png)

- **Test your deployment**
    - Finally, deploy the Fileset to a test device with this Admin account and update the model.
    - Verify the new password works after deployment.

<p class="callout info">Tested on macOS Ventura and Sonoma (macOS 13+). The script should reflect a proper success or failure in Fileset Status if the AdminPassword or AdminUsername value is incorrect.</p>