Skip to main content

Deploying Swif silently on Windows machines

Updated today

Swif supports Windows silent installation to replace MDM on the target Windows machines. The silent installer file is an MSI file. You can download or right-click to copy the silent installer URL on the download screen.

To install it, you can use one of the methods below:

Option #1: Install via the command line

Follow these steps to silently deploy Swif on your Windows devices:

1. Download the Silent Installer:

  • Via the command line (using curl or another download method).

  • Upload directly to your existing MDM solution.

2. Install Silently Using Command Line:

Run the PowerShell as admin. Note, the domain user as Entra ID wouldn’t get admin permission, and you need another admin account to run it.

Run the following command after downloading:

msiexec /i "{{FILE_FULL_PATH}}.msi" /quiet

3. Automatic MDM Detection and Removal:

During installation, Swif automatically:

  • Checks if the device is enrolled in another MDM platform.

  • If another MDM platform enrollment is detected, Swif will automatically unenroll it using administrative permissions. Note: Swif does not detect or remove any existing agents, services, or apps related to other MDM providers.

  • After successfully unenrolling from the previous MDM platform enrollment, Swif enrolls the device under its own management and installs the Swif Agent.

Note: Unlike the macOS installer, the Windows Silent Installer does not require an Identifier or Removal Key.

Option #2: Install via an existing MDM or software patching tool

Let's use Intune as an example.

  1. Make sure your managed devices show up on the Intune Dashboard on the Microsoft Intune admin center.

    *To enroll a device into Intune is outside of this article's topic. Here is how you can do it. Make sure you have an admin user password when connecting to Intune from the device.


  2. Click the menu item Apps. Then click Add → Select Line of business app.

  3. Upload the MSI app you downloaded from Swif. (Please ask the Swif support team for the MSI app.)

  4. Type Name, Description, and Publisher and click "Next".

  5. Based on your deployment needs, choose the devices or users you want to deploy the Swif app with. Then click "Next".

  6. Review and click "Create"

  7. By default, the Intune agent will install the app within 5 minutes.

  8. If you can access the device, you can speed up the sync process by going to Company Portal from Microsoft Store Apps > Open the Company Portal app. Click on the left bar menu: Settings → Sync. Wait while the system syncs to the Intune server. After the sync is completed, it’ll show a message “Last sync on {DATE} was successful.”

  9. The silent installation will take place within 5 minutes. If it doesn't happen, you can sync it from the Intune portal, it will force the device to sync.

  10. Then you can verify Swif Agent Installed by right-clicking from the Windows icon and clicking Settings → Accounts → Access work or school.

  11. You can check logs in C:\Program Files\Swifteam\log.txt. Or open the PowerShell terminal and then check the scheduler running sc.exe query STService.

FAQ

  1. Silent installer can not auto-enroll via Intune on my test machine

    Did you use this test machine to run the Swif silent installer in other ways before? Intune doesn't install the Silent Installer if an installer was installed earlier. Intune would check if Swif's silent installer version (or a later version) is already on the device. Remove the old Swif silent installer from the device and test again.

  2. Failed to enroll a test device into Intune for testing the Swif silent installer
    If you tried this documentation and assigned permissions to your user. But it didn’t work.

    "The MDM authority banner never popped up for me, so it was set to unknown. I had to force it to appear by going into troubleshooting -> guided scenarios -> Set up a test device to try out cloud management. This got it to pull up, and I was able to set the authority and get the device added."


Did this answer your question?