TechBuzzPro

How to Reset Forgotten Windows 98 Share Passwords

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can reset a forgotten Windows 98 file share password, and it only takes a few minutes. Windows 98 stores share-level passwords on the PC that hosts the shared folder, so you clear or change them right there — either by removing and re-creating the share, or by deleting the saved password entries in the registry or the Passwords control panel. This guide walks through each method, starting with the simplest. These steps assume you have physical access to the computer that shares the folder, since Windows 98 share passwords cannot be reset remotely without knowing the old one.

What You'll Need

  • Physical or keyboard/mouse access to the Windows 98 PC that hosts the shared folder
  • Administrative-style access to Windows (the ability to open Control Panel and Regedit)
  • A blank floppy disk or other backup location, recommended before editing the registry

Step-by-Step

Windows 98 uses share-level access control by default, meaning each shared folder or printer has its own read-only and/or full-access password stored locally. Exact menu labels can vary slightly depending on whether the machine runs the original Windows 98 or the Second Edition, but the paths below are the same.

Method 1: Remove and re-create the share (easiest)

  1. On the host PC, open My Computer or Windows Explorer and browse to the shared folder.
  2. Right-click the folder and choose Sharing.
  3. Select Not Shared and click OK. This deletes the old share and its stored passwords.
  4. Right-click the folder again, choose Sharing, and select Shared As.
  5. Set the access type (Read-Only, Full, or Depends on Password), enter the new password(s) you want to use, and click OK.
  6. Confirm the password when prompted. The old forgotten password is gone and the new one is now active.

Method 2: Clear the stored share passwords in the registry

Use this if the Sharing option is missing, grayed out, or behaves oddly, since leftover registry data is usually the cause.

  1. Click Start > Run, type regedit and press Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Network\LanMan.
  3. Before changing anything, click Registry > Export Registry File and save a backup copy to a floppy disk or another safe location.
  4. Under the LanMan key you'll see one subkey per share, named after each share name. Click the subkey for the problem share.
  5. Delete the values named Parm1enc and Parm2enc (and Parmenc if present) — these hold the encrypted passwords. Do not delete the whole subkey unless you intend to remove the share entirely.
  6. Close Regedit and restart the computer. Reopen the folder's Sharing properties and set a fresh password.

Method 3: Remove remembered passwords on the client PC

If the problem is a client PC that keeps sending an old, wrong saved password to a share:

  1. On the client machine, open Start > Settings > Control Panel and double-click Passwords.
  2. Go to the Change Windows Passwords tab (wording may differ slightly), or simply delete the cached password list file.
  3. Alternatively, close all programs, restart the computer, and at the logon prompt type a new, different user name and click OK without a password. Because no password list (.pwl) file exists for that name, Windows creates a fresh one and all cached share passwords are discarded.
  4. Reconnect to the share and enter the correct password when prompted, ticking the box to save it if you want it remembered.

Each user's cached network passwords live in a .pwl file in the Windows folder, named after the logon name (for example, USER.PWL). Deleting that file while logged in as that user, then restarting, achieves the same reset as Method 3.

Common Mistakes

  • Editing the registry without exporting a backup first. One wrong deletion in Regedit can break networking or prevent Windows from starting.
  • Deleting the entire LanMan subkey when you only meant to clear passwords — that removes the share itself and any comments and permissions attached to it.
  • Trying to reset the password from a client PC. The share password lives on the host machine; clearing the client's cache only stops it from sending the old one automatically.
  • Editing while logged into a different Windows user profile, then wondering why the .pwl file you deleted keeps coming back.
  • Forgetting that a share can have two passwords (read-only and full access) and only resetting one of them.

Tips

  • Pick passwords of 8 characters or fewer for share passwords — Windows 98 share-level passwords are short by design, and longer typing gains nothing.
  • If multiple people use the same PC, consider switching to user-level access control (Control Panel > Network > Access Control tab) so passwords are managed per user instead of per share.
  • Write new share passwords down somewhere secure; there is no recovery option, only reset.
  • After any registry edit, restart the machine before testing, since the network stack reads share settings at boot.

Troubleshooting

  • The Sharing option is missing from the right-click menu: File and Printer Sharing isn't installed. Open Control Panel > Network, click Add > Service, add File and printer sharing for Microsoft Networks, and restart when prompted.
  • The new password is rejected immediately: Check for Caps Lock, and confirm you're entering the password for the correct access level — the read-only and full-access passwords can be different.
  • The client keeps failing without prompting: It is sending a cached password. Clear the cached password list as described in Method 3, then reconnect so Windows prompts you.
  • Windows misbehaves after a registry edit: Restore your exported backup by double-clicking the .reg file you saved, or start in Safe Mode (hold Ctrl at boot) and reverse the change.
  • You can't access the host PC at all: Without physical access to the machine that hosts the share, there is no supported way to reset its password. Windows 98 share passwords are stored locally and cannot be reset remotely without knowing the current one.

Frequently Asked Questions

Where does Windows 98 store share passwords?

On the host PC, encrypted in the registry under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Network\LanMan. Cached passwords a client saves for reconnecting live in a .pwl file in the Windows folder.

Can I recover the old password instead of resetting it?

No supported way exists. The passwords are stored encrypted, so the practical answer is always to reset rather than recover.

Does removing the share delete my files?

No. Making a folder Not Shared only stops it from being visible on the network. The files themselves are untouched.

What's the difference between share-level and user-level access control?

Share-level puts a password on each shared folder. User-level checks each person against a list on a server or Windows machine, and requires a network server or another Windows PC to authenticate against.

Do I need to restart after changing a share password?

No — re-sharing through the Sharing dialog takes effect immediately. A restart is only recommended after direct registry edits.

Will this work on Windows 95 or ME?

The same general approach applies: Windows 95 uses the same LanMan registry location and .pwl caching, and Windows ME has a similar sharing model, though some dialog wording differs.