LeveL Posted November 21, 2006 Share Posted November 21, 2006 (edited) In WINNT.SIF on Windows 2000 you have the setting AutoLogonCount=1this allows the PC to log in the very first time, then usually on unattended installsyou'd wanna reboot it again, after which, with AutoLogonCount=1 it means it willnot automatically login again after that and needs the password.I have tried looking in the MS info files about this and searched MSFNbut the term "AutoLogonCount=1" is all over the forum, because its inpretty much everyones WINNT.SIF so it makes looking for the answerdifficult. 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 haveor does it have a maximum value? Ideally I want it on themaximum value, like maybe AutoLogonCount=999999999but 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 billiontimes or, nine hundred and ninety nine million nine hundredand ninety nine thousand nine hundred and ninety nine... butthat only seems to work if you manually run the reg tweak, itdoes not work by importing it with REGEDIT /SWindows 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 tocreate a whole new Administrator (or any level) account to autologonwith a blank password, but in Windows 2000 and XP I am sure you canbe 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 painas far as I am concerned. Edited November 21, 2006 by LeveL Link to comment Share on other sites More sharing options...
cumminbk Posted November 21, 2006 Share Posted November 21, 2006 just leave the line out of your winnt.sif if you want unlimited logons... Link to comment Share on other sites More sharing options...
LeveL Posted November 21, 2006 Author Share Posted November 21, 2006 (edited) 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 theAdminsitrator (not "an" Administrator, I mean the mainAdministrator itself) logon automativally with a blankpassword is Server 2003? Sheesh, who knows, thisWindows 2000 is fully patched, maybe a hotfix hasdone it? Edited November 21, 2006 by LeveL Link to comment Share on other sites More sharing options...
Yonderboy Posted November 21, 2006 Share Posted November 21, 2006 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 theAdminsitrator (not "an" Administrator, I mean the mainAdministrator itself) logon automativally with a blankpassword is Server 2003? Sheesh, who knows, thisWindows 2000 is fully patched, maybe a hotfix hasdone 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 More sharing options...
LeveL Posted November 22, 2006 Author Share Posted November 22, 2006 (edited) I managed to make it work in Server 2003 by creating a new Admin accountat the T-12 minute stage via cmdlines.txt and using NET.EXE. When I try toduplicate this in Windows 2000 it doesn't log in automatically. I have totallygiven up, been trying to do it for 2 days - so I made an AutoIt3 script thatgets dumped on the Desktop. In the nicest possible way... f**k it! __init()#NoTrayIconSend ( '{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 ()endfuncOn 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 rebootslike it should etc and you go into User Accounts and the **** box is still TICKED! So thenI cannot even run this AutoIt3 thing on first logon! It works on the next reboot when thatbox is ticked, sheesh, so then I don't know, like I said I give up on it - just too difficultbecause 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 registrytweaks are pointless, the settings don't stick, those also get overwritten as the PC reboots. Edited November 22, 2006 by LeveL Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now