Skip to main content
Version: 4.1.x

Group Policy - Toolkit LogPath

Introduction

In this example, we will create a Group Policy Object to define the log path for our PSADT 4.1.x package deployments.

This provides the benefit of:

  • Standardizing your PSADT deployments logging location
  • Not having to config each deployment package with the correct log path

Assumptions:

  • You need to have already imported the ADMX Templates into your Central Store.

Create a new Group Policy Object

  • Start by opening the Group Policy Management Editor
  • Then Right-Click on 'Group Policy Objects' and select 'New'

Create New GPO

  • Enter a name
    • In this example, I'm using PSADT 4.1

Create New GPO - Name

Edit the Group Policy Object

  • After creating the GPO, find it under Group Policy Objects
  • Right-Click and select Edit

Edit GPO

  • Expand down to Toolkit
  • Right-Click on LogPath and select Edit
Computer Configuration
└───Policies
└───Administrative Templates: Policy definitions
└───PSAppDeployToolkit
└───Toolkit

Edit GPO Policy

  • Select Enable, and then define a Path.
  • In this example, I'm using the Intune Management Extension Log folder:
$envProgramData\Microsoft\IntuneManagementExtension\Logs

Configure Policy

  • Select OK to close the Policy window
  • Configure any other desired policies
  • Close the Policy Editor window

Now that we have the GPO created and configured, lets Link it to the domain or desired OU.

  • Navigate to the Desired location you want to link the GPO
  • Right-Click and select Link an Existing GPO...

Link Policy

  • Select the previous created and configured policy and then click OK

Select Link Policy

  • You will now see the GPO Linked to the location you select

Link Policy Success

Update Group Policy

On a machine that is scoped for the police, run the below command to update Group Policy

gpupdate /force

Update Group Policy

Verify the Group Policy Applied

You can verify the status of the policy by running the below command

gpresult /r /scope computer

Verify Group Policy

Verify the Policies in the Registry

You should see the setting applied within the Registry

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\PSAppDeployToolkit\Config\Toolkit

Verify Group Policy

Run a Deployment

Now when a deployment is ran, PSAppDeployToolkit will import any settings in Group Policy as it initializes.

Below we can see that the deployment is running and the log file was created in the ProgramData\Microsoft\IntuneManagementExtension\Logs folder

Run a Deployment

Look for us at these events...

MMS: Music City Edition 2025
October 12th to 15th • Nashville, Tennessee, USA
Up Next
AppManage2025AppManage2025
October 10th • Utrecht, The Netherlands
MAEDS Fall Conference 2025MAEDS Fall Conference 2025
October 29th to 31st • Michigan, USA