Problem solve Get help with specific problems with your technologies, process and projects.

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?

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.

Dig Deeper on Windows Server storage management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.