Home All Groups Group Topic Archive Search About
Author
1 Mar 2007 12:58 PM
Markus Weber (Megalith GmbH)
Hello!

I wrote a program with VB6 to enable Autologon. This are just a veiw
registry values to write. This is no more working with Windows Vista,
but I only find an article on Microsoft Website for XP-autologon. Does
someone know how to create Autologon on Windows Vista?

Thanks in advance!

Author
1 Mar 2007 2:50 PM
Paul Clement
On Thu, 01 Mar 2007 12:58:19 GMT, m.we***@megalith-software.de (Markus Weber (Megalith GmbH)) wrote:

¤ Hello!
¤
¤ I wrote a program with VB6 to enable Autologon. This are just a veiw
¤ registry values to write. This is no more working with Windows Vista,
¤ but I only find an article on Microsoft Website for XP-autologon. Does
¤ someone know how to create Autologon on Windows Vista?

I believe there is an Autologin command line utility that can easily handle this for your. It needs
to run with an elevated privilege.

The other option is to create a credential provider, which may be somewhat involved for a Visual
Basic implementation.

http://www.microsoft.com/downloads/details.aspx?FamilyID=B1B3CBD1-2D3A-4FAC-982F-289F4F4B9300&displaylang=en


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
1 Mar 2007 6:33 PM
Karl E. Peterson
Markus Weber (Megalith GmbH) <m.we***@megalith-software.de> wrote:
> I wrote a program with VB6 to enable Autologon. This are just a veiw
> registry values to write. This is no more working with Windows Vista,
> but I only find an article on Microsoft Website for XP-autologon. Does
> someone know how to create Autologon on Windows Vista?


Is it writing information here?

  HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon

That's not something you're likely to get away with much longer, as you've found.
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
2 Mar 2007 5:23 PM
Markus Weber
Show quote Hide quote
"Karl E. Peterson" <k***@mvps.org> schrieb:

>Markus Weber (Megalith GmbH) <m.we***@megalith-software.de> wrote:
>> I wrote a program with VB6 to enable Autologon. This are just a veiw
>> registry values to write. This is no more working with Windows Vista,
>> but I only find an article on Microsoft Website for XP-autologon. Does
>> someone know how to create Autologon on Windows Vista?
>
>
>Is it writing information here?
>
>  HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
>
>That's not something you're likely to get away with much longer, as you've found.

Yes I write the following keys::
AutoAdminLogon = 1
DefaultUserName
DefaultPassword
DefaultDomainname
Author
5 Mar 2007 10:36 PM
Karl E. Peterson
Markus Weber <pi***@gmx.net> wrote:
Show quoteHide quote
> "Karl E. Peterson" <k***@mvps.org> schrieb:
>> Markus Weber (Megalith GmbH) <m.we***@megalith-software.de> wrote:
>>> I wrote a program with VB6 to enable Autologon. This are just a veiw
>>> registry values to write. This is no more working with Windows Vista,
>>> but I only find an article on Microsoft Website for XP-autologon. Does
>>> someone know how to create Autologon on Windows Vista?
>>
>> Is it writing information here?
>>
>>  HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
>>
>> That's not something you're likely to get away with much longer, as you've found.
>
> Yes I write the following keys::
> AutoAdminLogon = 1
> DefaultUserName
> DefaultPassword
> DefaultDomainname

I suspect that your application will have to run with Admin credentials, and
possibly UAC turned off, for that to fly.
--
..NET: It's About Trust!
http://vfred.mvps.org
Author
20 Mar 2007 3:17 PM
Markus Weber
Show quote Hide quote
>Markus Weber <pi***@gmx.net> wrote:
>> "Karl E. Peterson" <k***@mvps.org> schrieb:
>>> Markus Weber (Megalith GmbH) <m.we***@megalith-software.de> wrote:
>>>> I wrote a program with VB6 to enable Autologon. This are just a veiw
>>>> registry values to write. This is no more working with Windows Vista,
>>>> but I only find an article on Microsoft Website for XP-autologon. Does
>>>> someone know how to create Autologon on Windows Vista?
>>>
>>> Is it writing information here?
>>>
>>>  HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
>>>
>>> That's not something you're likely to get away with much longer, as you've found.
>>
>> Yes I write the following keys::
>> AutoAdminLogon = 1
>> DefaultUserName
>> DefaultPassword
>> DefaultDomainname
>
>I suspect that your application will have to run with Admin credentials, and
>possibly UAC turned off, for that to fly.

No this doesn't solve the problem. I found a small comand line
application from microsoft called "autologon.exe". It looks that the
autologon mechanism has been changed, becasue the password for example
is no more saved in the "defaultpassword" key. Instead it it saved now
somewhere encrypted. If someone will find a API or something like that
please post it here.
Author
20 Mar 2007 4:31 PM
Karl E. Peterson
Markus Weber <m.we***@megalith-software.com> wrote:
Show quoteHide quote
>> Markus Weber <pi***@gmx.net> wrote:
>>> "Karl E. Peterson" <k***@mvps.org> schrieb:
>>>> Markus Weber (Megalith GmbH) <m.we***@megalith-software.de> wrote:
>>>>> I wrote a program with VB6 to enable Autologon. This are just a veiw
>>>>> registry values to write. This is no more working with Windows Vista,
>>>>> but I only find an article on Microsoft Website for XP-autologon. Does
>>>>> someone know how to create Autologon on Windows Vista?
>>>>
>>>> Is it writing information here?
>>>>
>>>>  HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
>>>>
>>>> That's not something you're likely to get away with much longer, as you've
>>>> found.
>>>
>>> Yes I write the following keys::
>>> AutoAdminLogon = 1
>>> DefaultUserName
>>> DefaultPassword
>>> DefaultDomainname
>>
>> I suspect that your application will have to run with Admin credentials, and
>> possibly UAC turned off, for that to fly.
>
> No this doesn't solve the problem. I found a small comand line
> application from microsoft called "autologon.exe". It looks that the
> autologon mechanism has been changed, becasue the password for example
> is no more saved in the "defaultpassword" key. Instead it it saved now
> somewhere encrypted. If someone will find a API or something like that
> please post it here.

Well, don't know what to tell ya, other than "works here."  I just checked, and my
username/password are definitely stored there.  In clear text.  Of course, I have
just about *all* <spit>security features</spit> turned off on this VM.
--
..NET: It's About Trust!
http://vfred.mvps.org