---
title: Specify UNC Paths
description: "Specify UNC (Universal Naming Convention) PathsSpecify UNC (Universal Naming Convention) Paths\nDuring configuration of a Log File Policy, you can spe"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/specifyuncpaths#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Documentation](https://mydev.netwitness.com/knowledge-base/documentation?hsLang=en)

April 28, 2026

# Specify UNC Paths

## Specify UNC (Universal Naming Convention) PathsSpecify UNC (Universal Naming Convention) Paths

During configuration of a Log File Policy, you can specify the log file path. You can set one or more paths to be used by the agent to locate the log files. The path can be a standard Windows pathname (such as C:\\Program Files\\Apache\\error\_logs\\logfile.log) or a UNC (Universal Naming Convention) pathname (\\\\host-name\\share-name\\file-path). This topic describes how to specify a UNC path.

## Secure the UNC Path LocationSecure the UNC Path Location

When you use a UNC path to collect log data on a remote system, make sure that you secure the UNC path location. One solution that works with minimal risk in a Windows domain environment is to do the following:

1. Create a share on the directory on the computer where the log data exists in isolation.
2. Name the share to something like **LOGDATA$** for example. (Shares can be hidden from curious browsers by adding a "$" to the end of the share name).
3. Remove all the default share permissions except local admin so it can be changed.
4. Add a share permission for the agent computer system. This allows any user on the agent system to access the shared location. On the agent system collecting the remote log data, nothing else should be required to properly collect the log data from the UNC path.

**Note:** You may not be able to view the UNC directory contents from file explorer. Seek advice from your IT or security group for additional guidence to setting up and securing a UNC directory share.

The following procedures describe how to:

- [Share a folder between machines in a domain](https://mydev.netwitness.com/knowledge-base/specifyuncpaths#Share), and
- [Share a folder between machines in a Workgroup](https://mydev.netwitness.com/knowledge-base/specifyuncpaths#Share2)

## Share a folder between machines in a domainShare a folder between machines in a domain

This procedure describes how to share a folder between Windows machines that are both in the same domain.

1. Log on to a Domain member machine that contains the logs folder you want to collect using an agent.
2. Right click on the folder you want to share with the agent to collect logs from, and click **Properties**: **SHARE$** in this example.
   
   ![netwitness\_unc\_domain\_properties.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/417560iC82C1E82CFBE65EF-1.png "netwitness_unc_domain_properties.png")
3. Click Advanced Sharing, select Share this folder, and then click Permissions.
   
   ![netwitness\_unc\_domain\_advanced.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/416999i0431D43C84DE0AA5-1.png "netwitness_unc_domain_advanced.png")
4. Click **Add**, and then on the next window click **Object Types**, check **Computers**, hit **OK**.
   
   ![netwitness\_unc\_domain\_objecttypes.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/414517i4A81AEA9B1071390-1.png "netwitness_unc_domain_objecttypes.png")
5. Search for the Agent computer name as shown below and click **OK**.
   
   ![netwitness\_unc\_domain\_agentname.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/418334i8DB16E3411EC7A05-1.png "netwitness_unc_domain_agentname.png")
6. In the Permissions screen, provide **Read** permission to the agent, click **Apply**, and then click **OK**.
   
   ![netwitness\_unc\_domain\_readpermission.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/416108iD8BCC9357D5849D7-1.png "netwitness_unc_domain_readpermission.png")
7. Remove **Everyone** from the Share Permissions list.
   
   ![netwitness\_unc\_work\_removeeveryone\_322x399.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/414647i75C7D94EEDD9A93C-1.png "netwitness_unc_work_removeeveryone_322x399.png")
8. Verify that now the **SHARE$** folder status is correct, and note the network path so that you can enter it later, when you configure the policy that will use this shared folder.
   
   ![netwitness\_unc\_domain\_verify.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/418676iCD3ECE33CAF06708-1.png "netwitness_unc_domain_verify.png")

## Share a folder between machines in a WorkgroupShare a folder between machines in a Workgroup

This procedure describes how to share a folder between Windows machines that are both in the same Workgroup.

1. Log on to a workgroup machine that contains the logs folder you want to collect using an agent.
2. Create a non-admin user for log collection: **Reader** in this example.
   
   ![netwitness\_unc\_work\_createuser.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/415327i4BA2A42F29084880-1.png "netwitness_unc_work_createuser.png")
3. Right click on the folder you want to share with the agent to collect logs from, and click **Properties**: **SHARE$** in this example.
4. Click the **Sharing** tab, then click **Share**.
   
   ![netwitness\_unc\_work\_properties.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/413249i37F5FE23473DA048-1.png "netwitness_unc_work_properties.png")
5. Choose the newly-created user and click **Add**.
   
   ![netwitness\_unc\_work\_shareuser.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/417228iCB7BDC867AF34ED0-1.png "netwitness_unc_work_shareuser.png")
6. Select the **Read** permission and click **Share**.
   
   ![netwitness\_unc\_work\_readpermission.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/415388iF04E356C3AC32523-1.png "netwitness_unc_work_readpermission.png")
7. Log onto the Agent to add credentials, so that the system can read logs from the shared folder.
   
     1. Download the psexec tool from the Microsoft web site.
     2. Run the following command:
        
        psexec -i -s cmd.exe
        
        A new command window opens, running as **system**.
     3. In the command window, run the following command to cache credentials for the newly-created user to access logs on shared folder from a workgroup machine:
        
        net use \\\\**hostname of machine with logs**\\Share$
        
        For example:
        
        net use \\\\WGWINAGENT2\\Share$
     4. Provide the username and password for the non-admin user created earlier (in step 2).
        
        ![netwitness\_unc\_work\_command\_451x135.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/418624i604FE2FBD02272EC-1.png "netwitness_unc_work_command_451x135.png")
   
   This command adds credentials to read logs from the shared folder on the workgroup machine.

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.