LW1 Posted October 31, 2004 Share Posted October 31, 2004 Hello, i just made my 1st unattended DVD that contains XP Pro W/SP2, Office2003, various drivers & software progams. But after testing the image with Virtual PC my name is set a Limited User, instead of Administrator, my ATI 9800 AIW Pro drivers were not loaded, instead it shows an SIS Video Adapter, Creative 16 bit audio drivers instaed of the SB Audigy, Intel Network Adapter instead of the integrated Realtek. Any help would be greatly appreciated My "useraccounts.cmd" file is as follows;net user "<my name>" <my password> /addnet localgroup Administrators <my name> /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITmy winnt.sif file is as follows;;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes OemPnPDriversPath="Drivers\001_Network\002_Sound;Drivers\003_Video;Driver" UnattendSwitch="yes" DriverSigningPolicy=Ignore TargetPath=\WINDOWS OemSkipEula=Yes [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1[userData] ProductKey=<product id> FullName="<my name" OrgName="" ComputerName=,my name>[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=70[TapiLocation] CountryCode=1[RegionalSettings] LanguageGroup=1 Language=00000409[identification] JoinWorkgroup=<workgroup name>[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER MS_PSched=params.MS_PSched[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=[Components] msmsgs=off zonegames=off[GuiRunOnce] %systemdrive%\install\batch_file.cmdMy RegTweaks.reg file is as follows;Windows Registry Editor Version 5.00 ;Disable the Desktop Cleanup Wizard[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]"NoRun"=dword:00000001;Disable Automatic Restart in the event of a BSOD[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000000;Speed up shutdown[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]"WaitToKillServiceTimeout"="3000";Disables Error Reporting, but notifies when errors occur[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]"DoReport"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]"Start"=dword:00000004;Disable Welcome Screen and uses Classic Logon[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"LogonType"=dword:00000000;Speed up Network Browsing by removing Network Scheduled Tasks[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}];Disables Windows Tour bubble popup[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]"RunCount"=dword:00000000;Disables Preview of Movie file formats (allowing you to move/rename/delete without errors)[-HKEY_CLASSES_ROOT\.avi\ShellEx][-HKEY_CLASSES_ROOT\.mpg\ShellEx][-HKEY_CLASSES_ROOT\.mpe\ShellEx][-HKEY_CLASSES_ROOT\.mpeg\ShellEx];-----;----- Adds Device Manager right click of MY Computer;-----[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr]@="Device Manager"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\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,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,64,00,65,00,\ 76,00,6d,00,67,00,6d,00,74,00,2e,00,6d,00,73,00,63,00,00,00;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters];"MaxCmds"=dword:00000064;"MaxThreads"=dword:00000064 ;"MaxCollectionCount"=dword:00000064[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]"DefaultTTL"=dword:00000040"EnablePMTUDiscovery"=dword:00000001"EnablePMTUBHDetect"=dword:00000000"TcpMaxDupAcks"=dword:00000002"TcpMaxDataRetransmissions"=dword:00000006"SackOpts"=dword:00000001"MTU"=dword:000005dc ;Unbundle Windows Messenger from Outlook 2003[HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\InstantMessaging]"ForceDisableIM"=dword:00000001;[HKEY_CURRENT_USER\Control Panel\Keyboard];"InitialKeyboardIndicators"="2"[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]"1004"=dword:00000003[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings]"EnableDVDUI"="Yes"[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray]"Services"=dword:0000001fAnd my Batch file is;ECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.ECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-ECHO.ECHO Installing Sun Java VM 1.4.2ECHO Please wait...start /wait j2re-1_4_2_01-windows-i586.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"ECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %systemdrive%\install\Applications\Nero\register.regECHO.ECHO Installing Nero Burning ROM v6.3.1.25ECHO Please wait...ECHO Installing NeroVision Express v2.1.2.21ECHO Please wait...start /wait %systemdrive%\install\Applications\Nero\nero63125.exe /silent /noreboot /no_ui /sn=<serial number> /write_snstart /wait %systemdrive%\install\Applications\Nero\NVE21221.exe /silent /norebootECHO.ECHO Installing Adobe Reader 6ECHO Please wait...start /wait %systemdrive%\install\Applications\AdobeReader7\AdbeRdr70_enu_full -p"-s /v\"/qn\""ECHO.ECHO Installing MSN Messenger 6.2 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing WinRAR 3.30 FinalECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar330Final.exe /sECHO Copying Licence file and applying SettingsCopy "%systemdrive%\Install\\Applications\WinRAR\rarreg.key" "%systemdrive%\Program Files\WinRAR\"REGEDIT /S "%systemdrive%\Install\Applications\WinRAR\Settings.reg"start /wait %systemdrive%\install\Application\Creative\Setup.exe -sECHO.ECHO Installing Yahoo Messenger 6.0.0.1750ECHO Please wait...start /wait %systemdrive%\install\Yahoo\msgr6suite.exe /qb Link to comment Share on other sites More sharing options...
twrizzo Posted October 31, 2004 Share Posted October 31, 2004 I am interested in learning how to fully automate the installation of Windows and the applications. I am familiar with the usual unattend.txt file, but am not familiar with this method.Could someone point me in the right direction? Basically I'd like to know if there is any special software required, etc.Thanks in advance.Tom Link to comment Share on other sites More sharing options...
jrzycrim Posted October 31, 2004 Share Posted October 31, 2004 http://unattended.msfn.org/index.htm Link to comment Share on other sites More sharing options...
jrzycrim Posted October 31, 2004 Share Posted October 31, 2004 Hello, i just made my 1st unattended DVD that contains XP Pro W/SP2, Office2003, various drivers & software progams. But after testing the image with Virtual PC my name is set a Limited User, instead of Administrator, my ATI 9800 AIW Pro drivers were not loaded, instead it shows an SIS Video Adapter, Creative 16 bit audio drivers instaed of the SB Audigy, Intel Network Adapter instead of the integrated Realtek. Any help would be greatly appreciated.Virtual PC has its own drivers for these devices. You won't be able to test your drivers with Virtual PC.As far as your user account problem, I'm not sure. At what point during the installation is 'useraccounts.cmd' being executed? Link to comment Share on other sites More sharing options...
LW1 Posted October 31, 2004 Author Share Posted October 31, 2004 As you can probably tell im a n00b at this, how can I tell when its being executed? Thank you for your time & help Link to comment Share on other sites More sharing options...
LW1 Posted October 31, 2004 Author Share Posted October 31, 2004 P.S. would VMWare load its own drivers also ? As it would b nice to test them before burning to a dvd alsoThanks Again Link to comment Share on other sites More sharing options...
lilweirddude Posted October 31, 2004 Share Posted October 31, 2004 like...is it in cmdlines or guirunonce? Link to comment Share on other sites More sharing options...
jrzycrim Posted October 31, 2004 Share Posted October 31, 2004 P.S. would VMWare load its own drivers also ? As it would b nice to test them before burning to a dvd alsoThanks AgainNope. You're in the same boat with vmware as it comes with its own drivers.Getting back to your user account problem:You need to call that batch file. It won't execute on it's own. Place 'useraccounts.cmd' in $OEM$Make a text file named 'Cmdlines.txt'. In that file place this:[COMMANDS]"useraccounts.cmd" Save it to the $OEM$ folder.If you already have a cmdlines.txt file, then just append "useraccounts.cmd" to the end. The quotes are necessary.//I was trying to post this earlier but I think MSFN had some trouble... Link to comment Share on other sites More sharing options...
LW1 Posted October 31, 2004 Author Share Posted October 31, 2004 Hello, this is what I have in the useraccounts.cmd which is in the $OEM$ folder.[COMMANDS]"useraccounts.cmd""REGEDIT /S regtweaks.reg" Thanks Again 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