Am 13.08.2009 11:02, schrieb Gerhard Hofmann:
> Hi,
>
> obviously autolog.pl is not able to set an autologin on a Vista 64 bit
> machine.
>
> I assume that on 64 bit systems the corresponding registry keys are not
> in HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon
> but somewhere else.
>
> Any ideas?
>
> TIA
> Gerhard
>

Hi all,

I think I have found the solution. The registry keys for Autologin are 
the same for Win-32 and Win-64.

But when using a 32 bit Perl Interpreter on 64 bit OS, registry writes to
   HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon
are redirected to
HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Microsoft/Windows 
NT/CurrentVersion/Winlogon

See also
http://msdn.microsoft.com/en-us/library/aa384232%28VS.85%29.aspx

When using 64 bit ActivePerl on 64 bit OS, autolog.pl will be able to 
write to the proper registry keys and autologin takes effect.

So I think in perl.bat the line
...

set perl_msi=%Z%\packages\perl\activeperl-5.10.1.1006-mswin32-x86-291086.msi

...should be changed to something like...
set 
perl_msi=%Z%\packages\perl\ActivePerl-5.10.1.1006-MSWin32-x64-291086.msi
if %PROCESSOR_ARCHITECTURE=="x86" set 
perl_msi=%Z%\packages\perl\activeperl-5.10.1.1006-mswin32-x86-291086.msi


Regards
Gerhard


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to