Solved

How NT Logon Scripts Work

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
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 …

696 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