• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3992
  • Last Modified:

SBS 2003 Logon script won't run from default domain policy

I have a new SBS 2003 server.

I created a login script and put in under the default folder for scripts for the default domain policy.  I even ran group policy results top make sure it was not being blocked (it was not.)

When I logon as a user locally at the server, the script ran fine.  When I logged on from a workstation - nothing.  I have done this before and not had such problems.  Is there an SBS setting that might block the default domain logon script from running from a workstation.

1 Solution
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
There is only one login script that should run in an SBS network, and that's the default SBS_LOGIN_SCRIPT.bat that you'll find in \\servername\NETLOGON.  If you want further batch files to run you should place those batch files in the same directory and then add CALL lines to the default script.

Then... did you add your workstations to the network using http://<servername>/connectcomputer?

Have you notised any Records in the event log of the clients ?

Robberbaron (robr)Commented:
as Jeff suggests, return the Default Domain Policy back to default.

Create a new policy to hold just the logon script.
Apply this policy at the user container level.
Sam RavenscroftIT ConsultantCommented:
In my case the problem was that I had included a path in the users login script property.

(Server Management \ Users \ <Some User Properties> \ Profile \ Logon Script)

I have "\\domain.local\netlogon\SBS_LOGIN_SCRIPT.bat" wich is WRONG!

It should only be "SBS_LOGIN_SCRIPT.bat" (without the path)
This was driving me batty until I read sravenscroft's comment about the path exclusion. Thanks sravenscroft, you saved my sanity!

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now