'net use' problem with Windows 98

A number of users have reported problems using the 'net use' command under Windows 98 under Virtual PC. This appears to be a bad interaction between Windows file sharing and the Virtual Machine Additions folder sharing client. There are two easy ways to work around this problem:

  1. Browse to a network location in Windows explorer under Windows 98 first - and then use 'net use'. This seems to sort out the problem (for reasons that I do not fully understand)
  2. Delete the HKEY_LOCAL_MACHINESystemCurrentControlSetServicesVxDFSHARE32 key from the registry under Windows 98. This will completely disable folder sharing but allow 'net use' to work at all times.

Cheers,
Ben