LAN Manager Login PIF Changes Foreground Settings

Last reviewed: November 22, 1994
Article ID: Q123010
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11
  • Microsoft Windows for Workgroups versions 3.1, 3.11

SYMPTOMS

After running a Microsoft LAN Manager logon script from LMSCRIPT.PIF, system performance may be degraded.

CAUSE

This problem occurs when Foreground Priority and Background Priority are both set to 10000 in the LMSCRIPT.PIF file and Background Execution is also selected.

The result is that WinTimeSlice (Windows In Foreground) is dynamically set to half the value selected for Background Priority in the PIF. Windows and Windows for Workgroups automatically change the Windows In Foreground setting to 5000.

WORKAROUND

Method 1: The preferred solution is to set Background Priority in

          LMSCRIPT.PIF to 200. This leaves WinTimeSlice (Windows In
          Foreground) set to 100.

Method 2: Deselect Background Execution in LMSCRIPT.PIF.

Method 3: Open Control Panel and choose the 386 Enhanced icon. Set Windows

          In Background to 2500 and Windows In Foreground to 5000. This
          nullifies the changes caused by LMSCRIPT.PIF.


KBCategory: kbenv kbinterop kbnetwork
KBSubcategory: wfwg wfw win31
Additional reference words: 3.10 3.11 lanman lmscript.pif timeslice
priority scheduling options 2.0 2.1 2.1a 2.2


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 22, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.