Environment variable "NWUSERNAME" is no longer being set automatically

  • 7006517
  • 27-Jul-2010
  • 30-Jan-2013


Novell Client for Vista
Novell Client for Windows 7


In versions of the Novell Client for Windows XP, Windows 2000 and Windows NT, the environment variable "NWUSERNAME" was automatically set to the CN of the user.  With the Windows Vista and Windows 7 clients, this is no longer the case.


Fixed in Novell Client 2 SP3 for Windows, or later.

Additional Information

Enabling the "Run logon scripts synchronously" policy may be necessary to ensure the NWUSERNAME variable gets into the environment of the initial EXPLORER.EXE instance, so that it is present during the launch of any additional applications or Command Prompts.
See the Novell Client readme section "4.16 Login Script Execution Starts Before User’s Desktop" in
https://www.novell.com/documentation/vista_client/readme/ncwv_readme.html#bnms60r for information on this Windows policy.