Logon script on Active Directory

February 7, 2011 at 05:01:01
Specs: Windows XP
I'm trying to run a simple vbs script in the domain of
my network. There is a PDC with a replica server.

The strange thing is that the script is executed 2 times.
this is the script: msgbox ("hello!")
if I logon I see two msgbox!

Why?
Thanks!


See More: Logon script on Active Directory

Report •

#1
March 3, 2011 at 01:46:55
could you post your script, then only can analyse...

http://serveradministrators.blogspo...


Report •

#2
March 3, 2011 at 08:08:20
I don't think it is his script. I ran into this my self years back and I can not remember how I fixed it. I think it had something to do with GPO inheritance. I just looked around in my GPO settings and figured it out but I can't remember how. Stupid scatter brain.

P.S. Never mind I just remembered what it was. I was being a moron and put the login script in both the Default GPO and one of group GPOs I created. I was trying to solve a problem of the drives taking too long to map and thought it had something to do with the order inwhich the GPOs fired. It was the anti-virus in the end.

As for a possible solution can you simply hide the login executions by setting the "Run Logon Scripts Invisible" in the User Config - Admin Templates - Scripts GPO.


Report •
Related Solutions


Ask Question