Login script is NOT executed, even if set on group policies.

Login script is NOT executed, even if set on group policies.

Post by UGFyYSBFbH » Sat, 25 Dec 2004 23:27:03


Hello. I'm the same guy of "How to avoid many users to use the same login".

Now I found a solution for that problem (THANKS!!!), I've stopped in a new
one.

I'm trying to set a group policy so users on the domain get the login script
from the DC.

I've setup all (IMHO) just the way it should be. I will not say how I did it
just to not to "contaminate" experts' point of view on the problem.

Using gpresult.exe and gptool.exe it seems that policies are retrieved from
the DC but NOT applied, because the login scripts are NOT executed.

In Windows NT, you have to get every user configured, in the profile tab of
the user properties window, to point where the login scripts are.

I though that you could choose to do the same in active directory -or- by
using group policies.

Please, tell me: What's the foolproof way to accomplish this??

THANKS AGAIN!!
 
 
 

Login script is NOT executed, even if set on group policies.

Post by Doug Sherm » Sat, 25 Dec 2004 23:43:21

Both methods will work. Don't know about foolproof, but the preferred way
to assign scripts in an Active Directory environment is with Group Policy.
See:

http://www.yqcomputer.com/

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP



login".
script
it
from
of

 
 
 

Login script is NOT executed, even if set on group policies.

Post by UGFyYSBFbH » Sun, 26 Dec 2004 00:05:02

THANKS, but...

I've tried that, too. And it still doesn't work. Even rebooting server and
clients makes no difference.
 
 
 

Login script is NOT executed, even if set on group policies.

Post by Doug Sherm » Sun, 26 Dec 2004 02:07:14

Try:

1. Make sure that the script is not defective - ie. run it manually on a
client machine and see if it works.

2. If your client machines are WinXP, you might have to logon twice or
consider disabling fast logon - See:

http://www.yqcomputer.com/ ;en-us;305293

3. Make sure you have not filtered out a security group the user is a
member of. See:

http://www.yqcomputer.com/ ;en-us;322176

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP




way
Policy.


new
did
tab
by
 
 
 

Login script is NOT executed, even if set on group policies.

Post by UGFyYSBFbH » Tue, 28 Dec 2004 21:25:15

OK. This could be obvious for many people. I made a mistake.

The network I'm talking about has many users, some of them can access
internet while others not.

I configured the computers with NO access to intenet with no gateway and NO
DNS...

So policies are not applied if no DNS is configured, and the DNS MUST BE THE
SERVER'S IP OR NAME!!

REMEMBER: DNS must be ALWAYS set to SERVER'S IP, no matter if you allow
access to internet, to group policies to be applied.