Professor Frink Posted September 16, 2004 Share Posted September 16, 2004 I don't know what I'm doing wrong here. Before posting a whole bunch of code, let me just show the GuiUnattended section from my unattend.txt:[GuiUnattended] AdminPassword="********" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1What's happening is that it finishes the XP installation, then stops at the "CTRL-ALT-DEL" login screen, instead of autologging in as the administrator and running my post batch file:[GuiRunOnce] %systemdrive%\post.batI can login, then go to the C: drive and manually start post.bat, but that kind of defeats the purpose of unattended. I'll post the rest of the file if it's necessary, or my tweaks file if there is a conflict somewhere. But before going into all of that, has anyone ever experienced this before? The worst part is that it doesn't happen every time -- it's totally hit-and-miss. And during a few months of testing it never happened. But now it's sometimes working and sometimes not.FWIW -- this is a network/domain installation, not a CD. Link to comment Share on other sites More sharing options...
XtremeMaC Posted September 16, 2004 Share Posted September 16, 2004 do u have any reg tweaks? maybe u also have an autologin reg hack and bc the password or the username doesn't match it doesn't allow u to login automatically... Link to comment Share on other sites More sharing options...
Professor Frink Posted September 16, 2004 Author Share Posted September 16, 2004 I have a lot of reg tweaks, but none that include any names or passwords. And now it's getting really weird -- a few times I've had it autologon, but the post.bat doesn't run. It just sits like this:What the heck? Link to comment Share on other sites More sharing options...
XtremeMaC Posted September 16, 2004 Share Posted September 16, 2004 I dunno but 1 thing I know is u could have just said it stays on the desktop or something, u didn't really have to post the desktop screenshot right? what's in your post.bat and reg tweaks? maybe u're missing something? can u post them in an attachment?also u know that u've set the number of auto login's to 1 so it will only auto login once.... after that it'll prompt u for password.... Link to comment Share on other sites More sharing options...
Professor Frink Posted September 16, 2004 Author Share Posted September 16, 2004 I dunno but 1 thing I know is u could have just said it stays on the desktop or something, u didn't really have to post the desktop screenshot right?I know, but I thought it would make for a good visual aid, to show that no programs are being installed. I resized it, though, to make it less intrusive. I can post my other stuff later when I get the chance. But it's so weird that it should be random like that -- sometimes it works right, sometimes it autologsin but doesn't run my post.bat, and sometimes it never autologsin at all. Link to comment Share on other sites More sharing options...
Professor Frink Posted September 17, 2004 Author Share Posted September 17, 2004 Well, here are all of the relevant files, I think. The really large one I put as an attachment. For now I'm ignoring post.bat, because it doesn't even launch, so there can't be a problem in that file.cmdlines.txt[Commands]".\net user administrator""REGEDIT /S tweaks.reg"svcpack.inf[Version] Signature="$Windows NT$"MajorVersion=5MinorVersion=1BuildNumber=2600[SetupData]CatalogSubDir="\i386\Update"[ProductCatalogsToInstall][SetupHotfixesToRun]JS56NEN.exe /Q:A /R:N823182.exe /Q /N /Z823353.exe /Q:A /R:N824105.exe /Q /N /Z824141.exe /Q /N /Z825119.exe /Q /N /Z826939.exe /Q /N /Z828035.exe /Q /N /Z828741.exe /Q /N /Z835732.exe /Q /N /Z837001.exe /Q /N /Z839645.exe /Q /N /Z840315.exe /Q /N /Z840374.exe /Q /N /Z841873.exe /Q /N /Z842773.exe /Q /N /Z867801.exe /Q:A /R:NDX9NTopk.exeWMP9MM2.exe828026.exe /Q /N /Z873374.exe /Q:A /R:Nqchain.exeunattend.txt;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendSwitch="yes" UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINNT Hibernation=no FileSystem=ConvertNTFS ExtendOEMPartition=1 DriverSigningPolicy=Ignore OEMPnPDriversPath="WINNT\Drivers\GX270\1Chipset\INF;WINNT\Drivers\GX270\2Network\Pro1000\WinXP;WINNT\Drivers\GX270\3Video\GeFor64\6176;WINNT\Drivers\GX270\4Audio\ADI198x\SMAXWDM\W2K_XP;WINNT\Drivers\GX270\5Monitor\1901FP"[GuiUnattended] AdminPassword="********" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[UserData] ProductID=******** FullName=******** OrgName=******** ComputerName=********[Display] BitsPerPel=16 Xresolution=1280 YResolution=1024 Vrefresh=60[Components] msnexplr=off msmsgs=off Freecell=off Hearts=off Minesweeper=off Pinball=off Solitaire=off Spider=off ZoneGames=off[TapiLocation] CountryCode=1 AreaCode=717[FavoritesEx] Title1="Google.url" URL1="http://www.google.com/"[Branding] BrandIEUsingUnattended="Yes"[SetupMgr] DistFolder=c:\winxp\I386 DistShare=winxp$[Identification] JoinDomain=******** DomainAdmin=******** DomainAdminPassword=********[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No DNSSuffixSearchOrder=******** UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=******** SubnetMask=255.255.255.0 DefaultGateway=******** DNSServerSearchOrder=******** WINS=Yes WinsServerList=******** NetBIOSOptions=0[GuiRunOnce] %systemdrive%\post.batThere is one part of tweaks.reg that might seem odd:;-----Set up large fonts for all users upon first logon-----[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"lgfonts"="c:\\WINNT\\lgfonts.bat"I do that because the high resolution needs large fonts, and I want it to be automatic for every new user (and those reg tweaks don't work from tweaks.reg). So in the $$ folder I have lgfonts.bat:@echo offregedit /s C:\WINNT\lgfonts.reg:endand that calls lgfonts.regWindows Registry Editor Version 5.00 ;-----Use large Windows fonts-----[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]"WCreatedUser"="1""LoadedBefore"="1""SizeName"="LargeFonts""ThemeActive"="1""LastUserLangID"="1033""DllName"=hex(2):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,52,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,\ 00,74,00,68,00,65,00,6d,00,65,00,73,00,5c,00,4c,00,75,00,6e,00,61,00,5c,00,\ 4c,00,75,00,6e,00,61,00,2e,00,6d,00,73,00,73,00,74,00,79,00,6c,00,65,00,73,\ 00,00,00"ColorName"="NormalColor"[HKEY_CURRENT_USER\Control Panel\Appearance\New Schemes\Current Settings SaveAll\Sizes\0]"Font #0"=hex:f3,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,00,\ 00,00,01,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,00,\ 20,00,4d,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Font #1"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Font #2"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Font #4"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Font #5"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Font #3"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Size #0"=hex(b):01,00,00,00,00,00,00,00"Size #1"=hex(b):11,00,00,00,00,00,00,00"Size #2"=hex(b):11,00,00,00,00,00,00,00"Size #3"=hex(b):12,00,00,00,00,00,00,00"Size #4"=hex(b):19,00,00,00,00,00,00,00"Size #5"=hex(b):11,00,00,00,00,00,00,00"Size #6"=hex(b):11,00,00,00,00,00,00,00"Size #7"=hex(b):12,00,00,00,00,00,00,00"Size #8"=hex(b):13,00,00,00,00,00,00,00"Flat Menus"=dword:00000001"Color #0"=dword:00c8d0d4"Color #1"=dword:00984e00"Color #2"=dword:00e35400"Color #3"=dword:00df967a"Color #4"=dword:00ffffff"Color #5"=dword:00ffffff"Color #6"=dword:00000000"Color #7"=dword:00000000"Color #8"=dword:00000000"Color #9"=dword:00ffffff"Color #10"=dword:00c8d0d4"Color #11"=dword:00c8d0d4"Color #12"=dword:00808080"Color #13"=dword:00c56a31"Color #14"=dword:00ffffff"Color #15"=dword:00d8e9ec"Color #16"=dword:0099a8ac"Color #17"=dword:0099a8ac"Color #18"=dword:00000000"Color #19"=dword:00f8e4d8"Color #20"=dword:00ffffff"Color #21"=dword:00646f71"Color #22"=dword:00e2eff1"Color #23"=dword:00000000"Color #24"=dword:00e1ffff"Color #25"=dword:00b5b5b5"Color #26"=dword:00800000"Color #27"=dword:00ff953d"Color #28"=dword:00ebb99d"Color #29"=dword:00c56a31"Color #30"=dword:00d8e9ec"Contrast"=dword:00000000[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]"BorderWidth"="0""CaptionFont"=hex:e8,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\ 00,00,00,01,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,\ 00,20,00,4d,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"CaptionHeight"="-432""CaptionWidth"="-276""IconFont"=hex:f0,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"IconSpacing"="-1368""IconTitleWrap"="1""IconVerticalspacing"="-1368""MenuFont"=hex:f0,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"MenuHeight"="-288""MenuWidth"="-276""MessageFont"=hex:f0,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\ 00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"ScrollHeight"="-288""ScrollWidth"="-288""Shell Icon BPP"="16""SmCaptionFont"=hex:f1,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\ 00,00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"SmCaptionHeight"="-288""SmCaptionWidth"="-288""StatusFont"=hex:f0,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\ 00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"Shell Icon Size"="48""AppliedDPI"=dword:00000078"MinAnimate"="1"[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU]"MRUListEx"=hex:00,00,00,00,ff,ff,ff,ff"0"=hex:14,00,1f,50,e0,4f,d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,2f,\ 41,3a,5c,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\0]"ViewView2"=hex:1c,00,00,00,04,00,00,00,00,00,04,00,00,00,90,00,00,00,00,00,01,\ 00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,90,00,00,00,00,00,00,00,30,00,\ 00,00,fd,df,df,fd,0f,00,04,00,20,00,10,00,28,00,3c,00,00,00,00,00,01,00,00,\ 00,02,00,00,00,03,00,00,00,f0,00,80,00,a0,00,a0,00,00,00,00,00,01,00,00,00,\ 02,00,00,00,03,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]"LangID"=hex:09,04"@shdoclc.dll,-866"="Related""@shdoclc.dll,-864"="Show &Related Links""@shdoclc.dll,-865"="Shows links related to the current page.""@C:\\WINNT\\system32\\SHELL32.dll,-9216"="My Computer""@C:\\WINNT\\system32\\SHELL32.dll,-9217"="My Network Places""@C:\\WINNT\\system32\\SHELL32.dll,-8964"="Recycle Bin""@shdoclc.dll,-880"="Internet Explorer""@shell32.dll,-12691"="My Recent Documents""@C:\\WINNT\\system32\\SHELL32.dll,-9227"="My Documents""@shell32.dll,-21779"="My Pictures""@shell32.dll,-21790"="My Music";-----Use large mouse pointer-----[HKEY_CURRENT_USER\Control Panel\Cursors]@="Windows Standard (large)""Scheme Source"=dword:00000002"Arrow"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,61,00,72,00,\ 72,00,6f,00,77,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"Help"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,68,00,65,00,\ 6c,00,70,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"AppStarting"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,\ 00,54,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,77,00,\ 61,00,69,00,74,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"Wait"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,62,00,75,00,\ 73,00,79,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"Crosshair"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,\ 54,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,63,00,72,\ 00,6f,00,73,00,73,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"IBeam"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,62,00,65,00,\ 61,00,6d,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"NWPen"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,70,00,65,00,\ 6e,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"No"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,00,\ 25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,6e,00,6f,00,5f,\ 00,6d,00,2e,00,63,00,75,00,72,00,00,00"SizeNS"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,00,\ 7a,00,65,00,34,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"SizeWE"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,54,\ 00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,00,\ 7a,00,65,00,33,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"SizeNWSE"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,\ 54,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,\ 00,7a,00,65,00,32,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"SizeNESW"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,\ 54,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,73,00,69,\ 00,7a,00,65,00,31,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"SizeAll"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,\ 54,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,6d,00,6f,\ 00,76,00,65,00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00"UpArrow"=hex(2):25,00,53,00,59,00,53,00,54,00,45,00,4d,00,52,00,4f,00,4f,00,\ 54,00,25,00,5c,00,63,00,75,00,72,00,73,00,6f,00,72,00,73,00,5c,00,75,00,70,\ 00,5f,00,6d,00,2e,00,63,00,75,00,72,00,00,00But I doubt that that is the problem. If anyone can find something out of place, please let me know. tweaks.reg Link to comment Share on other sites More sharing options...
XtremeMaC Posted September 17, 2004 Share Posted September 17, 2004 hmm wierd I'm speechless. 1 thing that maybe preventing this is bc u've ;-----Set up large fonts for all users upon first logon-----[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"lgfonts"="c:\\WINNT\\lgfonts.bat"this and this one adds it self to runoce as well as the stuff in [GuiRunOnce] %systemdrive%\post.batso it might be that this new one overwrites the other runonce value???so maybe use the add title stuff to append the lgfonts.bat to the end of runonce, u know like this:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Runonce Stuff" /fREG ADD %KEY%\abc001 /VE /D "Preparing Setup" /fREG ADD %KEY%\abc001 /V 1 /D "%systemdrive%\Install\installme.bat" /fREG ADD %KEY%\abc002 /VE /D "another nice program.exe" /fand after this I'd assume everthing is gonna be okayand instead of adding another bat why don't u add the fonts stuff in the other bat?so put the contents of the c:\\WINNT\\lgfonts.bat into post.bat and save yourself and windows from processing 1 more... Link to comment Share on other sites More sharing options...
Professor Frink Posted September 17, 2004 Author Share Posted September 17, 2004 Maybe the two are conflicting, I'm not sure. But the reason I did this:;-----Set up large fonts for all users upon first logon-----[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"lgfonts"="c:\\WINNT\\lgfonts.bat"was so that lgfonts.bat runs upon fist logon for every user (it only takes about a half of a second to run). It was the only way I could get that tweak to work for all users, and I really needed that to work.You want more weirdness? It never used to cause a conflict. I had that in there during months of testing, and post.bat always ran. Now it's hit-and-miss.Oh well. If I can't figure it out, it's not a huge loss -- I can just manually launch post.bat. It could be a pain since I'm scripting over 100 workstations, but I can live with it if I have to.Thanks for your input, though, XtremeMaC. Link to comment Share on other sites More sharing options...
XtremeMaC Posted September 17, 2004 Share Posted September 17, 2004 np I wish I could have helped. heh wait maybe your post.bat isn't in %systemdrive%\ maybe its somewhere else? I think in order to be using %systemdrive%\ u've to point the oem folder to root of systemdrive. so maybe its in another problem which u're used to going in and bc of the u didn't realize it? hmm doubt that, i read your 1st post again, but I'm not deleting this bc u know might be a careless mistake? good luck with 100+ (bloody setup, should be easier to handle!) Link to comment Share on other sites More sharing options...
prathapml Posted September 17, 2004 Share Posted September 17, 2004 Yes, that's a possibility.Normally, you'll have your post.BAT in "$OEM$\$1\install".So, you need to have this in winnt.sif[GuiRunOnce] %systemdrive%\install\post.bat Link to comment Share on other sites More sharing options...
Professor Frink Posted September 17, 2004 Author Share Posted September 17, 2004 I don't think that's it, because post.bat is in the $1 folder. So [GuiRunOnce] %systemdrive%\post.batshould always work, right?FYI -- I just tried an experiment and removed lgfonts.bat from my tweaks file, and post.bat still didn't launch. So I don't think there is a conflict. Link to comment Share on other sites More sharing options...
XtremeMaC Posted September 17, 2004 Share Posted September 17, 2004 yes it should work, that could have only been a careless mistake, I knew u had it in the right dir since it lauches but this one gets me too . could it be bc of something in the post.bat?maybe an applications install doesn't properly end or something? maybe some of the time u're hdd works faster or xp takes less ram or I dunno. post your post.bat? maybe its in there? I mean does your install work unless u have the bat files? it does right? now only thing it could be is the bat I think??? totally guessing though. never experienced such a nasty bug Link to comment Share on other sites More sharing options...
Professor Frink Posted September 18, 2004 Author Share Posted September 18, 2004 I'm usually running more than one install at a time, through a switch. But is there any possible reason wy that would matter? Obviously, each one has its own IP address and hostname. But if I understand the whole process correctly, once the initial copying of files is done at the beginning, everything is being done locally on the workstation, right up until post.bat launches and the programs start installing from the server. But like I said, it's not that the program installation is having a problem -- post.bat sometimes doesn't even launch at all.So is there any reason why my network setup, with multiple installations, could be causing this weirdness? 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