Solved

How NT Logon Scripts Work

Posted on 2001-06-18
3
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Accepted Solution

by:
Nenadic earned 100 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

730 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