SETUP SWITCHES




THESE SWITCHES ARE FOR WINDOWS 98 SETUP ONLY
 

/m This switch bypasses the Setup sound (.wav) files.

/na This switch bypasses the program check. It can use these values:

0: default

1: No Windows-based program check, but MS-DOS-based program are blocked.

2: No MS-DOS-based program check, Windows-based programs are blocked.

3: No Windows-based check and no MS-DOS-based program check.
 

/nd This switch ignores a Migration.dll file if present. It forces Windows 98 to overwrite newer files.

NOTE: Files that contain the ",,,32" flag in the .inf file still force Windows 98 Setup to keep the newer files.

/nf This switch bypasses the prompt to remove the floppy disk from the floppy drive (for bootable CD-ROMs)
 

/nh This switch bypasses running the Hwinfo.exe program at 0 percent files and RunOnce.
 

/nx This switch bypasses checking the running version of Setup.
 

/ie This switch bypasses the Windows 98 Startup Disk wizard screens. It will also bypass creating the Windows\Command\EBD folder.
 

/iv This switch bypasses the Setup screens during an upgrade within Windows.
 
 
 

THESE SWITCHES ARE FOR BOTH WINDOWS 95 AND WINDOWS 98 SETUP
 

/? This switch provides help for the available Setup switches, along with the correct command-line syntax to use them.
 

/c This switch bypasses SMARTDrive.
 

/d This switch bypasses using your existing Windows configuration.
 

/l This switch enables a Logitech mouse during Setup.
 

/n This switch lets Setup run without a mouse.
 

-s This switch will allow you to use an alternate Setup.inf file.
 

/t:This switch lets you specify where Setup will copy the temporary setup files. WARNING: All files in this folder will be deleted.
 

/ig This switch will allow Setup to run on older Micron and Gateway computers that have an early BIOS.
 

/ih This switch makes Setup run ScanDisk in the foreground.
 

/im This switch bypasses the conventional memory check. Use /iq if ScanDisk fails or if you use the /is switch to bypass ScanDisk.
 

/iq This switch stops Setup from checking your drive for cross-linked files.
 

/is This switch bypasses running ScanDisk.
 

/it This switch bypasses checking for the presence of terminate-and-stay-resident programs (TSRs) that are known to cause problems with Windows Setup.
 

/p This switch forces Setup to pass string(s) directly to Detection Manager (or Sysdetmg.dll) without interpreting the contents of the string. The string can contain one or more detection options.

The /p switch is not used by itself. The following section explains the /p detection switch option strings.

/P OPTION STRINGS

Spaces are not allowed in the detection option string.

Multiple detection switches are separated by a semicolon (;). For example, to combine the "/p b" and "/p c" switches, simply use "setup /p b;c", without quotes.

· Some of these are On/Off switches. The absence of the switch turns it Off, and the presence of the switch turns it On. A minus sign (-) directly after a switch will also turn it Off.

· Some of these take parameters in the form of <c>=<params>. If there you use more than one parameter, separate them with a comma (,).

Valid Detection Switches:

a

This switch enables safe detection by telling each detection module to try a safer detection method. However, safer detection methods may not properly detect devices. By default this is enabled during Setup.

Example: setup /p a

b

This switch enables Prompt Before mode. It prompts you before each detection module call so that you can decide if you want to skip it. This switch is disabled by default.

Example: setup /p b

c

This switch enables class detection. Class detection is a mechanism for finding hints for a certain class of devices. This switch is enabled by default during Setup.

Example: setup /p c

c-

This disables safe class detection. It tells Setup to always search on all network adapter cards, sound cards, and CD-ROM drives.

Example: setup /p c-

d=<name>

Where <name> is a detection module name or a device class name, this switch detects only the listed detection modules.

Example: setup /p d=detectpic

e

This switch enables Setup mode detection. The default is enabled during Setup. In other cases the default is disabled.

Example: setup /p e

f

This switch enables Clean Registry mode. It forces Detection to clean the root branch of the registry before starting. This switch is ignored when Setup is run in the Windows 95/98 graphical user interface (GUI). This is disabled by default.

Example: setup /p f

g=<n>

Where <n> is 0 to 3, this switch specifies the verbose level. At maximum level (3), the built-in progress bar shows all the resources of the detected devices along with the progress bar. This switch can help in diagnosing detection problems. The default is disabled (0).

Example: setup /p g=3

i

This switch bypasses the reporting the existence of a Plug and Play BIOS during Setup.

Example: setup /p i

j

This switch will undo the results of the "/p i" switch. It should only be used after a computer that required "Setup /p i" has updated its Plug and Play BIOS.

Example: setup /p j

NOTE: In Windows 98, the "/p j" switch is required to enable ACPI in Windows 98.

l=

<n>This switch specifies the logging level for Detlog.txt, where <n> is 0 to 3. The default is maximum (3).

Example: setup /p l=0

m

This enables Mini-windows mode. This is enabled only when Setup is run under MS-DOS.

Example: setup /p m

n

This switch enables No Recovery mode. This option prevents the creation of the Detcrash.log file. It is disabled by default.

Example: setup /p n

o=<traceoutput>

This switch specifies the trace output, where the information is written to the Tracelog.txt file in the current directory. This option is available only in the Debug version of Sysdetmg.dll.

Example: setup /p o

p

This switch writes performance timing information to the Detlog.txt file. The default is disabled.

Example: setup /p p

r

This enables Recovery mode. Detection will use the Detcrash.log file for safe recovery. This switch is used only if Safe Recovery is selected during Setup.

Example: setup /p r

s=<name>

This switch skips the listed detection modules or classes of detection modules, where <name> is a detection module name or a device class name.

Example: setup /p s=detectpic

t=<n>

This switch specifies the trace level, where <n> is 0 to 9. The default is disabled (0). This option is only available in the Debug version of Sysdetmg.dll.

Example: setup /p t=9

v

This switch enables Verify Only mode, which has two stages:

Verify existing devices in the registry

Detect new devices

The PCMCIA Wizard uses this switch to verify legacy devices in the registry.The default is disabled.

Example: setup /p v x=<res list>

This switch excludes the listed resources from detection, where <res list> is one of four possibilities:

· io(xxx-yyy,xxx-yyy,...)

· mem(xxxxx-yyyyy,xxxxx-yyyyy,...)

· irq(x,y,z,...)

· dma(x,y,z,...)

This does not permit detection modules to access resources.

Example: setup /p x=io(300-30f,240-24f)

 HOME