MyQ DDI Implementation to a Domain Server
On the domain server, run the Group Policy Management application from the Windows Start menu. You can alternatively use the [Windows + R] key and run gpmc.msc .
Creating a new Group Policy Object (GPO)
Create a new GPO over the group of all the computers/users you want to use MyQ DDI for. It is possible to create a GPO directly on the domain, or on any subordinate Organization Unit (OU). It is recommended to create the GPO on the domain; if you want to apply to selected OUs only, you can do it later in the next steps.
![Creating a GPO](../../../__attachments/1118011407/CreateGPO.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
After you click on Create and Link a GPO Here…, enter a name for the new GPO.
![Adding a name for the GPO](../../../__attachments/1118011407/GPOName.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
The new GPO appears as a new item in the tree on the left side of the Group Policy Management window. Select this GPO and in the Security Filtering section, right click on Authenticated Users and select Remove.
![Removing authenticated users from the GPO](../../../__attachments/1118011407/RemoveAuthUsers.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Modifying Startup or Logon script
Right click on the GPO and select Edit.
![Editing the GPO](../../../__attachments/1118011407/EditGPO.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Now you can select if you want to run the script upon the computer’s startup or the user’s login. It is recommended to run MyQ DDI upon the computer’s startup, so we will use it in the example in the next steps.
In the Computer Configuration folder, open Windows Settings and then Scripts (Startup/Shutdown).
![](../../../__attachments/1118011407/GPOScripts.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Double-click on the Startup item. The Startup Properties window opens:
![Startup properties](../../../__attachments/1118011407/StartupProperties.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Click the Show Files button and copy all the necessary MyQ files described in the previous chapters to this folder.
![Startup files example](../../../__attachments/1118011407/StartupFiles.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Close this window and return to the Startup Properties window. Select Add... and in the new window click on Browse and select the MyQDDI.ps1 file. Click OK. The Startup Properties window now contains the MyQDDI.ps1 file and looks like this:
![Startup Properties with the MyQDDI.ps1 file added](../../../__attachments/1118011407/StartupScriptAdded.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Click OK to go back to the GPO editor window.
Setting objects and groups
Select again the MyQ DDI GPO you created, and in the Security Filtering section define the group of computers or users where you want MyQ DDI to be applied.
![Adding groups to security filtering](../../../__attachments/1118011407/GPOScope.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Click Add… and first select the object types where you want to apply the script. In case of a startup script, it should be computers and groups. In case of a logon script, it should be users and groups. After that, you can add the individual computers, groups of computers or all the domain computers.
![Selecting object types](../../../__attachments/1118011407/ObjectTypes.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
![setting objects and groups](../../../__attachments/1118011407/SecurityFiltering.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)
Before you apply the GPO to the group of computers or to all the domain computers, it is strictly recommended to select only one computer and then restart this computer to check if the GPO is applied correctly. If all the drivers are installed and are ready to print to MyQ server, you can add the rest of the computers or groups of computers to this GPO.
Once you click OK, MyQ DDI is ready to be automatically run by the script every time any domain computer is switched on (or every time a user logs in if you used the logon script).
![GPO ready to be used](../../../__attachments/1118011407/GPOready.png?inst-v=f576f6b0-eb9f-4035-8724-3dad44b7106e)