Simple files and folders drop on to a device using Intune

2021, Jun 04

So a quick blog on how to drop files on to device using Intune win32.app.

1). Download the Win32 App packaging tool (This changes the files to .intunewin app format) from this GitHub -

(intunewin GitHub )

Download the app packaging tool as Zip File

Incoming Connector

2). Unzip the contents of the Win32 App packaging tool to a handy location ie.. C:\IntunePacker

Incoming Connector

3). The command we need to run is IntuneWinAppUtil.exe but we need to setup a "source folder" a "source setup file" and a "output folder"

Incoming Connector

4). Setup the following so we can run the command.

"Source folder: C:\IntunePacker\Source\FileDrop"

"Setup file: blank.exe" (in source folder)

"Output folder: C:\IntunePacker\Output\FileDrop"

Incoming Connector

5). we also need to create a quick powershell to copy the files from its temp location from Intune to the new local directory.

Incoming Connector

Add your files you want to copy to "C:\IntunePacker\Source\FileDrop"

6). The finished folder should look like this.

Incoming Connector

7). Run the IntuneWinAppUtil.exe with the following switchs.

Incoming Connector

And you should see your Intune Package ready in the output folder

Incoming Connector

8). Now head over to the endpoint portal

(endpoint.microsoft.com )

9). Click 'Apps' on left hand side, click on 'All Apps' and then click 'add'

Incoming Connector

10). On the drop down list select the app required ie.. Win32 engine and click 'select'.

Incoming Connector

11). Add the Intune package you created ie.. CopyFiles and click OK.

Incoming Connector

12). In the App information we only need to compelete Name + Descrption + Publisher and click Next

Incoming Connector

13). In the App Program we need to reference the powershell we created in step 5,

Put the powershell command in both install and uninstall boxes ie.. powershell.exe -executionpolicy Bypass .\CopyFiles.ps1

Incoming Connector

And click Next.

14). Specify the requierments you need and click Next

Incoming Connector

15). In the detection rule section we need to check that the package has been deployed correctly.

From the Rules Format select 'manually configure detection rules'

Incoming Connector

As we are using a file drop we need to setup the detection rule to see our file if the powershell has worked correctly.

Incoming Connector

Click OK and then Next

16). Click Next on the Dependencies Screen.

Incoming Connector

17).Click Next on the Supersedence Screen.

Incoming Connector

18). If you are running in a enviroment that is using scope tags you can add them here once done click next

Incoming Connector

19). Now we need to add groups to deploy the package to and click Next

Incoming Connector

20).The final screen is where you can double check all the information provided so far in the pocress if all correct click Create.

Incoming Connector

21). The Application will then be created and ready to go.

Incoming Connector