Ask the Community
Groups
#vPatchConfiguration.LanCacheUNCPath# variable not storing value - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="problem"><strong>Problem</strong></h2> <p><em><strong>#vPatchConfiguration.LanCacheUNCPath#</strong></em> variable in the agent procedure gives no data when ran against few agents despite having the LAN cache assigned to the machine.</p> <p> </p> <h2 data-id="cause"><strong>Cause</strong></h2> <p>This particular view that we are referring is getting the information from "Patch Management > File Source" page but despite having the LAN cache assigned to the machine if the File source is set to anything other than LAN Cache, it will show the blank value for the view.<br><br></p> <h2 data-id="resolution"><strong>Resolution</strong></h2> <p>Make sure that the file source is assigned to the machine as a LAN cache. Anything else apart from this wouldn't show the value for the variable in the agent procedure.</p> <p><br>You can confirm the same using the below query.</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">select MachineId, LanCacheUNCPath, FileSourceSetting from vpatchConfiguration<br>where AgentGuid = XXXX</pre> <p>Replace XXXX with the agentGuid. </p> <p> </p> <p>File Source setting '3' in this query indicates that the agent is configured to use the LAN Cache feature.</p> <p> </p> </article> </main>