?
Solved

How NT Logon Scripts Work

Posted on 2001-06-18
3
Medium Priority
?
161 Views
Last Modified: 2013-12-28
I am trying to figure out how NT logon scripts are kicked off and I'd appreciate some input please.

If I have a remote NT workstation and connect to my RAS server domain ZZZZ, by selecting 'Logon by Dial Up networking' then everything is fine and dandy, everything runs net shares get allocated etc....

If however I start up the NT workstation and Log on the the Domain of the PC (say - XXXX) then the PC works fine, and I can connect to my remote (RAS) system by using Phone Dialer, however when I connect to the system the Logon script does not run. I can still allocate network shares and access the network.

So my question is this;
Can I get an NT logon Script to run by connecting to the RAS server using Dialup networking, AFTER I have started up the PC?

thanks,
0
Comment
Question by:bmtech
3 Comments
 
LVL 12

Accepted Solution

by:
Nenadic earned 300 total points
ID: 6202826
NT Logon script runs once the user is authenticated through NetLogon service (passing information from Logon screen).

However, when logging through Dial-Up networking, your account is already logged on to the desktop, so it assumes that you have two accounts - one for the computer and one for the network, so there is no need for the logon script.

The way around this would be to connect through DUN, then manually double-click on a batch file containing your drive mappings.
0
 
LVL 2

Expert Comment

by:stevehamilton
ID: 6202844
The behavior you describe is by design.  According to Microsoft, in order to get your logon script to run, you must select the "Log In using Dial-Up Networking" check box and log in that way.  See the following KB article:

http://support.microsoft.com/support/kb/articles/Q245/0/35.ASP?LN=EN-US&SD=gn&FR=0&qry=logon%20script%20does%20not%20run&rnk=6&src=DHCS_MSPSS_gn_SRCH&SPR=NTW40

Microsoft discourages the use of logon scripts with dialup connections and instead, recommends modifying the profile.  Hope this helps.
0
 
LVL 2

Author Comment

by:bmtech
ID: 6203097
Hmm this is what I had figured, but its good to have it confirmed.

thanks,
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question