Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to modify a logon script that was created by a previous employee. When I look in Active Directory Users & Computers - in the profile tab - it says Logon Script: Logon.bat

But where is that logon.bat? how can i find the path to this file?

Also, is there any way i can bulk change every users logon script location?

share|improve this question
I'd suggest submitting the bulk change as a separate question. You'll be more likely to get attention to it and it'll be easier to find later in life by someone searching for that same question. – squillman Nov 9 '09 at 16:32
I find the tricky part to be remembering if the file is logon.bat or login.bat when I specify it in the Properties :-P – Kyle Brandt Nov 9 '09 at 18:20
up vote 10 down vote accepted

Have a look in \\myDomain.loc\NETLOGON\

If this is where your predecessor stored the script, you can find the location of this folder locally to the DC by opening the Computer Management console on the DC, and checking through the Shares (you'll find the path to the Netlogon share here).

As for bulk changes, in AD Users and Computers you can shift select multiple users, right click, and choose Properties. Go to the Profile tab, and change the Logon Script.

share|improve this answer
yep, what he said. Often it's \\DC1\netlogon or \\companyname-DC1\netlogon – pplrppl Nov 9 '09 at 16:34
+1, but you should also consider using GPO logon scripts as they will remove a LOT of this pain from the whole experience. The per-user "logon script" property is only provided for legacy NT4 backwards compatibility. – Le Comte du Merde-fou Nov 9 '09 at 18:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.