I'm working on Win98SE unattended almost ok but
at the end get wizard new hardware found..... plug 'n play monitor
how can I stop this and let win98 look strait to C:\Windows\Inf\Monitor.inf
because thats the resuld if you go trough it all with the wizard
tried already this one
REGEDIT4
;Don't detect plug'n play monitor
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\DEFAULT]
"DDC"="0"
QUOTE
; MSBATCH.INF
;
; Copyright © 1995-1998 Microsoft Corporation.
; All rights reserved.
;
[BatchSetup]Version=3.0 (32-bit)
SaveDate=05-30-04
[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf
[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="ABCDE-FGHIJ-KLMNO-PQRST-UVWXY"
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
PenWinWarning=0
DevicePath=0
NoDirWarn=0
Verify=0
TimeZone="W. Europe"
Uninstall=0
NoPrompt2Boot=0
Chkdsk=0
[System]
Monitor=INF_description in MONITOR.INF
;Monitor=MSDISP.INF
;
; Set color depth and resolution
; Syntax: DisplChar=Colordepth, x, y where:
; Colordepth is in bits for pixel, x is horizontal resolution and y is
; vertical resolution. For example:
DisplChar=8,800,600
; Monitor="Standaard VGA 640x480"
Locale=L0413
SelectedKeyboard=KEYBOARD_00000409
[NameAndOrg]
Name="User"
Org="none"
Display=0
[Network]
ComputerName="Intel"
Workgroup="MSHOME"
Description="98"
Display=0
PrimaryLogon=Windows
Clients=VREDIR
Protocols=MSTCP
Services=VSERVER
Security=SHARE
[MSTCP]
LMHOSTS=0
DHCP=1
DNS=0
WINS=D
Hostname=Intel
[VREDIR]
LogonDomain="MSHOME"
ValidatedLogon=0
[VSERVER]
LMAnnounce=1
MaintainServerList=2
;This is Dutch Win 98
[OptionalComponents]
"WinPopup"=1
[Printers]
[InstallLocationsMRU]
"D:\win98\"
"E:\win98\"
"F:\win98\"
"G:\win98\"
"H:\win98\"
"I:\win98\"
"J:\win98\"
"K:\WIN98\"
"J:\"
"J:\Drivers\Usb2"
[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate,RegistrySet
tings,OPKInstall,
CopyFiles=regfile.copy
[regfile.copy]
setup.reg
[OPKInstall]
; The following line: don't detect monitor
HKLM,System\CurrentControlSet\Services\Class\Display\0000\DEFAULT,"DDC",,0
; The following line will allow ACPI on all OEM machines regardless
; of the good BIOS list
; HKLM,Software\Microsoft\Windows\CurrentVersion\Detect,"ACPIOption",,1
; The following line suppresses the interactive setup of Exchange during
; runonce.
HKLM,Software\Microsoft\Exchange\Client\Options,SilentRunning,,"1"
; The following line changes the product type after the first part of
; setup is complete to activate OEM install features.
HKLM,Software\Microsoft\Windows\CurrentVersion,"ProductType",,"115"
; The line below deletes Welcome applet for factory configuration portion
; of Express setup so it doesn't pop up over the Notepad message.
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Tips,show,1,00
; active desktop
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer,ShellState,1,1c,00,00,00,20,08,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,0
a,00,00,00
; This line is a temprary fix to remove welcome from the factory.
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\run,"Welcome",,
; The line below turns off the user logon going into Windows (needed for
; factory configuration portion of Express setup).
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Network\Real Mode Net","autologon",1,00000000
; The line belows forces windows 98 into audit mode so that the correct
; runonce sequence occurs (factory runonce options are executed)
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductId",,12345-OEM-1234567-12345
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductKey",,ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOwner",,User
HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOrganization",,none
[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Regwiz 4 %10%\msbatch.inf"
[Run.Installed.Components]
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"ICW"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktop
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,,,">Batch 98 - Windows Update"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"
[Installed.Components.General]
AddReg=Browser.Settings, Security.Settings, Shell.Prep
BitReg=Shell.Settings
[Installed.Components.Advanced]
DelFiles=OLS.Icons, QuickLaunch.Icons
CustomDestination=Custom.Dest
RunPostSetupCommands=DirCleanup
[Custom.Dest]
49070=DesktopLDIDSection,5
49050=QuickLinksLDIDSection,5
[DesktopLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Desktop,OLSFolder,"%25%\Desktop"
[OLS.Icons]
americ~1.lnk
at&two~1.lnk
compus~1.lnk
prodig~1.lnk
themic~1.lnk
aboutt~1.lnk
abouto~1.txt
services.txt
[DirCleanup]
rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%
[Delete.Welcome]
DelReg=Registry.Welcome
[Registry.Welcome]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,
[Delete.Regwiz]
AddReg=Registry.Regwiz
[Registry.Regwiz]
HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00
[Registry.WinUpdate]
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0
[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.pagina.nl/"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://home.microsoft.com/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://www.google.nl/ie/"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://www.google.nl/ie/"
HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"
[Security.Settings]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1",CurrentLevel,1,00,00,01,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3",CurrentLevel,1,00,00,01,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4",CurrentLevel,1,00,00,01,00
[Shell.Prep]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00
HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"
[Shell.Settings]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1
[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"
[QuickLaunch.Icons]
viewch~1.scf
[Skip.PCMCIA.Wizard]
HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1
[RegistrySettings]
HKLM,%KEY_RUNONCE%,BatchReg1,,"%25%\regedit.exe /s "%10%\setup.reg""
[DestinationDirs]
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1
OLS.Icons=49070,Online~1
regfile.copy=10
[Strings]
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
OnlineLong="Online Services"
;
; Copyright © 1995-1998 Microsoft Corporation.
; All rights reserved.
;
[BatchSetup]Version=3.0 (32-bit)
SaveDate=05-30-04
[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf
[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="ABCDE-FGHIJ-KLMNO-PQRST-UVWXY"
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
PenWinWarning=0
DevicePath=0
NoDirWarn=0
Verify=0
TimeZone="W. Europe"
Uninstall=0
NoPrompt2Boot=0
Chkdsk=0
[System]
Monitor=INF_description in MONITOR.INF
;Monitor=MSDISP.INF
;
; Set color depth and resolution
; Syntax: DisplChar=Colordepth, x, y where:
; Colordepth is in bits for pixel, x is horizontal resolution and y is
; vertical resolution. For example:
DisplChar=8,800,600
; Monitor="Standaard VGA 640x480"
Locale=L0413
SelectedKeyboard=KEYBOARD_00000409
[NameAndOrg]
Name="User"
Org="none"
Display=0
[Network]
ComputerName="Intel"
Workgroup="MSHOME"
Description="98"
Display=0
PrimaryLogon=Windows
Clients=VREDIR
Protocols=MSTCP
Services=VSERVER
Security=SHARE
[MSTCP]
LMHOSTS=0
DHCP=1
DNS=0
WINS=D
Hostname=Intel
[VREDIR]
LogonDomain="MSHOME"
ValidatedLogon=0
[VSERVER]
LMAnnounce=1
MaintainServerList=2
;This is Dutch Win 98
[OptionalComponents]
"WinPopup"=1
[Printers]
[InstallLocationsMRU]
"D:\win98\"
"E:\win98\"
"F:\win98\"
"G:\win98\"
"H:\win98\"
"I:\win98\"
"J:\win98\"
"K:\WIN98\"
"J:\"
"J:\Drivers\Usb2"
[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate,RegistrySet
tings,OPKInstall,
CopyFiles=regfile.copy
[regfile.copy]
setup.reg
[OPKInstall]
; The following line: don't detect monitor
HKLM,System\CurrentControlSet\Services\Class\Display\0000\DEFAULT,"DDC",,0
; The following line will allow ACPI on all OEM machines regardless
; of the good BIOS list
; HKLM,Software\Microsoft\Windows\CurrentVersion\Detect,"ACPIOption",,1
; The following line suppresses the interactive setup of Exchange during
; runonce.
HKLM,Software\Microsoft\Exchange\Client\Options,SilentRunning,,"1"
; The following line changes the product type after the first part of
; setup is complete to activate OEM install features.
HKLM,Software\Microsoft\Windows\CurrentVersion,"ProductType",,"115"
; The line below deletes Welcome applet for factory configuration portion
; of Express setup so it doesn't pop up over the Notepad message.
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\Tips,show,1,00
; active desktop
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer,ShellState,1,1c,00,00,00,20,08,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,0
a,00,00,00
; This line is a temprary fix to remove welcome from the factory.
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\run,"Welcome",,
; The line below turns off the user logon going into Windows (needed for
; factory configuration portion of Express setup).
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Network\Real Mode Net","autologon",1,00000000
; The line belows forces windows 98 into audit mode so that the correct
; runonce sequence occurs (factory runonce options are executed)
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductId",,12345-OEM-1234567-12345
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductKey",,ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOwner",,User
HKLM,"Software\Microsoft\Windows\CurrentVersion","RegisteredOrganization",,none
[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Regwiz 4 %10%\msbatch.inf"
[Run.Installed.Components]
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"ICW"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktop
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,,,">Batch 98 - Windows Update"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"
[Installed.Components.General]
AddReg=Browser.Settings, Security.Settings, Shell.Prep
BitReg=Shell.Settings
[Installed.Components.Advanced]
DelFiles=OLS.Icons, QuickLaunch.Icons
CustomDestination=Custom.Dest
RunPostSetupCommands=DirCleanup
[Custom.Dest]
49070=DesktopLDIDSection,5
49050=QuickLinksLDIDSection,5
[DesktopLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Desktop,OLSFolder,"%25%\Desktop"
[OLS.Icons]
americ~1.lnk
at&two~1.lnk
compus~1.lnk
prodig~1.lnk
themic~1.lnk
aboutt~1.lnk
abouto~1.txt
services.txt
[DirCleanup]
rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%
[Delete.Welcome]
DelReg=Registry.Welcome
[Registry.Welcome]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,
[Delete.Regwiz]
AddReg=Registry.Regwiz
[Registry.Regwiz]
HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00
[Registry.WinUpdate]
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0
[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.pagina.nl/"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://home.microsoft.com/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://www.google.nl/ie/"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://www.google.nl/ie/"
HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"
[Security.Settings]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1",CurrentLevel,1,00,00,01,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3",CurrentLevel,1,00,00,01,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4",CurrentLevel,1,00,00,01,00
[Shell.Prep]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00
HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"
[Shell.Settings]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1
[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"
[QuickLaunch.Icons]
viewch~1.scf
[Skip.PCMCIA.Wizard]
HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1
[RegistrySettings]
HKLM,%KEY_RUNONCE%,BatchReg1,,"%25%\regedit.exe /s "%10%\setup.reg""
[DestinationDirs]
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1
OLS.Icons=49070,Online~1
regfile.copy=10
[Strings]
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
OnlineLong="Online Services"
Keep win98 alive