Windows Tech Notes

Enable Plain Text Password

If you get an Invalid password error message when mapping or accessing a drive on a server running Samba from a Windows client, the following entry in the Windows register will fix the problem.

95 or 98 | NT | XP Pro

For Windows 95 or 98

Steps to create register entry...

  • Click on Start
  • Click on Run
  • Enter regedit and click on open
  • Double click on HKEY_LOCAL_MACHINES
  • Click on System
  • Click on CurrentControlSet
  • Click on Services
  • Click on VxD
  • Click on VNETSUP
  • On the menu bar, select Edit/New/DWORD value
  • Rename from "New Value #1" to "EnablePlainTextPassword" (Note: no spaces)
  • Press ENTER
  • Doubleclick on new entry
  • Change value from 0 to 1
  • Close the Registry

You need to reboot to make this change take effect.

top of page

For Windows NT

Steps to create register entry...

  • Click on Start
  • Click on Run
  • Enter regedit and click on open
  • Double click on HKEY_LOCAL_MACHINES
  • Click on SYSTEM
  • Click on CurrentControlSet
  • Click on Services
  • Click on Rdr
  • Click on Parameters
  • On the menu bar, select Edit/New/DWORD value
  • Rename from "New Value #1" to "EnablePlainTextPassword" (Note: no spaces)
  • Press ENTER
  • Doubleclick on new entry
  • Change value from 0 to 1
  • Close the Registry

You need to reboot to make this change take effect.

top of page

For Win XP Pro

Windows XP Professional has menu options (below) that should be used to enable plain text passwords for SMB servers. The Windows XP Home edition requires manual addition of this "xp.reg" registry key.

To enable "PlainTextPassword" connections:

  • Click on Start
  • Click on Settings
  • Click on Control Panel
  • Click on Administrative Tools
  • Double-click Local Policies
  • Double-click Security Options.
  • Scroll down to near the bottom of the list.
  • Double-click Microsoft network client: Send unencrypted passwords to connect to third-party SMB servers
  • Click the Enabled radio button.
  • Click OK
  • Close the Local Security Settings Window

You need to reboot to make this change take effect.

top of page


Disable Windows Scripting Host

Disabling prevents viruses such as VBS/LoveLet-A from infecting your machine. We strongly recommend disabling!!!

Note: When Windows, Internet Explorer or some other products are installed or upgraded Windows Scripting Host may be reinstalled. You would then have to repeat these procedures.

95 | 98 | NT | 2000 or ME

Windows 98

Windows Scripting Host is installed if you...

  • Choose a standard installation of the operating system
  • Install Internet Explorer 5
  • Download Windows Scripting Host from Microsoft

To disable...

  • From the Windows taskbar select Start
  • Select Settings
  • Select Control Panel
  • Double-click the Add/Remove programs
  • Open the Windows Setup tab
  • Select Accessories and double-click
  • Find Windows Scripting Host
  • Click on the check-box by 'Windows Scripting Host' to deselect
  • Click OK to return to 'Add/Remove Programs' window
  • Click OK

Windows 95

Windows Scripting Host is installed if you...

  • Install Internet Explorer 5
  • Download Windows Scripting Host from Microsoft.

To disable...

  • From the Desktop, right-click on My Computer
  • Select Open
  • Open the View menu
  • Select Options
  • Open the File Types tab
  • Look for VBScript Script File in the list of file types (If you can't find it, your machine is safe and you don't need to do anything else).
  • Click on Remove
  • If you see a dialog asking you to confirm removal, click Yes

Windows NT 4.0

Windows Scripting Host is installed if you...

  • Install Internet Explorer 5
  • Download Windows Scripting Host from Microsoft.

To disable...

  • Log on as an administrator
  • From the Desktop, right-click on My Computer
  • Select Open
  • Open View menu
  • Select Options
  • Open the File Types tab
  • Look for VBScript Script File in the list of file types (If you can't find it, your machine is safe and you don't need to do anything else).
  • Click Remove
  • If you see a dialog asking you to confirm removal, click Yes

