---
title: "XEOX Policy for assigning Printer Shares"
description: "Learn how to automatically assign Printer Shares via XEOX Policies."
category: "Knowledge Base"
subcategory: "Collection"
last_updated: "2023-07-18"
source_url: "https://docs.xeox.com/knowledge-base/1tsADjnvsqfNJwHKuwpWZK/xeox-policy-for-assigning-printer-shares/9gyMMeiofVWYe47s7Zd8bu"
---

# XEOX Policy for assigning Printer Shares

In order to automatically assign printer shares, you have to create a policy.

To start, go to **Automations - Templates - Template Library**. XEOX provides you with two templates:

![notion image](https://docs.xeox.com/media/947d13a4863742ee.png)

- Printer assignment

Just tries to connect to the printer.

- Printer assignment with connection check

Makes a ping on the print server beforehand and if this is not available, it doesn’t make an assignment.

Copy the template you want to use to your own library, by clicking on the copy button. You need to copy it for the next step.

![notion image](https://docs.xeox.com/media/63797b1597f03318.png)

> All agent versions need to be > 2.0.0.47

Now you have to access **Automations - Policies** and click on the **Create** button.

![notion image](https://docs.xeox.com/media/907cb79a05c9ad0f.png)

![notion image](https://docs.xeox.com/media/266bef449751bc15.png)

Ensure that you select **On user logon** in the **Execution Frequency** section while setting up the policy. This will guarantee that whenever a user logs in to the device, a logon user event is generated. This event verifies the presence of an appropriate policy, and if found, an automation is automatically generated using the template and executed on the device.

![notion image](https://docs.xeox.com/media/db13419906aef690.png)

Lastly select the [template](https://docs.xeox.com/automations/kk29w6Dr2iM3dbYa6gqsvV/templates/ne8Wq6MJkpCjKF81uHfc4d) and hardware you want to use.

> You can only select templates that you have copied to your own template library.

![notion image](https://docs.xeox.com/media/227067f6ee1db57b.png)
