Knowledge Base |

# LAN Manager Login PIF Changes Foreground Settings

Article ID: 123010

Article Last Modified on 12/17/2000

APPLIES TO

- Microsoft Windows 3.1 Standard Edition
- Microsoft Windows 3.11 Standard Edition
- Microsoft Windows for Workgroups 3.1
- Microsoft Windows for Workgroups 3.11

This article was previously published under Q123010

## 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.

Additional query words: 3.10 3.11 lanman lmscript.pif timeslice priority scheduling options 2.0 2.1 2.1a 2.2

Keywords: KB123010