LeveL Posted June 16, 2006 Share Posted June 16, 2006 Trying to make Server 2003 unattended, for somereason what has always worked in the past is notworking now.I want it to autologin with a blank password (sothen it is truly "unattended") and so, I cannot usethe user "Administrator" so I have to create a new user at the t-12 minute stage with cmdlinesand an NT command script.Its like this (remember, this has worked in the past!):Unattended setup runs cmdlines.txt...[COMMANDS]"useraccounts.cmd"This runs useraccounts.cmd...net user Server2003 /addnet localgroup Administrators Server2003 /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITThis runs autologon.reg...Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Server2003""DefaultPassword"="""AutoAdminLogon"="1"Now it comes to the log in window, which should login automatically and always has in past installations,it says "Server2003" in the username box and blankpassword. I hit OK without typing a password and itsays it could not log me on! So I type "Administrator"and hit OK (again no password) and it does log me on,however the rest of the setup is designed to copy stuffto the user "Server2003" (who is AN Administrator butnot THE Administrator)I have my WINNT.SIF set up right, its worked in the past,here are two of the sections where the password would beand the new users account details...WINNT.SIF[GuiUnattended]AdminPassword=*EncryptedAdminPassword=NOOEMSkipRegional=1OemSkipWelcome=1[UserData]ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXXFullName="Server2003"OrgName="Home"ComputerName=*The most annoying thing is, this has worked in the pastand it used to autologin, this is what the useraccounts.cmdand the autologin.reg files are there for.The only difference now is I am using build 1830 of servicepack 1 whereas in the past, I was using build 1218 of servicepack 1 (slipstreamed in both cases, one case works the other doesnot) but I don't see why the build numbers for SP1 should haveanything to do with it?Grrrrrrrrr! Link to comment Share on other sites More sharing options...
LeveL Posted June 17, 2006 Author Share Posted June 17, 2006 Is there anybody out there? Link to comment Share on other sites More sharing options...
LeveL Posted June 18, 2006 Author Share Posted June 18, 2006 Can anyone help?I know this is "Server 2003" but sheesh, its not that different to XP!I had this all working ages ago, came to do it unattended againand it wont log in with the newly created account (created silently@ t-12 with cmdlines.txt and the useraccount.cmd script with theautologon.reg)Read the 1st post! You can see what does what and how it all (should and DIDin the past) works. The only difference is now I have integrated SP1 1830 andin the older one I used SP1 1218... so is it some sort of "extra security feature"of SP1 1830? Link to comment Share on other sites More sharing options...
blinkdt Posted June 18, 2006 Share Posted June 18, 2006 I know this is "Server 2003" but sheesh, its not that different to XP!Yes it is, extremely different in my experience. Server 2003 is soooooooo locked down that you will need to invest a good deal of time learning how to make it work for you. It arrives in "ultra-paranoid" package mode. Good luck. Link to comment Share on other sites More sharing options...
LeveL Posted June 18, 2006 Author Share Posted June 18, 2006 I know this is "Server 2003" but sheesh, its not that different to XP!Yes it is, extremely different in my experience. Server 2003 is soooooooo locked down that you will need to invest a good deal of time learning how to make it work for you. It arrives in "ultra-paranoid" package mode. Good luck.Aaah but, I already had all that sorted out, like enabling Windows Audio service,don't show "Manage your server" wizard, the whole lot, with a registry file.Just seems bizarre how I had it working before and all I wanted todo was integrate the latest SP1 because the old SP1 1210 was a betaversion of the service pack. Never even had any trouble with iteither, all I can assume is they made it even more secure with thelater service pack or something? Link to comment Share on other sites More sharing options...
LeveL Posted June 18, 2006 Author Share Posted June 18, 2006 Just in case anyone wants those magic tweaks, here...Windows Registry Editor Version 5.00 ;Disable Manage Your Server Wizard on Startup[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Setup\Welcome]"srvwiz"=dword:00000000;Enable DirectDraw and Direct3D in DirectX Diagnostic Tool (install your graphics card driver to see this change)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw]"EmulationOnly"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Direct3D\Drivers]"SoftwareOnly"=dword:00000000;Set Programs so they have priority over background applications[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\PriorityControl]"Win32PrioritySeparation"=dword:00000026[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management]"LargeSystemCache"=dword:00000000 ;Disable all "Ctrl+Alt+Del" prompts (login, resume & standby)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]"disablecad"=dword:00000001;Start Themes Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Themes]"Start"=dword:00000002;Start Windows Audio Service[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\AudioSrv]"Start"=dword:00000002;Disable Shutdown Event Tracker[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Reliability]"ShutdownReasonOn"=dword:00000000"ShutdownReasonUI"=- Link to comment Share on other sites More sharing options...
GreenMachine Posted June 18, 2006 Share Posted June 18, 2006 Don't get desperate: Stay LeveL-headed!Though my issue and solution with Server 2003 is not exactly the same as yours, perhaps it will help you in tracking down the problem.In my case, I change the Administrator name from Adminitrator to 2K3Admin. I am not sure why you want to install from your newly created account instead of the built-in administrators account, but that is your business ... Installing everything as the built-in administrator (now renamed), is my preference.Pre SP1, I would enter the new name in to the registry as you did, set the autologon, and that would be fine. HOWEVER ... Post SP1 I noticed that Windows could not auto logon the administrator. This was due to the fact that sometime between the point I set the default name to 2K3Admin (the last thing I did at the T-13 stage), and reboot time, that value had been changed back to Administrator. Here is where I do not understand how your setup has Server2003 in the logon box, but so be it. Further investigation showed that in fact setup did change the name value back to Administrator value back, and probably the autologon flag as well.To get to the point ... I created a stand alone package that would change these values back one last time, and called it from SetupParams, which runs at T-9.@ECHO OFFREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "AltDefaultUserName" /T REG_SZ /D "2003Server" /FREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "AutoAdminLogon" /T REG_SZ /D "1" /FREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "DefaultPassword" /T REG_SZ /D "" /FREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "DefaultUserName" /T REG_SZ /D "2003Server" /FREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V "ForceAutoLogon" /T REG_SZ /D "1" /FThis should be enough to get your started in your troubleshooting. Another thing I would be interested in is a compare of of slipstreamed SP1 and beta SP1. You say this used to work. Compare the two side by side, and you will have what it takes to better analyze the situation.Good luck! Link to comment Share on other sites More sharing options...
LeveL Posted June 18, 2006 Author Share Posted June 18, 2006 I think somehow I was making the main Administrator "Server2003"because in Documents and settings, there is no user called "Administrator",just Server2003/All Users/Network Service/Default User etc, I have showhidden folders and show "super hidden" folders all enabled. Thanks for the suggestions, I will have a try with your NT script!If I can't get it to work, I can just stick with the older SP1 I guess,updates can be installed silently with the /Q /O /Z switches formost of them, I can't see there being that many updates anyway Link to comment Share on other sites More sharing options...
sleepnmojo Posted June 19, 2006 Share Posted June 19, 2006 [GuiUnattended] AdminPassword=password EncryptedAdminPassword=No AutoLogon=Yes AutoLogonCount=1These are what I use for logging in. My best guess would be the password should be set to something, especially with the paranoia of win2003.This should also mean you don't need your autologon.reg too. 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