Automatic Login Windows 7 32bit Novell Client 2 SP1

I miss the autolog utility from cool tools so much I could cry. OK honestly I am crying right now.
I am not the network or server admin but I administer 200 PCs on one part of the network. I used the old autolog tool for 10 years to turn on auto login when I work on the PCs and turn off auto login when done. I used another tool to broadcast the right command to the old autolog utility and they all logged in. I need to do this at least weekly. I have found almost all the registry settings I need to make Windows 7 32bit Novell Client 2 SP1 auto login using registry scripts BUT one thing does not work.
THE PROBLEM

When I set it to log in both the client and Windows it stops and shows me the local user welcome icon instead of logging in. If I set it up to prompt for Novell Login BUT log the Windows user in automatically then the windows user auto-logs in just fine. I had these scripts working with Vista just fine. What has changed what am I missing

registry script log in both

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
"DefaultUserName"="NWuser"
"AutoAdminLogon"="1"
"DefaultLocationProfile"="Default"
"DefaultPassword"="NWpassword"
"Local Login"=dword:00000000
"AutoAdminQueryNDS"=dword:00000000


[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NWGINA\Login Screen]
"NetWareAutoAdminLogon"="1"
"DefaultNetwareUserName"="NWuser"
"DefaultNDSContext"="STU.campus"
"DefaultNDSTree"="NPT"
"DefaultNDSServer"="myserver"
"DefaultNetWarePassword"="NWpassword"
"Login When NWGina Not Loaded"="YES"

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login\Profiles]
@=""
"Last Logged In User Name"="NWuser"

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login\Profiles\Users\NWuser]
"Last Used"="<DEFAULT>"

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login\Profiles\System\Default\Tab3]
"Tab"="Windows"
"Windows Username"="patron"
"Windows Domain"="patron97"
"Windows Password"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"forceunlocklogon"=dword:00000000
"AutoAdminLogon"="1"
"DefaultUserName"="patron"
"DefaultDomainName"="PATRON97"
"DontDisplayLastUserName"="0"
"ForceAutoLogon"="1"
"GinaDLL"="NWGINA.DLL"
"Never Login"=dword:00000000
  • * OLIVERG (Wed, 01 Dec 2010 00:36:02 GMT)
    > I am not the network or server admin but I administer 200 PCs on one
    > part of the network. I used the old autolog tool for 10 years to turn on
    > auto login when I work on the PCs and turn off auto login when done. I
    > used another tool to broadcast the right command to the old autolog
    > utility and they all logged in. I need to do this at least weekly. I
    > have found almost all the registry settings I need to make Windows 7
    > 32bit Novell Client 2 SP1 auto login using registry scripts BUT one
    > thing does not work.
    >
    > THE PROBLEM
    > When I set it to log in both the client and Windows it stops and shows
    > me the local user welcome icon instead of logging in. If I set it up to
    > prompt for Novell Login BUT log the Windows user in automatically then
    > the windows user auto-logs in just fine. I had these scripts working
    > with Vista just fine. What has changed what am I missing


    Follow the documentation in the admin guide ("8.9 Enabling
    AutoAdminLogon"), it works.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
    "AutoAdminLogon"="1"
    "DefaultLocationProfile"="Default"
    "DefaultPassword"="PASSWORD"
    "DefaultUserName"="USERNAME"
    "AutoAdminQueryNDS"=dword:00000000

    Thorsten
  • OLIVERG;2051260 wrote:
    I miss the autolog utility from cool tools so much I could cry. OK honestly I am crying right now.
    I am not the network or server admin but I administer 200 PCs on one part of the network. I used the old autolog tool for 10 years to turn on auto login when I work on the PCs and turn off auto login when done. I used another tool to broadcast the right command to the old autolog utility and they all logged in. I need to do this at least weekly. I have found almost all the registry settings I need to make Windows 7 32bit Novell Client 2 SP1 auto login using registry scripts BUT one thing does not work.
    THE PROBLEM

    When I set it to log in both the client and Windows it stops and shows me the local user welcome icon instead of logging in. If I set it up to prompt for Novell Login BUT log the Windows user in automatically then the windows user auto-logs in just fine. I had these scripts working with Vista just fine. What has changed what am I missing

    registry script log in both

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login]
    "DefaultUserName"="NWuser"
    "AutoAdminLogon"="1"
    "DefaultLocationProfile"="Default"
    "DefaultPassword"="NWpassword"
    "Local Login"=dword:00000000
    "AutoAdminQueryNDS"=dword:00000000


    [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NWGINA\Login Screen]
    "NetWareAutoAdminLogon"="1"
    "DefaultNetwareUserName"="NWuser"
    "DefaultNDSContext"="STU.campus"
    "DefaultNDSTree"="NPT"
    "DefaultNDSServer"="myserver"
    "DefaultNetWarePassword"="NWpassword"
    "Login When NWGina Not Loaded"="YES"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login\Profiles]
    @=""
    "Last Logged In User Name"="NWuser"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login\Profiles\Users\NWuser]
    "Last Used"="<DEFAULT>"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\Login\Profiles\System\Default\Tab3]
    "Tab"="Windows"
    "Windows Username"="patron"
    "Windows Domain"="patron97"
    "Windows Password"=""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "forceunlocklogon"=dword:00000000
    "AutoAdminLogon"="1"
    "DefaultUserName"="patron"
    "DefaultDomainName"="PATRON97"
    "DontDisplayLastUserName"="0"
    "ForceAutoLogon"="1"
    "GinaDLL"="NWGINA.DLL"
    "Never Login"=dword:00000000
  • Without thinking too hard about it I presume this is releated to the latest clients inability to handle clear text passwords. If you manually set the Win 7 password using user controlpasswords2 (LSA) does everything work?

    kevgo
  • Need coffee.. brain has yet to engage... control.exe userpasswords2 is what you are looking for.
  • Thorsten..

    In our environment (Win 7 64 bit) we seem to have a requirement to encrypt the Win 7 password on the local machine before being able to autoadminlogon. We create our image, run sysprep, send up the image, bring it down to another machine.. and then no go.

    Suggestions?
  • * kevgo (Wed, 01 Dec 2010 13:06:01 GMT)
    > In our environment (Win 7 64 bit) we seem to have a requirement to
    > encrypt the Win 7 password on the local machine before being able to
    > autoadminlogon. We create our image, run sysprep, send up the image,
    > bring it down to another machine.. and then no go.
    >
    > Suggestions?


    The documentation:
    "NOTE: If the Windows password is the same as the eDirectory password,
    the last value [the user's eDirectory password] is not necessary. In the
    future, a way to securely store the eDirectory password might be
    provided."

    Thorsten
  • * kevgo (Wed, 01 Dec 2010 13:06:01 GMT)
    > In our environment (Win 7 64 bit) we seem to have a requirement to
    > encrypt the Win 7 password on the local machine before being able to
    > autoadminlogon. We create our image, run sysprep, send up the image,
    > bring it down to another machine.. and then no go.
    >
    > Suggestions?


    The documentation:
    "NOTE: If the Windows password is the same as the eDirectory password,
    the last value [the user's eDirectory password] is not necessary. In the
    future, a way to securely store the eDirectory password might be
    provided."

    Thorsten
  • Thank you there is really good response on this list.
    1 - I did try setting the windows user automatic log in via the control.exe userpasswords2 but I did it after I tried it via the registry.

    What I will try next is to set up the windows user to have the same password as my Novell maintenance log in account.

    I will check this on Friday when i get back to work and post back.

    After I posted this I found something else different since I did this in vista. It seemed I also needed to set up the registry for the Novell maintenance log-in PROFILE and not just the default profile. If that rings true when I test next time I will post all working registry code. After I get this I still have to package the whole thing in a VB script that can accept the user and password as parameters. The Fun is just beginning.
  • So, is the problem that you are needing to log into both the novell network, and the Windows account at the same time? I'm kind of in the same boat right now with Windows 7. I would like to figure out a way to have a PC log in to both novell and the local account, and then later on script an action where it would make a novell login required, but still automatically log into Windows.

    I feel your pain, moving a lab to Windows 7 has made me cringe very frequently over the past few weeks. :-)
  • I have written a vbscript that changes to autologin and then switches to Novel prompt but login to Windows automatically with my default user.
    Autologin requires that the novel user and the local PC user have the same password but can be different user names. I'm not sure why.
    The script I use may be set up for my environment primarily but you should be able to tweak it for many different environments.
    It does it by writing and deleting registry values to about 20 different keys.
    I will post a sanitized version some time today.