Run logon script automatically

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

I note that Windows XP OS client pcs do not run logon script on NT4 server
while Windows 95-ME client pcs run it correctly. Can someone tell me the
possible causes and fixes.

Thanks,

Ray
 
As long as the Windows XP computers are members of the domain which is
hosting the logon script (they would have to be XP Pro since the home
edition can't join a domain), they should run it. Look in the script itself
to see if it has a check for the operating system. e.g. IF "%OS%" == THIS DO
SOMETHING

If possible, post a text copy of the logon script here.
 
Replied in another group - if you need to post to multiple groups, it's best
to do so all at once in a single message (separate the NG names with commas)
so that everyone can follow the thread. A lot of people subscribe to
multiple groups, and this way you won't be asking anyone to reproduce
someone else's work, and everyone can benefit.

Crossposting = posting once to several newsgroups within a single message.
This is not a Bad Thing (presuming the list of groups posted to is small,
and all the groups are truly relevant to your question)

Multiposting = posting separate, identical posts to several newsgroups. This
is a Bad Thing. :-)

See http://www.aspfaq.com/etiquette.asp?id=5003 and
http://www.blakjak.demon.co.uk/mul_crss.htm
 
Seeker,

Thanks for your reply.

The logon script is as below:-

net time \\server2 /set /yes
Call \\server2\vplogon\vplogon.bat

The first one is unimportant to Windows XP Pro due to in-built internet time
sync. The important one is the virus update of the second one. I tried to
run it manually in Run mode and command prompt mode with following error.

'NBPSHPOP' is not recognised as internal or external command, operable
program or batch file.
The system cannot find the drive specified.
The system cannot find the drive specified.
'NBPSHPOP' is not recognised as internal or external command, operable
program or batch file.

The script does not have system check. What is the syntax to add it in?
Could you help me fix this up.

Thanks,

Ray
 
Running the command directly was a smart idea, and may have yielded a
valuable clue. My guess is that your NetBIOS protocol is not correctly
configured. However, first try to ping the server name by its
Windows/NetBIOS name. If that does not work, it may also be a WINS name
resolution issue. Run ipconfig /all to check if you are getting the WINS
server addresses from your DHCP , or they have been manually entered

To verify your NetBIOS configuration, go to Control Panel>network
Connections. Select your network adapter, and look at its properties. Under
the properties of TCP/IP, go to the 'Advanced tab' and proceed to WINS. At
the bottom there should be a radio button for 'Enable NetBIOS over TCP/IP,.

You can verify the bindings for your network adapter by clicking in the
Advanced menu option (adjacent to Help and Tools in the Top windows pane),
and select Advanced settings.
 
Note that the other thread (can't remember the group right now) indicates a
problem with a command in the batch file called in the login script.
 
Attn Lanwench, really don't need any "Internet Cops" telling everyone how YOU think is proper to "Multipost" ????
 
Back
Top