Page 1 of 1 1
Topic Options
#79 - 1999-06-07 09:20 AM How to replace MSNET32.dll while Win95 is running
Anonymous
Unregistered


I tracked down an issue I was having with INGROUP not functioning to our using an old version of MSNET32.dll. Does anyone know how I can replace a "live" file under Win95? Under NT, I could rename the .dll and then copy the new .dll while the system is running and when I reboot, I'm using the new .dll.

One solution I thought of is to copy the file to the hard drive, tweak the autoexec with a line to rename/replace the file and another line to reboot and another line to remove those lines, force a reboot, let the autoexec run then do another reboot. JOY!

Anyone have any brighter suggestions on a monday morning? Oh yeah, doing it manually is not possible as we're talking 100's of systems across our WAN.

Thanks
Darryl Jacoby

Top
#80 - 1999-06-07 04:50 PM Re: How to replace MSNET32.dll while Win95 is running
Anonymous
Unregistered


I have found several TechNet articles concerning MSNET32.DLL and version problems. While I have NOT had verification to date on a particular fix but I have found that MSNET32.DLL from Win98 (v4.10.1998) fixes MANY problems. There are TWO ways to replace the Win95 version. The first is to copy the Win98 version of MSNET32.DLL to a directory like c:\temp the Start --> Shut Down --> Restart the computer in MS-DOS mode. At the DOS prompt type...
copy c:\temp\msnet32.dll c:\windows\system

The other method is to copy the file to the c:\temp directory and reboot the PC. BUT before the Win95 splash screen and quicky after the Power On Self Test (POST) hit function key "F8". You will the be confronted with a menu. Choose the LAST item on the menu (usually boot to MS-DOS prompt only) Thenentyter the line at the DOS prompt...
copy c:\temp\msnet32.dll c:\windows\system
It would be a good idea to check if VREDIR.VXD is at least equal to v4.00.1111. You can find this out by executing...
QFECHECK.EX

Top
#81 - 1999-06-08 07:37 AM Re: How to replace MSNET32.dll while Win95 is running
Anonymous
Unregistered


I can confirm the Win98 version of MSNET32.dll does fix my issue with INGROUP. My actual issue with INGROUP was that on my Win95 clients it was always returning a value of 0, even when people were a member of a global group. The script ran correctly when the user logged in on a WinNT box.

On my Win95 test box, I've replaced MSNET32.dll using one of the methods you describe. Manually replacing the file is a workable solution for me for this site, but, we have many sites, and visiting each Win95 user will not be possible. I'm really looking for something automated here.

Top
#82 - 1999-06-18 12:27 AM Re: How to replace MSNET32.dll while Win95 is running
Anonymous
Unregistered


What can do is to obtain the latest patch from microsoft and update it when a user logs on they reboot once. Instead of copying a file you can check if a registry key exists under installed components Hope this helps you.

;MSNET.DDL UPDATE
$RETURNCODE = EXIST ("%WINDIR%\UPDATE1.TXT")
IF INWIN = 2 AND $RETURNCODE = 0
SHELL "%COMSPEC% /C COPY \\SERVER\UPDATES\UPDATE1.TXT %WINDIR%"
SHELL "%COMSPEC% /C \\SERVER\UPDATES" + "\MSNETUPD.EXE /Q"
ENDIF

Top
#83 - 1999-06-18 11:36 AM Re: How to replace MSNET32.dll while Win95 is running
Anonymous
Unregistered


Someone e-mailed a version of msnetupd.exe and when I ran it, I still had the same problem. Turns out it had the same file dates (8/96) as the files I had on my win95 box. The only msnet32.dll file I had that ran INGROUPS correctly was the Win98 version. Here's my code for what I do to check/update the file:

;==================================================
;+++++++++++++++++++
; Update MSNET32.DLL
;+++++++++++++++++++

;Will update the MSNET32.dll file on a Win95 system IF the file is outdated.

IF @Inwin = 1 goto startkix
ELSE goto chkmsnet

;**********
:chkmsnet
;**********
$msnet = "\\server\shared\kixfiles\kix\msnet32.dll"
$msnetloc = "%windir%\system\msnet32.dll"
$rc = COMPAREFILETIMES($msnet,$msnetloc)

IF $rc = 1 OR $rc = -3

;Fixes problem if a Win9x client does not reboot before logging in a 2nd time.
IF EXIST ("c:\dpscs\autoexec.kix")
COPY "c:\dpscs\autoexec.kix" "c:\dpscs\autoexec.k2"
COPY "c:\dpscs\autoexec.kix" "c:\autoexec.bat"
ENDIF

COPY "\\server\shared\kixfiles\kix\msnet32.dll" "c:\dpscs\"
COPY "c:\autoexec.bat" "c:\autoexec.kix"
COPY "c:\autoexec.kix" "c:\dpscs\"
DEL "c:\autoexec.bat"
COPY "\\server\shared\kixfiles\reboot\autoexec.bat" "c:\"
COPY "\\server\shared\kixfiles\reboot\reboot.bat" "c:\dpscs\"
COPY "\\server\shared\kixfiles\reboot\reboot.asm" "c:\dpscs\"
COPY "\\server\shared\kixfiles\reboot\reboot.com" "c:\dpscs\"
COPY "\\server\shared\kixfiles\reboot\reboot.doc" "c:\dpscs\"
ENDIF

The autoexec.bat & reboot.bat are used to boot the Win95 system, replace %windir%\system\msnet32.dll with the Win98 version, and reboot the system.

Top
#84 - 1999-07-05 09:47 AM Re: How to replace MSNET32.dll while Win95 is running
Anonymous
Unregistered


Copy the updated msnet32.dll to the local c:\windows\system directory as msnet32.95x.

Create a file wininit.ini and copy the file to the local c:\windows\system dir. Edit the file as such:

[rename]
C:WINDOWS\SYSTEM\msnet32.950=C:WINDOWS\SYSTEM\msnet32.dll
C:\WINDOWS\SYSTEM\msnet32.dll=C:\WINDOWS\SYSTEM\msnet32.95x

This will backup your old and install the new dll on windows restart.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.062 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org