Windows 2000 and Windows 98 Me

Windows Scripting Host is installed by default.

To disable...

  • Log on as an Administrator
  • From the Desktop, right-click on My Computer
  • Select Open
  • Open Tools menu
  • Select Folder Options
  • Open the File Types tab
  • Look for VBScript Script File in the list of file types (If you can't find it, your machine is safe and you don't need to do anything else).
  • Click Delete
  • If you see a dialog asking you to confirm removal, click Yes

top of page


Windows 9x Setup Switches

Windows 98 Only

    • /m Bypasses the playing of the setup sound (.wav) files
    • /na Bypasses the program check and can use the following 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 or MS-DOS-based program check
    • /nd Ignores the presence of a Migration.dll file and is used to force Windows 98 to overwrite newer files. NOTE: Files that use the ",,,32" flag in the .inf file still force Windows 98 Setup to keep the newer files.
    • /nf Do not prompt to remove the floppy disk from the drive (for bootable CD-ROMs)
      • Same as if there is a file named BOOTCD in the cabinet folder.
      • Same as if there is a "BootCD=1" line in the Msbatch.inf file.
    • /nh Bypasses running the Hwinfo.exe program at 0 percent files and RunOnce
    • /nx Do not check the version of setupx that is running
    • /ie Bypasses the Windows 98 Startup Disk wizard screens. If used, the Windows\Command\EBD folder is not created
    • /iv Bypasses displaying the setup screens during an upgrade within Windows

Windows 95 and 98

      • /? Brief summary of the available setup switches and the correct command-line syntax to use them
      • /NTLDR Eliminates identification of previously installed versions. Useful for OEM versions that only let you set up on new machines
      • /nm Install Windows regardless of the adequacy of the chip
      • /p f Builds a new registry. Deletes existing settings that may have been in  root branch of registry. Used if registry is hopelessly corrupted
      • /c Bypasses running SMARTDrive
      • /d Bypasses using your existing Windows configuration (such as your current Win.ini and System.ini files)
      • /l Use if you have a Logitech mouse and want it enabled during setup
      • /n Causes setup to run without a mouse
      • -s Use to use an alternate setup.inf file
      • /t:<dir> Lets you specify where setup copies its temporary files. WARNING: Any existing files in this folder are deleted.
      • /ig Allows setup to run on some older Gateway and Micron computers with an early BIOS
      • /ih Causes setup to run scandisk in the foreground
      • /IM Causes setup to ignore the conventional memory check.
      • /iq If you use the /is switch to bypass ScanDisk or ScanDisk fails, setup checks your drive for cross-linked files. The /iq switch prevents setup from doing this.
      • /is Causes setup not to run ScanDisk
      • /it Bypasses checking for the presence of "dirty" or "deadly" terminate-and-stay-resident programs (TSRs) that are known to cause problems with Windows setup
      • /p Causes setup to pass string(s) directly to Detection Manager (or Sysdetmg.dll). Setup does not interpret the content of the string. The string can contain one or more detection options. The /p switch is not used by itself. The string can contain one or more detection switches separated by a semicolon (;). For example, if you want to use /p f and /p i you would type setup /p f;i

        Some switches are simply On/Off switches.

        • The absence of the switch implies Off
        • the presence of the switch turns it On.
        • A minus sign (-) appended immediately after a switch turns it Off

    Some switches take parameters in the form of <c>=<params>. If there is more than one parameter to a switch, the parameters are separated by a comma (,). There must not be any spaces in the detection option string.

