Jump to content

Windows 2000 - WINNT.SIF - AutoLogonCount=?


Recommended Posts

In WINNT.SIF on Windows 2000 you have the setting AutoLogonCount=1

this allows the PC to log in the very first time, then usually on unattended installs

you'd wanna reboot it again, after which, with AutoLogonCount=1 it means it will

not automatically login again after that and needs the password.

I have tried looking in the MS info files about this and searched MSFN

but the term "AutoLogonCount=1" is all over the forum, because its in

pretty much everyones WINNT.SIF so it makes looking for the answer

difficult.

All I wanna know is, what is the maximum value for this?

Is it a case of either a 1 or a 0 and thats all you can have

or does it have a maximum value? Ideally I want it on the

maximum value, like maybe AutoLogonCount=999999999

but I don't know if this is possible. I can test it etc but then,

I still don't know if its the maximum/what the maximum is!

There is a reg tweak you can use to force this logon to a billion

times or, nine hundred and ninety nine million nine hundred

and ninety nine thousand nine hundred and ninety nine... but

that only seems to work if you manually run the reg tweak, it

does not work by importing it with REGEDIT /S

Windows Registry Editor Version 5.00

;One Billion Automatic Logins

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="999999999"
"DefaultUserName"="Administrator"
"DefaultPassword"=""
"ForceAutoLogon"="1"

I know on Server 2003 MS cracked down on this and you need to

create a whole new Administrator (or any level) account to autologon

with a blank password, but in Windows 2000 and XP I am sure you can

be called "Administrator" and have autologin, yes with a blank password,

always with a blank password! Some might say this is suicide, but not really,

I am the only user of my PC and even if anyone else in my house logged in,

so what, they are computer literate! Passwords are just an unneccesary pain

as far as I am concerned.

Edited by LeveL
Link to comment
Share on other sites


:o

It can't be that simple!

Thanks for the tip B)

Edit - it isn't that simple... it still asks for the password.

I thought the only Windows OS that does not let the

Adminsitrator (not "an" Administrator, I mean the main

Administrator itself) logon automativally with a blank

password is Server 2003? Sheesh, who knows, this

Windows 2000 is fully patched, maybe a hotfix has

done it?

Edited by LeveL
Link to comment
Share on other sites

:o

It can't be that simple!

Thanks for the tip B)

Edit - it isn't that simple... it still asks for the password.

I thought the only Windows OS that does not let the

Adminsitrator (not "an" Administrator, I mean the main

Administrator itself) logon automativally with a blank

password is Server 2003? Sheesh, who knows, this

Windows 2000 is fully patched, maybe a hotfix has

done it?

XP behaves the same way and W2K probably too.

The system autologs (spontaneously = even if its not ON explicitely in registry) into the Built-in Administrator ONLY when there isnt any other account specified in the system.

It wont autologon (spontaneously) into second in spite of that it has administrative privileges and a blank password since there already is an account called Administrator (built in) and that means two of them in the system.

Link to comment
Share on other sites

I managed to make it work in Server 2003 by creating a new Admin account

at the T-12 minute stage via cmdlines.txt and using NET.EXE. When I try to

duplicate this in Windows 2000 it doesn't log in automatically. I have totally

given up, been trying to do it for 2 days - so I made an AutoIt3 script that

gets dumped on the Desktop. In the nicest possible way... f**k it! :realmad:

__init()

#NoTrayIcon

Send ( '{LWIN}R' )
Send ( '{LWIN}R' )
Send ( '{LWIN}R' )
Send ( '{LWIN}R' )
Send ( '{LWIN}R' )
WinWait ( 'Run', 'Type the name of a program' )
WinActivate ( 'Run', 'Type the name of a program' )
Send ( 'rundll32.exe %SystemRoot%\System32\netplwiz.dll,UsersRunDll' )
Send ( '{ENTER}' )
WinWait ( 'Users and Passwords', 'Use the list below to grant or deny users access' )
WinActivate ( 'Users and Passwords', 'Use the list below to grant or deny users access' )
Send ( '{SPACE}' )
Send ( '{ENTER}' )
WinWait ( 'Automatically Log On', 'You can set up your computer so that users' )
WinActivate ( 'Automatically Log On', 'You can set up your computer so that users' )
Send ( '{ENTER}' )

func __init ()
endfunc

On first login, the box "Users must enter a user name and password to use this computer."

is ticked. You can run the AutoIt3 program and it unticks the box but then Windows reboots

like it should etc and you go into User Accounts and the **** box is still TICKED! So then

I cannot even run this AutoIt3 thing on first logon! It works on the next reboot when that

box is ticked, sheesh, so then I don't know, like I said I give up on it - just too difficult

because when that box magically ticks itself, is when Windows 2000 is shutting down so,

its impossible, the Windows GUI isn't there to manipulate as its shutting down and registry

tweaks are pointless, the settings don't stick, those also get overwritten as the PC reboots.

Edited by LeveL
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...