Solved

Windows 2000 server with XP client logon script question

Posted on 2003-11-13
3
269 Views
Last Modified: 2010-03-19
I have created a simple logon script to map some network drives.  I called the script startup.bat and placed it in the \winnt\sysvol\%domain%\scripts directory. (Where %domain% is the name of the company)

I then went into AD users and computers, opened the profile of a user and put \\server\sysvol\%domain%\scripts\startup.bat into the logon script box.

Why doesn't it run?
0
Comment
Question by:dkuhlman
[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 6

Expert Comment

by:Casca1
ID: 9741177
I couldn't begin to imagine why it doesn't run. However, I can tell you a good way to get it to run. Apply it through a group policy.
Open AD User and computers, right click your domain, and select properties.
In the properties screen, select the group policy tab, click edit, user, windows settings, scripts.
Double click logon scripts, click add, and then browse to your script location.
After you add it, close out to the AD User and computers, and then go to your users that you added the script to in their profile, and remove it.
It could be cached logons are causing your issue, jeez, I dunno.
But through GPO scripting, if it doesn't work, it's because your client used a cahced logon, which will happen when a Global Catalog server can't be contacted to validate the logon request.
0
 
LVL 4

Expert Comment

by:P1isken
ID: 9749732
It depends on if you are having the client Log in from across the network or on the local machine... I am guessing across the network, just your comments do not specify...

For a logon script to be ran, it has to be accessible by the client that needs to run it.. So if User A needs to be able to execute that logon script, it has to be shared to him with at least read access...

To test this, have the user logon to the workstation and then you can goto:
Start -> Run -> And type "\\servername\sharename\pathtologinscript" minus the quotes of course...

If that person can not access it, then it will not execute at logon. You also should be using the same path in the Client's properties that the user has to type to access it...

Good luck and let us know...
0
 
LVL 1

Accepted Solution

by:
strangedesign earned 125 total points
ID: 9751325
try just inserting
startup.bat
in the profile and not the full path
 \\server\sysvol\%domain%\scripts\startup.bat
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

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