Ask the Expert

AD login script works on test server but not on new users' PCs, part 2

I had a question on the answer to AD login script works on test server but not on new users' PCs. Why can't the login script simply be in the group policy? It seems to me that putting it in the group policy is useless if you have to put it in each users profile as well.

I'm having the same problem where a machine won't run the login script, and then later it will. Network connectivity is fine (another machine on the same hub gets the script without issues). Is there any way to log what's happening during the login?

    Requires Free Membership to View

Part 1: Yes, you should be able to enable a script setting via a group policy object. Manually specifying it in the User Property sheet is recommended as a troubleshooting step.

Part 2: By default, logon scripts run as a background tasks. As a troubleshooting step, you can try using the Start.exe command-line tool to run local and domain logon scripts as a foreground process, as explained in MS KB article 265016, How to run a domain logon script in the foreground with the Start.exe command-line tool.

This was first published in June 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: