?
Solved

Windows 2000 server with XP client logon script question

Posted on 2003-11-13
3
Medium Priority
?
274 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 250 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

800 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