Solved

How NT Logon Scripts Work

Posted on 2001-06-18
3
147 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 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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I could not get notification EN_CLIPFORMAT for RichEdit control 11 40
laptop problem 21 96
local administrator password solution 26 78
Steps to follow for Maintenance of Servers 4 53
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now