[wpkg-users] Getting WNetAddConnection2

Jason Oster jason.oster at campnavajo.com
Wed Nov 10 18:33:33 CET 2010


On 11/10/2010 09:38 AM, Jeff_Applegate at fws.gov wrote:
> All,
>
> I am getting the error "WNetAddConnection2-> A specified logon session
> does not exist. It may already have been terminated." What I have found
> is that I have my personal VM that I can run this on perfectly. I just
> built up a physical system and I am getting the error listed above. With
> my VM the WPKG service starts no problem. With the physical system the
> service doesn't start. That is why I believe that I am getting the above
> error. Does anyone have any suggestions on how to fix the error?

Ensure the service is trying to start with the default SYSTEM account, 
and not as a domain or local computer user.  In wpkginst.exe, the "WPKG 
execution context" will have user set to "SYSTEM" and password unset.

It could also be related to the WPKG path user/password.  I use an 
anonymous read-only Samba share for my WPKG source, so user/password are 
not necessary.  It could be different with domain shares.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jason_oster.vcf
Type: text/x-vcard
Size: 304 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101110/4c07d40c/attachment-0002.vcf>


More information about the wpkg-users mailing list