LISTING A: Win98 or Win95 Add-on Script :win95scr REM This section runs on a Win95 client. copy %0\..\Logoff.exe "C:\Logoff.exe" /v BEGIN CALLOUT A del %windir%\*.pwl > nul %0\..\regchg "SYSTEM\CurrentControlSet\Control\PwdProvider\MSNP32" UseMasterKey REG_DWORD "0" > NUL %0\..\regchg "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network" DisablePwdCaching REG_DWORD "1" > NUL END CALLOUT A REM Change domain name to new domain's name. %0\..\reg update HKLM\System\CurrentControlSet\Services\MSNP32\NetworkProvider\AuthenticatingAge nt= "NEWDOMAIN" > NUL %0\..\reg update HKLM\System\CurrentControlSet\Services\VxD\VNETSUP\Workgroup="NEWDOMAIN" > NUL BEGIN CALLOUT B REM Log off user. %0\..\reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce\Logoff="C:\Logoff.exe" > NUL goto end END CALLOUT B 1