6

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?

  • 3
    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
10

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.

| improve this answer | |
  • yep, what he said. Often it's \\DC1\netlogon or \\companyname-DC1\netlogon – pplrppl Nov 9 '09 at 16:34
  • 4
    +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. – Maximus Minimus Nov 9 '09 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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