Automatic Logon

Discussion in 'Windows Vista' started by turb0z, Dec 2, 2008.

  1. turb0z

    turb0z MDL Novice

    Dec 2, 2008
    #1 turb0z, Dec 2, 2008
    Last edited by a moderator: Apr 20, 2017

    My first post here and I didn't find anything under searching. I hope that I'm not reposting something.

    Anyway, I'm setting up a cafe system of about 30 systems using Vista and Windows SteadyState.

    These systems have an automatic logon element. I've scripted this information to edit the following keys (the account has no password):

    WshShell.RegWrite ("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\ForceAutoLogon", "1", "REG_SZ")
    WshShell.RegWrite ("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon", "1", "REG_SZ")
    WshShell.RegWrite ("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName", "cybercafe", "REG_SZ")
    WshShell.RegWrite ("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword", "", "REG_SZ")
    I initially I did not have the ForceAutoLogon enabled and autologon would only work once. After that I'd get a prompt to logon. This was not expected.

    However, now that I've done this ForceAutoLogon registry entry, I've found that even if I hold the Shift Key during logoff/bootup the system automatically logs in.

    Between steadystate and those who are familiar with it's disk protection, I don't believe I'll absolutely need the ForceAutoLogon, but I'd like to have it there. Is there something I can do to bypass this outside of holding Shift? It seems that Vista changed how this interfaces and you're left with a system that only logs on to the account you set.

    I might add: I have a test image build right now, so nothing is "broke" so-to-speak. The user being automatically logged on has user rights, not admin.

    Thanks in advance for the help!
  2. turb0z

    turb0z MDL Novice

    Dec 2, 2008
    How is this not related to Vista???

    Anyway, nevermind. I was able to create a workaround yesterday.
  3. turb0z

    turb0z MDL Novice

    Dec 2, 2008

    Thanks. [/sarcasm]

    If you noticed, I'm implementing an image, that doesn't help me much in terms of automation and I'm looking to have automatic login, not prevent it.

    Mods: go ahead and close/delete/whatever this thread. Obviously no one has a clue what I'm asking and I've figured it out myself already.
  4. petar

    petar MDL Expert

    Apr 5, 2008
    And what about this...;)
    Info included.

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. gaughaet

    gaughaet MDL Novice

    Dec 9, 2008

    I am having a similar problem, though I am not using Steady state. I would like to be able to use the forceautologon key, but cannot override it to get the the administrative acccount when needed. I have this on about 25 Machines

    Turb0z I was wondering if you could post your solution?

    Or if anyone else has any ideas.