ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Using UNC Paths or mapped network drives (printers) in Windows Jobs


Article ID: 88875


Updated On:


CA Automic Workload Automation - Automation Engine


Using UNC Paths or mapped network drives (printers) in Windows Jobs


Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager



A windows job does not work correctly using mapped network sources or a network drive or network printer

Possible Error messages: The system cannot find the path specified. Access is denied.


UsuallyWindows Agents (started with SMGR) are started with Win user "local systemaccount"

This canbecome a problem if you want to use UNC Paths or mapped network drives.Therefore the local system account has no privileges per default.

Even if your Loginobject contains an user withthe necessary credentials it can lead to the above mentioned Error messages


There areseveral possible solutions for this:


  • A) Start the agent with userscredentials



The user who starts the agent and the user in login object needs the permissions to access the UNCPath or network drive


  • B) Use a net use command to map theuser within the Job Script



net use G: \\DOMAIN\SHARE  /user:DOMAIN\USER password /persistent:no

dir G:


  • C) Use a net use command to establish aconnection without a drive letter



net use \\DOMAIN\SHARE  /user:DOMAIN\USER password /persistent:no



This alsoworks for Network Printers.