Silent enrollment requires command-line entries or a BAT file to control how the AirWatch Unified Agent downloads and installs onto the device.
The following table lists all the possible enrollment parameters you can enter into a command line or into a BAT file, and the respective values for each parameter. Parameters highlighted in blue and green are the minimum parameters required for enrollment. Blue designates image only. Blue plus green designates user enrollment.
|Enrollment Parameters||Values to Add to Parameter|
Select 'Y' to enroll.
Select 'N' for image only.
Select 'Y' for image.
Select 'N' for enrollment.
|SERVER||Enter the enrollment URL.|
|LGName||Enter organization group name.|
Enter the user name for the user being enrolled or the staging user name if staging the device on the behalf of a user.
Enter the password for the user being enrolled or the staging user password if staging the device on the behalf of a user.
Select 'Y' to assign the device to the logged in domain user.
|STAGEUSERNAME||Enter user name for the enrolling user.|
Needed if user account is added to Workspace ONE UEM console during enrollment process:
|STAGEEMAILUSRNAME*||Enter the email user name for the user being enrolled.|
|STAGEPASSWORD||Enter the password for the user being enrolled.|
|STAGEEMAIL*||Enter the email address for the user being enrolled.|
Select 'CD' for Corporate Dedicated.
Select 'CS' for Corporate Shared.
Select 'EO' for Employee Owned.
Select 'N' for None.
Enter the directory path if you want to change installation path.
If this parameter is not present, the AirWatch Unified Agent uses the default path: C:\Program Files (x86)\AirWatch.
Select 'Y' to download the VMware Workspace ONE catalog along with the AirWatch Unified Agent for Windows.
|Items denoted with an asterisk (*) are optional.|
Examples of Silent Enrollment
The following are examples of various use cases using enrollment parameters and the values that you can enter into a command line or use to create a BAT file. Initiating any one of these examples silently enrolls the Windows device without prompting the user to select any of the acknowledgment buttons.
Agent Install for Image Only Without Enrollment
The following is an example of installing the AirWatch Agent for image only without enrollment using minimum parameters required for image only.
AirwatchAgent.msi /quiet ENROLL =N IMAGE =Y
Basic User Enrollment
The following is an example of using minimum parameters required for basic enrollment only:
AirwatchAgent.msi /quiet ENROLL =Y IMAGE =n SERVER =companyURL.com LGName =locationgroupid USERNAME =TestUsr PASSWORD =test
AirWatch Unified Agent Installed Elsewhere
The following is an example of the AirwatchAgent.msi located in a different location:
C:\AirwatchAgent.msi /quiet ENROLL=Y IMAGE=n SERVER=companyURL.com LGName=locationgroupid USERNAME=TestUsr PASSWORD=test
Installation Directory and AirWatch Unified Agent on Network Drive
The following is an example of the installation directory parameter with the AirWatch Unified Agent on a network drive.
Add extra quotes for the INSTALLDIR parameter when there is space within the parameter.
Q:\AirwatchAgent.msi /quiet INSTALLDIR=\"E:\Install Win32\" ENROLL=Y IMAGE=n SERVER=companyURL.com LGName=locationgroupid USERNAME=TestUsr PASSWORD=test
All Available Parameters and Values
The following is an example of the syntax using all available parameters and values shown in the previous table.
<AirwatchAgent.msi> /quiet INSTALLDIR =\"<Directory Path>" ENROLL =<Y/N> IMAGE =<Y/N> SERVER =<CompanyURL> LGNAME =<Location Group ID> USERNAME =<Username> PASSWORD =<Username Password> STAGEUSERNAME =<Stager Username> SECURITYTYPE =<D/B> STAGEEMAILUSRNAME =<User Enrolling> STAGEPASSWORD =<Password for User Enrolling> STAGEEMAIL =<Email Address for User Enrolling> DEVICEOWNERSHIPTYPE =<CD/CS/EO/N> ASSIGNTOLOGGEDINUSER=<Y/N> DOWNLOADWSBUNDLE=<Y/N>