Solved

Windows 2000 server with XP client logon script question

Posted on 2003-11-13
3
238 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
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Arista Switches 2 42
Route Summarization 2 31
Network Config 9 53
VM additional properties in NIC Teaming disabled 7 45
What’s a web proxy server? A proxy server is a server that goes between clients and web servers, used in corporate to enforce corporate browsing policy and ensure security. Proxy servers are commonly used in three modes. A)    Forward proxy …
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.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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