[wpkg-users] WNetAddConnection2-> A specified logon session does not exist. It may already have been terminated..

Tomasz Chmielewski mangoo at wpkg.org
Tue Apr 21 15:46:17 CEST 2009


Chris Wilcox schrieb:
> Hi all,
>  
> I have a number of sites who have a Linux-based Internet cache/proxy 
> with some preconfigured shared drives for storing user work 
> (school/education).
>  
> None have any other servers on site so I was hoping to make use of one 
> of these shared drives for wpkg.  I can install, configure and test the 
> wpkg client on the computers with no problem, all tests pass 'OK', 
> however upon reboot of the PC, wpgk starts up as expected but closes 
> within about 15 seconds.  The Event Viewer error states:
>  
> "WNetAddConnection2-> A specified logon session does not exist. It may 
> already have been terminated.."
>  
> No other network drives etc are mapped from these computers to this 
> Linux server and all tests from wpkginst.exe succeed as 'OK' so I am a 
> little confused.  I have to connect to a share as 'Guest' with a simple 
> text password otherwise access is denied, but this information is in the 
> wpkg settings, so any help would be appreciated!  I'd like to avoid the 
> need to purchase any additional hardware to serve wpkg.js and/or 
> software storage and using a PC for this isn't an option either.

Yes, it's a known issue in WPKG Client with no fix.
It affects some configurations for some reason.

Some workarounds:

1) try latest-greatest WPKG Client from 
http://www1.wpkg.org/files/client/beta/test/

2) try to execute all actions on shutdown (option in WPKG Client)

3) for some people, adding some service dependencies is enough - search 
the mailing list for "WNetAddConnection2"



-- 
Tomasz Chmielewski
http://wpkg.org



More information about the wpkg-users mailing list