Valid Detection Switches

  • a Enables safe detection. It tells each detection module to try safer detection methods. Safer detection methods may not detect devices correctly. The default during Setup is enabled. The default in other cases is disabled.
    Example: setup /p a
  • b Enables Prompt Before mode. It prompts you before a detection module is called so that you can step through each detection module manually and decide if you want to skip it. The default is disabled.
    Example: setup /p b
  • c Enables class detection. Class detection is a mechanism for finding hints for a certain class of devices. For example, adapter class detection looks for hints in the config.sys and system.ini files for CD-ROM drivers. If it does not find any, setup displays a CD-ROM check box asking if you have a CD-ROM drive. The default during setup is enabled. The default when you use the Add New Hardware tool and docking/undocking detection is disabled.
    Example: setup /p c
  • c- Disables safe class detection. For example,tells setup to always search on all network adapter cards, sound cards, and CD-ROM drives.
    Example: setup /p c-
  • d=<name> Detects the listed detection modules only, where <name> is a detection module name or a device class name. Detection module names (such as DetectPIC and DetectAHA154x) are found in the Msdet.inf file. Device class names can be SCSIAdapter, net, and so on.
    Example: setup /p d=detectpic
  • e Enables Setup mode detection. The default during setup is enabled. The default in other cases is disabled.
    Example: setup /p e
  • f 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). The default is disabled.
    Example: setup /p f
  • g=<n> Specifies the verbose level, where <n> = 0 to 3. This switch controls how verbose the built-in progress bar is. At maximum level (3), it shows all the resources of the detected devices along with the progress bar. This switch can help to identify which detection module causes a certain problem. For example, if your mouse stops responding (hangs) during detection but the system continues, there is no way to determine from the log files which module hung the mouse. By turning this option on and constantly moving the mouse during setup, you can determine which module is running when the mouse hangs. The default is disabled (0).
    Example: setup /p g=3
  • i Tells setup not to report the existence of a Plug and Play BIOS. It is useful on computers that have a Plug and Play BIOS that is not reported in the Machine.inf file
    Example: setup /p i
  • j Tells setup to undo the results of the "setup /p i" switch. This switch 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 support. Windows 98 maintains a BIOS list for ACPI computers, so as BIOS manufacturers create a new valid ACPI BIOS, this is the mechanism for causing Windows 98 to recognize it
  • l=<n> Specifies the logging level for Detlog.txt, where <n> = 0 to 3. The default is maximum logging (3).
    Example: setup /p l=0
  • m Enables mini-windows mode. This is enabled only when setup is run under MS-DOS.
    Example: setup /p m
  • n Enables No Recovery mode. This option can be used to turn off the Windows 95 setup recovery mechanism (for example, this switch prevents the creation of the Detcrash.log file). The default is disabled.
    Example: setup /p n
  • o=<traceoutput> Specifies the trace output. 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 Enables performance logging. It writes performance timing information to the DETLOG.TXT file. The default is disabled.
    Example: setup /p p
  • r Enables Recovery mode. It causes Detection to use the Detcrash.log file, if found. If this switch is not enabled, detection ignores and deletes Detcrash.log even if it is found. Used if Safe Recovery is selected during setup, otherwise it is not used.
    Example: setup /p r
  • s=<name> Skips the listed detection modules or classes of detection modules, where &lt;name&gt; is a detection module name or a device class name. Detection module names (such as DetectPIC and DetectAHA154x) are in the Msdet.inf file. Device class names are SCSIAdapter, net, and so on.
    Example: setup /p s=detectpic
  • t=<n> Specifies the trace level, where n= 0 to 9. The default =0. This option is available only in the debug version of Sysdetmg.dll
    Example: setup /p t=9
  • v Enables Verify Only mode. This switch tells Detection to perform only stage 1. This switch is used by the PCMCIA Wizard to verify legacy devices in the registry. The default is disabled. Detection has two stages:
    • 1 Verify existing devices in the registry.
    • 2 Detect new devices.
      Example: setup /p v
  • x=<res list> 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 switch protects resources so that no detection modules can access them.
Example: setup /p x=io(300-30f,240-24f)

top of page

 

Services | Products | Support | What's New | Online Shopping | Online Help | Privacy Policy | Legal Stuff

Email us at Info@AHinc.com
© 1993-2005 Advanced Horizons, Inc. - All Rights Reserved