Re: [ActiveDir] machine GP load
I just whipped up this _vbscript_ to get you started. Idon't have time to provide a more detailed breakdown as that involves a little extra thought, but this should point you in the right direction... Save, for example, as c:\count.vbs and run, from CMD, like so: cscript c:\count.vbs count.xls Dim oRootDse, oBase Set oRootDse = GetObject("LDAP://RootDSE")Set oBase = GetObject("LDAP://" oRootDse.get("defaultNamingContext"))countObjects oBase.ADsPath, 0 ' ***' countObjects(ADsPath, count)' ' Recursive function to count the number of children' in a container.' ' ***Private Function countObjects(oParent, iCount)Dim oChild, cChildren, aSchema, sSchemaDim i : i = 0Set cChildren = GetObject(oParent)For Each oChild In cChildren aSchema = Split(oChild.schema,"/") sSchema = aSchema(UBound(aSchema,1)) i = i + 1 c = countObjects(oChild.ADsPath, i) If(Not(sSchema = "inetOrgPerson" Or _ sSchema = "user" Or _ sSchema = "computer" Or _ sSchema = "group"))Then WScript.Echo oChild.get("distinguishedName") vbTab c End IfNextcountObjects=iEnd Function --Paul - Original Message - From: Jerry Welch To: ActiveDir@mail.activedir.org Sent: Thursday, August 10, 2006 12:49 AM Subject: RE: [ActiveDir] machine GP load Does anyone have, or know of, a utility program that will provide a breakout of object counts in ADin each container, with a rollup so that each container shows all of the containers below it ? Joe ? Thanks, Jerry Jerry Welch CPS Systems US/Canada: 888-666-0277 International: +1 703 827 0919 (-5 GMT) IP Phone (Skype): Jerry_Welch ( www.skype.net )
RE: [ActiveDir] machine GP load
I tried it out, I was hitting the enter key forever thanks to: WScript.Echo oChild.get(distinguishedName) vbTab c From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Williams Sent: Thursday, August 10, 2006 8:59 AM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] machine GP load I just whipped up this _vbscript_ to get you started. Idon't have time to provide a more detailed breakdown as that involves a little extra thought, but this should point you in the right direction... Save, for example, as c:\count.vbs and run, from CMD, like so: cscript c:\count.vbs count.xls Dim oRootDse, oBase Set oRootDse = GetObject(LDAP://RootDSE) Set oBase = GetObject(LDAP:// oRootDse.get(defaultNamingContext)) countObjects oBase.ADsPath, 0 ' *** ' countObjects(ADsPath, count) ' ' Recursive function to count the number of children ' in a container. ' ' *** Private Function countObjects(oParent, iCount) Dim oChild, cChildren, aSchema, sSchema Dim i : i = 0 Set cChildren = GetObject(oParent) For Each oChild In cChildren aSchema = Split(oChild.schema,/) sSchema = aSchema(UBound(aSchema,1)) i = i + 1 c = countObjects(oChild.ADsPath, i) If(Not(sSchema = inetOrgPerson Or _ sSchema = user Or _ sSchema = computer Or _ sSchema = group))Then WScript.Echo oChild.get(distinguishedName) vbTab c End If Next countObjects=i End Function --Paul - Original Message - From: Jerry Welch To: ActiveDir@mail.activedir.org Sent: Thursday, August 10, 2006 12:49 AM Subject: RE: [ActiveDir] machine GP load Does anyone have, or know of, a utility program that will provide a breakout of object counts in ADin each container, with a rollup so that each container shows all of the containers below it ? Joe ? Thanks, Jerry Jerry Welch CPS Systems US/Canada: 888-666-0277 International: +1 703 827 0919 (-5 GMT) IP Phone (Skype): Jerry_Welch ( www.skype.net )
Re: [ActiveDir] machine GP load
Ha ha. That's why my post says to run using CSCRIPT. --Paul - Original Message - From: Ramon Linan To: ActiveDir@mail.activedir.org Sent: Thursday, August 10, 2006 2:31 PM Subject: RE: [ActiveDir] machine GP load I tried it out, I was hitting the enter key forever thanks to: WScript.Echo oChild.get("distinguishedName") vbTab c From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul WilliamsSent: Thursday, August 10, 2006 8:59 AMTo: ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] machine GP load I just whipped up this _vbscript_ to get you started. Idon't have time to provide a more detailed breakdown as that involves a little extra thought, but this should point you in the right direction... Save, for example, as c:\count.vbs and run, from CMD, like so: cscript c:\count.vbs count.xls Dim oRootDse, oBase Set oRootDse = GetObject("LDAP://RootDSE")Set oBase = GetObject("LDAP://" oRootDse.get("defaultNamingContext"))countObjects oBase.ADsPath, 0 ' ***' countObjects(ADsPath, count)' ' Recursive function to count the number of children' in a container.' ' ***Private Function countObjects(oParent, iCount)Dim oChild, cChildren, aSchema, sSchemaDim i : i = 0Set cChildren = GetObject(oParent)For Each oChild In cChildren aSchema = Split(oChild.schema,"/") sSchema = aSchema(UBound(aSchema,1)) i = i + 1 c = countObjects(oChild.ADsPath, i) If(Not(sSchema = "inetOrgPerson" Or _ sSchema = "user" Or _ sSchema = "computer" Or _ sSchema = "group"))Then WScript.Echo oChild.get("distinguishedName") vbTab c End IfNextcountObjects=iEnd Function --Paul - Original Message - From: Jerry Welch To: ActiveDir@mail.activedir.org Sent: Thursday, August 10, 2006 12:49 AM Subject: RE: [ActiveDir] machine GP load Does anyone have, or know of, a utility program that will provide a breakout of object counts in ADin each container, with a rollup so that each container shows all of the containers below it ? Joe ? Thanks, Jerry Jerry Welch CPS Systems US/Canada: 888-666-0277 International: +1 703 827 0919 (-5 GMT) IP Phone (Skype): Jerry_Welch ( www.skype.net )
RE: [ActiveDir] machine GP load
Lol you are right, did not see that J learn the hard way Thanks From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Williams Sent: Thursday, August 10, 2006 10:40 AM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] machine GP load Ha ha. That's why my post says to run using CSCRIPT. --Paul - Original Message - From: Ramon Linan To: ActiveDir@mail.activedir.org Sent: Thursday, August 10, 2006 2:31 PM Subject: RE: [ActiveDir] machine GP load I tried it out, I was hitting the enter key forever thanks to: WScript.Echo oChild.get(distinguishedName) vbTab c From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Williams Sent: Thursday, August 10, 2006 8:59 AM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] machine GP load I just whipped up this _vbscript_ to get you started. Idon't have time to provide a more detailed breakdown as that involves a little extra thought, but this should point you in the right direction... Save, for example, as c:\count.vbs and run, from CMD, like so: cscript c:\count.vbs count.xls Dim oRootDse, oBase Set oRootDse = GetObject(LDAP://RootDSE) Set oBase = GetObject(LDAP:// oRootDse.get(defaultNamingContext)) countObjects oBase.ADsPath, 0 ' *** ' countObjects(ADsPath, count) ' ' Recursive function to count the number of children ' in a container. ' ' *** Private Function countObjects(oParent, iCount) Dim oChild, cChildren, aSchema, sSchema Dim i : i = 0 Set cChildren = GetObject(oParent) For Each oChild In cChildren aSchema = Split(oChild.schema,/) sSchema = aSchema(UBound(aSchema,1)) i = i + 1 c = countObjects(oChild.ADsPath, i) If(Not(sSchema = inetOrgPerson Or _ sSchema = user Or _ sSchema = computer Or _ sSchema = group))Then WScript.Echo oChild.get(distinguishedName) vbTab c End If Next countObjects=i End Function --Paul - Original Message - From: Jerry Welch To: ActiveDir@mail.activedir.org Sent: Thursday, August 10, 2006 12:49 AM Subject: RE: [ActiveDir] machine GP load Does anyone have, or know of, a utility program that will provide a breakout of object counts in ADin each container, with a rollup so that each container shows all of the containers below it ? Joe ? Thanks, Jerry Jerry Welch CPS Systems US/Canada: 888-666-0277 International: +1 703 827 0919 (-5 GMT) IP Phone (Skype): Jerry_Welch ( www.skype.net )
[ActiveDir] machine GP load
I have a few machines that will not load the machine GP. Im pretty sure that its an issue with the workstations but just to cover butt, is there any thing that on the GP or AD that would prevent the GP from loading? Antonio Confidentiality Notice: The information contained in this message may be legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any release, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error please notify the author immediately by replying to this message and deleting the original message. Thank you.
RE: [ActiveDir] machine GP load
If by "loading", you mean applying the settings, yes, there are things in AD/GP that would affect workstation application of policies, including ACLs on the policies, OU structures, use of blocking and application of loopback processing. Laura From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio ArandaSent: Wednesday, August 09, 2006 4:53 PMTo: ActiveDir@mail.activedir.orgSubject: [ActiveDir] machine GP load I have a few machines that will not load the machine GP. Im pretty sure that its an issue with the workstations but just to cover butt, is there any thing that on the GP or AD that would prevent the GP from loading? Antonio Confidentiality Notice: The information contained in this message may be legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any release, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error please notify the author immediately by replying to this message and deleting the original message. Thank you.
RE: [ActiveDir] machine GP load
Several things might prevent that, including security filters that are denying access to the GPO from the machines, network timing issues (esp. if its only machine GPOs that are causing the problem). I would use GPMC to run a GP Results Wizard against the machine and just verify that the GPOs are not denied for some reason that you can control. If the component status shows that GP Infrastructure processing Failed, then its probably something other than the obvious and we can go from there. Darren Darren Mar-Elia For comprehensive Windows Group Policy Information, check out www.gpoguy.com-- the best source for GPO FAQs, video training, tools and whitepapers. Also check out the Windows Group Policy Guide,the definitiveresource for Group Policy information. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio ArandaSent: Wednesday, August 09, 2006 1:53 PMTo: ActiveDir@mail.activedir.orgSubject: [ActiveDir] machine GP load I have a few machines that will not load the machine GP. Im pretty sure that its an issue with the workstations but just to cover butt, is there any thing that on the GP or AD that would prevent the GP from loading? Antonio Confidentiality Notice: The information contained in this message may be legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any release, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error please notify the author immediately by replying to this message and deleting the original message. Thank you.
RE: [ActiveDir] machine GP load
Have you performed the usual gpresult, modelling, etc? Anything in the event logs? Is this a new policy or new machines (to the domain), or both in fact? Cheers Rob Robert Rutherford QuoStar Solutions Limited The Enterprise Pavilion Fern Barrow Wallisdown Poole Dorset BH12 5HH T: +44 (0) 8456 440 331 F: +44 (0) 8456 440 332 M: +44 (0) 7974 249 494 E: [EMAIL PROTECTED] W: www.quostar.com From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Aranda Sent: 09 August 2006 21:53 To: ActiveDir@mail.activedir.org Subject: [ActiveDir] machine GP load I have a few machines that will not load the machine GP. Im pretty sure that its an issue with the workstations but just to cover butt, is there any thing that on the GP or AD that would prevent the GP from loading? Antonio Confidentiality Notice: The information contained in this message may be legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any release, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error please notify the author immediately by replying to this message and deleting the original message. Thank you.
RE: [ActiveDir] machine GP load
Does anyone have, or know of, a utility program that will provide a breakout of object counts in ADin each container, with a rollup so that each container shows all of the containers below it ? Joe ? Thanks, Jerry Jerry Welch CPS Systems US/Canada: 888-666-0277 International: +1 703 827 0919 (-5 GMT) IP Phone (Skype): Jerry_Welch ( www.skype.net )
RE: [ActiveDir] machine GP load
No but a recursive program to do this would be an easy thing to write. Thanks, Brian Desmond [EMAIL PROTECTED] c - 312.731.3132 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Welch Sent: Wednesday, August 09, 2006 6:50 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] machine GP load Does anyone have, or know of, a utility program that will provide a breakout of object counts in ADin each container, with a rollup so that each container shows all of the containers below it ? Joe ? Thanks, Jerry Jerry Welch CPS Systems US/Canada: 888-666-0277 International: +1 703 827 0919 (-5 GMT) IP Phone (Skype): Jerry_Welch ( www.skype.net )