> I have added a script to add printers on the network to a particular group
> in GPO and its working absolutely fine. The problem is when i login to any
[quoted text clipped - 7 lines]
> added
> on the servers.
Sounds like the logon script should be applied to computers rather than
users, and the servers should not be in the OU the GPO applies to. That
would be the easiest solution. Otherwise, the script can read the
operatingSystem attribute of the computer object and parse for the string
"server". In VBScript:
Set objSysInfo = CreateObject("ADSystemInfo")
strComputerDN = objSysInfo.ComputerName
Set objComputer = GetObject("LDAP://" & strComputerDN)
strOS = objComputer.operatingSystem
If (InStr(LCase(strOS), "server") > 0) Then
' Local computer has a server operating system.
End If

Signature
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--