-
Notifications
You must be signed in to change notification settings - Fork 1
Home
The tool is a very simple way to automatically connect printers hosted on an on-premises print server to devices that are managed using Microsoft Intune. The tool supports machine and user based configuration while using only user credentials for connections.
This is how the Intune Printer Mapping checks for new printers:
- In Intune Printer Mapping tool checks wether the network configuration has changed and if so
- Will try to connect the drives up to 15 times.
- When 5 tries are used up the Intune Printer Mapping will go to sleep and wait until another network configuration change will occur.
For the tool to work you have to:
- Configure seamless sso to on-premises ressources (For example using this way: Cloud Kerberos trust deployment guide)
- The printer driver needs to be installed on the managed device.
- Print permissions are granted to the user who connect the printer.
The easiest way to deploy the Intune Printer Mapping agent is to use the Microsoft Store app (New) type in Intune. This way you will always get the latest release and automatic updates through the Microsoft Store and reduce service tasks.
- Login to Intune Management Portal.
- Navigate to Windows > Windows apps.
- Create a new app and select the app type Microsoft Store app (new).
- Click on Search the Microsoft Store app (new) and search for the Intune Printer Mapping App from the search field. Select the Intune Printer Mapping entry and click the "Select" button.
- Customize entries as they fit your needs and click "Next" to continue.
- You can chose to assign Scope Tags or assign the app directly to a group.
- Finish the Wizard by clicking "Create".
The Intune Printer Mapping App will register itself as an automatic startup app. However the autostart is disabled as long as the app has not been started at least once or has an explicit permission. To grant the app an explicit permission we need to setup a Restriction profile in Microsoft Intune.
You can create a new restriction profile or use an existing one. To permit the app you have to go into the App Store section and enter the following value to the startup apps textarea:
HaukeGtze.IntunePrinterMapping_6bk20wvc8rfx2

- Download the latest archive which includes the needed .admx and .adml files.
- Unpack the downloaded archive. It contains the following two files:
- Intune Printer Mapping.admx: administrative template
- Intune Printer Mapping.adml: language file for administrative template
Those two files are required for importing a new ADMX template in Microsoft Intune.
Info: ADMX policies contain administrative templates. These in turn contain the metadata of Windows group policies, which can be applied to Windows-based end devices, among other things.
- Procedure to import a new ADMX template:
Login to Intune Management Portal
Navigate to Devices > Windows > Configuration > Import ADMX > Click on Import
- ADMX: "Intune Printer Mapping.admx"
- ADML: "Intune Printer Mapping.adml"
Click on "Next" and wait until uploading process is completed.
- Create a new policy for Intune Printer Mapping
Login to Intune Management Portal
Navigate to Devices > Windows > Configuration > Policies > Create > New Policy > Windows 10 and later > Templates > Imported Administrative templates (Preview) > Click on Create
Basics tab:
- Name: Enter a proper name for your Policy
- Description: Enter a proper description for your Policy
Configuration Settings:
Navigate to Machine Configuration > Intune Printer Mapping > Configuration > Enable Intune Printer Mapping
- Value: Enabled
Important: You must set this value in each Intune Printer Mapping policy otherwise the Intune Printer Mapping tool will not map any printer.
Navigate to User Configuration > Intune Printer Mapping > Printers > Printer operation 0
- Path: \\Path\to\your\Printer
- Operation: Select Add if you want to install the printer or Delete if you want to remove the printer connection.
- SetDefault: Sets the printer as default printer.
You can configure multiple printer connections in one policy. Use User Configurations if you want to assign printers in the user context and Machine Configurations if you want to assign the printer to all users on the device (However each user must still have permission to access the printer since all connections are user initiated).
- Assign the created policy to a suitable group.
- Check that the application Intune Printer Mapping is already installed.
You'll find the application at the start menu with the name "Intune Printer Mapping".
- Check the currently mapped printers in your settings app.
If you just configured the new ploicy you should wait a few minutes or you can trigger a manual sync in the company portal or restart your device to get the newest configurations.
- Check wether the drivers are already installed (The tool does not do that for you).
- The configured path may not be accessible
- There may be a problem with the permissions. The user may not have the print permission on the printer object on the on-premises printer server. Note that all printer connections done with user permissions (Even those for machines).
You check the following registry key: HKEY_CURRENT_USER\Software\Policies\weatherlights.com and HKEY_LOCAL_MACHINE\Software\Policies\weatherlights.com
You can find the log in the following folder: %LOCALAPPDATA%\Packages\HaukeGtze.IntunePrintMapping_6bk20wvc8rfx2\LocalCache\Roaming\weatherlights.com.