Mekrel Posted November 22, 2004 Share Posted November 22, 2004 Ok, I got my cd working except it does not install my users nor my reg tweaks using the cmdlines.txtWINNT.SIF:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS OemPnPDriversPath="drivers\LP_UB\Si3114r;drivers\000_GART;drivers\001_MemCtl;drivers\002_IDE;drivers\003_SMBus;drivers\004_AudioDrv;drivers\005_AudioUtl;drivers\006_USB;drivers\007_Display;drivers\008_Ethernet;drivers\009_graphics" DriverSigningPolicy=Ignore[GuiUnattended] AdminPassword="<password>" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] ProductKey=<product key> FullName=<name> OrgName="N/a" ComputerName=Bedcomp[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=75[TapiLocation] CountryCode=44 AreaCode=01527[Components] msmsgs=off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off[RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=YesPaths:D:\XPCD\$OEM$\cmdlines.txtD:\XPCD\$OEM$\useraccounts.cmdD:\XPCD\$OEM$\autologon.regD:\XPCD\$OEM$regtweaks.regcmdlines.txt:[COMMANDS]"useraccounts.cmd""REGEDIT /S regtweaks.reg"useraccounts.cmd:net user <user> <password> /addnet localgroup Administrators <user> /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITautologon.reg:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="<user>""DefaultPassword"="<password>""AutoAdminLogon"="1"Obviously I wont poast the reg tweaks as its long, although I have edited it to my needs, like is recomended.So have I missed something? I didnt see no commands being executed during intstall and no of the users or tweaks were applied.Help much appreciatedMark Link to comment Share on other sites More sharing options...
bmn Posted November 22, 2004 Share Posted November 22, 2004 first try with one command.imean[COMMANDS]"REGEDIT /S regtweaks.reg"(working for me)if it works.then the problem may be in user accounts stff. Link to comment Share on other sites More sharing options...
Mekrel Posted November 22, 2004 Author Share Posted November 22, 2004 Thanks or the help but what do you mean by:accounts stffIs this a file? Where is it located? Link to comment Share on other sites More sharing options...
MHz Posted November 22, 2004 Share Posted November 22, 2004 Do you have $OEM$ folder and I386 folder in the root of your cd? Link to comment Share on other sites More sharing options...
tguy Posted November 22, 2004 Share Posted November 22, 2004 From the looks of your registry file, it appears you may have a blank line at the top of the file. Try removing that so Windows Registry Editor 5.00 is on the top line. Link to comment Share on other sites More sharing options...
Mekrel Posted November 22, 2004 Author Share Posted November 22, 2004 $OEM$ and I386 are both in the root like they should be, like I said, my drivers and everything install , just not my reg tweaks@tguy, I think the blank line is just from me posting the code here, I am at college atm so cant check - but I appreciate your help and will also double check that this line does not infact exist at the top of the document.I was thinking it was maybe a line missing from my WINNT.SIF?I know cmdlines.txt does not need mentioning in the winnt.sif but maybe it is because I do not have unattendswitch=yes? or some other command in the winnt.sif?Thanks again Link to comment Share on other sites More sharing options...
bmn Posted November 23, 2004 Share Posted November 23, 2004 useraccounts.cmd:net user <user> <password> /addnet localgroup Administrators <user> /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITautologon.reg:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="<user>""DefaultPassword"="<password>""AutoAdminLogon"="1"these things.what i want to say is first test ur setup in simple manner imean cmdlines.txt and a regtweak file.if it works then ur remaining settings r ok.then add other user accouts etc.if setup fail in first step only then check ur oem,winnt.... stuff Link to comment Share on other sites More sharing options...
Mekrel Posted November 23, 2004 Author Share Posted November 23, 2004 Dont ask me why but I got a feeling that adding:Unattendedswitch=Yesto the winnt.sif would work, I booted the cd using Virtual Pc first and it seems that it worked, but cant test for real - as forceware 70.02 gets stuck into a loop So thanks for everyones help Link to comment Share on other sites More sharing options...
tguy Posted November 23, 2004 Share Posted November 23, 2004 Is the regtweaks.reg file in the same directory as regedit.exe or in a directory typically specified the PATH statement of a Windows installation? If not, specify the direct path to the regtweaks.reg file in your cmdlines.txt file.Keep it in quotes to allow for spaces in the path statement to the file. Link to comment Share on other sites More sharing options...
Tsunami Posted November 23, 2004 Share Posted November 23, 2004 The regtweaks.reg file is in the same directory as the batch file, and the path to regedit.exe is specified in the path statement, so that can't be the problem. 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