If the logon script doesn't run, when you use a Windows NT 4.0 workstation to logon to a domain via RAS, chances are that the computer account for your workstation is missing in the domain. If you can logon, using the same UserName/Password, from a W9x computer, and the script runs, then this is definetly the problem.
You can workaround this problem by:
1. Creating the computer account in the domain by using Server Manager.
2. Creating the computer account using tip 0197.
3. Creating a shortcut to the script, \\Server\Netlogon\script.bat, and placing it in your startup group.
4. As a last resort, using W9x when logging on via RAS.