Philster Posted September 29, 2003 Share Posted September 29, 2003 How do I get it so I can create an autologin account that autologs in every time after the installation is finished, rather than a set number of times?ThanksPhil Link to comment Share on other sites More sharing options...
SOOPAFLY Posted September 29, 2003 Share Posted September 29, 2003 first of all you need to edit the winnt.sif[GuiUnattended] AdminPassword=* AutoLogon=Yes EncryptedAdminPassword=NOthan you need to add the following registry tweak[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="your name""DefaultPassword"="""AutoAdminLogon"="1""ForceAutoLogon"="1" ----===HELL YEH===---- Link to comment Share on other sites More sharing options...
Philster Posted September 29, 2003 Author Share Posted September 29, 2003 Thanks for that, but whats the best way to run the reg tweak during the unattended install?CheersPhil Link to comment Share on other sites More sharing options...
Sunil Posted September 29, 2003 Share Posted September 29, 2003 you can create a bat file and use the net user command under windows xp and 2000NET USER[username [password | *] [options]] [/DOMAIN] username {password | *} /ADD [options] [/DOMAIN] username [/DELETE] [/DOMAIN]you can use this command from the batch file and execute the command which will create a new user...you need to use it in the CMDLINES.txt file in the $OEM$ folder Link to comment Share on other sites More sharing options...
Leon2003 Posted September 30, 2003 Share Posted September 30, 2003 Do you have to add [Unattended]UnattendSwitch="Yes" in your winnt.sif??first of all you need to edit the winnt.sif[GuiUnattended]AdminPassword=*AutoLogon=YesEncryptedAdminPassword=NOthan you need to add the following registry tweak[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="your name""DefaultPassword"="""AutoAdminLogon"="1""ForceAutoLogon"="1" Link to comment Share on other sites More sharing options...
Sunil Posted September 30, 2003 Share Posted September 30, 2003 Do you have to add [Unattended]UnattendSwitch="Yes" in your winnt.sif??first of all you need to edit the winnt.sif[GuiUnattended]AdminPassword=*AutoLogon=YesEncryptedAdminPassword=NOthan you need to add the following registry tweak[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="your name""DefaultPassword"="""AutoAdminLogon"="1""ForceAutoLogon"="1" This is not neccesary, here is what you do:1. Create the $OEM$ folder on your windows xp cd2. Create the CMDLINES.txt file3. Create the following batch file with the following code@echo offecho Creating a New UserNET USER TEST /ADDNET LOCALGROUP ADMINISTRATORS TEST /ADDEND4. Save it as any file name you like but it must be a bat file eg. ANYNAME.bat5. Copy ANYNAME.bat to the $OEM$ folder6. Add this to the CMDLINES.txt file".\ANYNAME.bat"7. You can finish there....^^^^^Then from that point you can USE the GUIRunonce section of the windows sif script file to continue your installation, this will automatically install the files into the account you have created, once you have not added a password, because it will automatically login to that user account, and will designate it as the main account used by you. Link to comment Share on other sites More sharing options...
Leon2003 Posted September 30, 2003 Share Posted September 30, 2003 What do I add to get rid off the Activation thing ?? It asks me if I want to activate with microsoft now or later.... Link to comment Share on other sites More sharing options...
Philster Posted September 30, 2003 Author Share Posted September 30, 2003 So Sunil will I need to just do what you said, or will I also need to do what Soopafly did also?Just to reiterate, I want to set up a user called autologin that autologs in every time the PC is switched on, not just during the unattended installation.CheersPhil Link to comment Share on other sites More sharing options...
un4given1 Posted September 30, 2003 Share Posted September 30, 2003 Leon2003 - Unless you are using a corporate version (unlikely) then you will have to activate it. There is a way to make your disk think it's a different disk, but I believe that that might break the policies of this forum to discuss it. Link to comment Share on other sites More sharing options...
Philster Posted September 30, 2003 Author Share Posted September 30, 2003 I create the following files:$OEM$\cmdlines.txt$OEM$\user.cmd$OEM$\$1\install\regtweak.regThe user.cmd is called from cmdlines.txt and contains, amongst other things, the line:REGEDIT /S %systemdrive%\install\regtweak.regWhen it tries to run the REGEDIT line I get an error:'REGEDIT' is not recognised as an internal or external command, operable program or batch fileDoes anyone know why it is doing this? Do I have to put the regedit.exe in the $OEM$ dir somewhere?CheersPhil Link to comment Share on other sites More sharing options...
pmcx9 Posted September 30, 2003 Share Posted September 30, 2003 lets see the code of your regtweak.reg as well Link to comment Share on other sites More sharing options...
Philster Posted September 30, 2003 Author Share Posted September 30, 2003 The reg tweak is exactly the same as in Soopafly's reply (with my username of course!) Link to comment Share on other sites More sharing options...
beep Posted September 30, 2003 Share Posted September 30, 2003 What do I add to get rid off the Activation thing ?? It asks me if I want to activate with microsoft now or later....Hi,If you have internet access after setup you can auto activate by adding this in your .sif file[unattended]AutoActivate = "Yes"cheers::beep Link to comment Share on other sites More sharing options...
Sunil Posted October 1, 2003 Share Posted October 1, 2003 So Sunil will I need to just do what you said, or will I also need to do what Soopafly did also?Just to reiterate, I want to set up a user called autologin that autologs in every time the PC is switched on, not just during the unattended installation.CheersPhilThe tweak that Soopafly is suggesting works if you have a password protected user account and want to login automatically when windows starts, my suggestion works when you want to create an account without a password, this will automatically login when windows first starts from an unattended startup....this willk work until you remove that account, or if you wish to keep it, it will automatically login all the time, not just after the unattended install...... 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