Q

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.

This was first published in June 2003

Dig deeper on iSCSI Management for Windows

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close