<div class="gmail_quote">On Wed, Apr 6, 2011 at 9:39 AM, Michael Seward <span dir="ltr"><<a href="mailto:MichaelSeward@tengroup.com">MichaelSeward@tengroup.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everyone,<br>
<br>
I'm trying to use WPKG with the default 'netlogon' share on our domain<br>
controllers, with a sub-folder of 'wkpg' - so that whichever site a PC is on the<br>
WPKG client can get the install package locally instead of downloading packages<br>
across our WAN.<br>

<br>
I'm trying to reference the netlogon share in the WPKG client by using the<br>
%LOGONSERVER% variable, but the client crashes when I do this. E.g. the entry in<br>
the client settings 'WPKG file path' is %LOGONSERVER%\netlogon\wpkg\wpkg.js and<br>
the SOFTWARE variable is set as '%LOGONSERVER%\netlogon\wpkg\software'<br>

<br>
Has anyone used this approach and if so how do I correctly reference the system<br>
variable for the netlogon share through the client settings? I don't want to<br>
specify a server name or IP address as that then links the client only to that<br>
site and I'll have to setup WPKG repositories on each site.<br>
<br></blockquote><div> </div><div>Michael,</div><div><br></div><div>We use the NETLOGON share on our domain controllers for storing profile and package definitions as well as wpkg.bat and wpkg.js, but %SOFTWARE% is located on separate fileservers in each site (wpkg.bat chooses the appropriate fileserver based on the workstation's gateway.</div>
<div><br></div><div>Anyway, I would recommend using the fully qualified domain name to reference the netlogon share like this:</div><div><br></div><div>\\<a href="http://fully.qualified.domain.name">fully.qualified.domain.name</a>\NETLOGON\wpkg\wpkg.bat</div>
<div><br></div><div>At least for us MS DNS subnet prioritization ensures that "<a href="http://fully.qualified.domain.name">fully.qualified.domain.name</a>" resolves to the IP of the local domain controller (the same as %LOGONSERVER% would in optimal situations).  If you have one or more sites without a domain controller, then you may want to see what domain controller they will hit by looking at the first IP address returned by:</div>
<div><br></div><div>nslookup <a href="http://fully.qualified.domain.name">fully.qualified.domain.name</a></div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Troy</div><div><br></div></div>