hevnbnd Posted October 4, 2003 Share Posted October 4, 2003 Ok here is the problem i nearly have my auto install completed. I am having one problem. I decided it would be best to create a user and have him log in automaticly before the install of all my apps. When i set up a user account my install continues however the account is not created and windows is in classic mode when it completes the final restart. It was not in classic mode before i attempted to add the new user. Also i tried the install with and without the reg file and both completed with the same result as described about so i dont believe the reg file is the prob but i could be wrong. I read thru many pages and here is what i came up with:$OEM$ -Cmdlines.txt -user.cmd -Reg_Root_tweaks.regCmdlines.txt looks like this:[COMMANDS]".\user.cmd"user.cmd looks like this:CLS@ECHO OFFECHO Adding Default User...net user "Brian A. Cox /addnet localgroup "administrators" "Brian A. Cox" /addECHO.ECHO Applying Root Registry Tweaks...REGEDIT /S %systemdrive%\install\Reg_Root_Tweaks.regECHO.Reg_Root_tweaks.reg looks like this:Windows Registry Editor Version 5.00 ;This will allow you to autologin.;Replace InsertName value with the Username you want to autologin with.;Replace InsertPassword value with the password corresponding to the Username specified.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Brian A. Cox""DefaultPassword"="""AutoAdminLogon"="1";This will add "Services" to the right-click menu of "My Computer" [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services] @=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00 "SuppressionPolicy"=dword:4000003c [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command] @=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00;This adds the "Open Command Window Here" on the right-click menu for folders[HKEY_CLASSES_ROOT\Directory\shell\cmd]@="Open Command Window Here"[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]@="cmd.exe /k \"cd %L\"";Disable Automatic Restart in the event of a BSOD[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000000;Disables Error Reporting, but notifies when errors occur[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]"DoReport"=dword:00000000;Disable Remote Registry Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]"Start"=dword:00000004;Remove Shortcut Arrows[HKEY_CLASSES_ROOT\lnkfile]"IsShortcut"=-;Allow renaming of Recycle Bin[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]"Attributes"=hex:50,01,00,20"CallForAttributes"=dword:00000000;Speed up browsing remote computers[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}];Speed up NTFS[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]"NtfsDisable8dot3NameCreation"=dword:00000001"Win31FileSystem"=dword:00000000"Win95TruncatedExtensions"=dword:00000001"NtfsDisableLastAccessUpdate"=dword:00000001;Prefetcher tweak(faster booting)[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]"EnablePrefetcher"=dword:00000003;Changes Windows Driver Signing Policy 'prompt' to 'ignore'[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing]"Policy"=hex:00Here is my winnt.sif just in case it might help to resolve this issue:;SetupMgrTag[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[unattended]Unattendmode=FullUnattendedOemSkipEula=YesOemPreinstall=YesRepartition=YesFactoryMode = YESUnattendSwitch="Yes"TargetPath=\WINDOWSOemSkipEula=YESWaitForReboot="No"DriverSigningPolicy=IgnoreOEMPnPDriversPath="\Drivers\NIC;\Drivers\audio"AutoActivate=No[GuiUnattended]AdminPassword=*EncryptedAdminPassword=noOEMSkipRegional=1TimeZone="020"OEMSkipWelcome=1[userData]ProductID=RemovedFullName="User"OrgName="Enterprise Computers"ComputerName=HEVNBND[Display]BitsPerPel=32XResolution=1024YResolution=768VRefresh=85[Networking]InstallDefaultComponents=Yes[identification]JoinWorkgroup=WorkgroupHome_Page=http://www.squareplanet.comSearch_Page=www.google.com[Components]msmsgs=offmsnexplr=offAccessopt=offhypertrm=offzonegames=off[GuiRunOnce]%systemdrive%\install\main_batch.cmdPlease someone help. I am so close to finishing thanks to all of you guys help in the past. B Link to comment Share on other sites More sharing options...
valkyre Posted October 4, 2003 Share Posted October 4, 2003 "AutoAdminLogon"="1"Try removing that. Not sure that it will fix your problem, but it shouldn't be in there.Also, what is in this file?[GuiRunOnce]%systemdrive%\install\main_batch.cmdAnd what the heck is this?FactoryMode = YES Link to comment Share on other sites More sharing options...
hevnbnd Posted October 4, 2003 Author Share Posted October 4, 2003 Ok removed "AutoAdminLogon"="1" but will be a while before i can complete a new install and test it. I found this information here http://board.MSFN.org/index.php?showtopic=...ate%20user&st=0[GuiRunOnce]%systemdrive%\install\main_batch.cmdis my batch file that installs all my apps. Here is a copy of it:CLS@echo offECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO hacks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Installing Nforce Chipset DriversECHO Please wait...start /wait %systemdrive%\install\chipset\setup.exe -s -f1"%systemdrive%\install\chipset\setup.iss"ECHO.ECHO Installing MSN Messenger 6.1.0144 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\dx9NTopk.exeECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\WMP9_MM2_ENU.exeECHO.ECHO Installing PowerToysECHO Please wait...start /wait %systemdrive%\install\PowerToys\PowertoySetup.exe /s /v/qnECHO.ECHO Installing Microsoft JavaVM - Build 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:NECHO.ECHO Installing ApplicationsECHO Please wait...start /wait %systemdrive%\Install\applications.cmdECHO.EXIT FactoryModeValue: YesYes Specifies that Windows Welcome or Mini-Setup does not delete the OPK tools from %systemdrive%\Sysprep during the next boot of the computer. Use this entry when performing a clean install of the operating system as the first step in building a master installation, which you then plan to duplicate onto multiple destination computers. You must place the OPK tools in the %systemdrive%\Sysprep folder.I really dont think i need this command i am removing it from the winnt.sif file. I will post if your suggestion worked or not. If anyone else has any suggestin let me know. Thanks B Link to comment Share on other sites More sharing options...
scoult01 Posted October 4, 2003 Share Posted October 4, 2003 net user "Brian A. Cox /addShouldnt that benet user "Brian A. Cox" /add Link to comment Share on other sites More sharing options...
hevnbnd Posted October 4, 2003 Author Share Posted October 4, 2003 Yes it should. Fixed that performing a clean install will post when finished if any of the suggestions above worked. Anymore things anyone sees wrong? Also so why does nothing have to be inserted into the winnt.sif file refrencing the Cmdlines.txt? Just did not know how the install knows to look there. B Link to comment Share on other sites More sharing options...
Aaron Posted October 4, 2003 Share Posted October 4, 2003 By default when OEMPreinstall is enabled, Windows checks for the existance of a cmdlines.txt file in the $OEM$ folder, so it doesn't need to be specified anywhere apart from the OEMPreinstall value in winnt.sif 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