Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Get-QADComputer reports Insufficient memory even when doing little

Reply
 
Old 11-30-2008   #1 (permalink)
ssg31415926


 
 

Get-QADComputer reports Insufficient memory even when doing little

Last week, I wrote a script which retrieved all computers in my domain
using Get-QADComputer. This week it doesn't work. Each attempt to
invoke Get-QADComputer results in this:

Get-QADComputer : Insufficient memory to continue the execution of the
program.

E.g.
$distinguishedName = 'a valid OU DN (with computers in the OU)'
Get-QADComputer -SearchRoot $distinguishedName -IncludeAllProperties -
SizeLimit 0
Get-QADComputer : Insufficient memory to continue the execution of the
program.
At line:1 char:16
+ Get-QADComputer <<<< -SearchRoot $distinguishedName -
IncludeAllProperties -SizeLimit 0

As part of my diagnostics, I tried the smallest search I could think
of:

Get-QADComputer -identity myComputerDN

and it gave me the same result.

The weird thing is that if I just run Get-QADComputer on its own, I
get results. (1000, as you'd expect from the defaults.)

I feel like I must be doing something stupid but for the life of me, I
can't see what it is. Can anyone help?


My System SpecsSystem Spec
Old 11-30-2008   #2 (permalink)
ssg31415926


 
 

Re: Get-QADComputer reports Insufficient memory even when doinglittle

I think I may have worked this out but I can't check it at the moment
as I don't have access to other accounts. We have a Kerberos token
size problem - the network management team has implemented a
ridiculous nested-groups architecture and nobbled some accounts in the
process. Mine currently appears to be one of them. This morning, I'm
getting these in the System event log:

Event Type: Warning Event Source: Kerberos Event ID: 6
Description: The kerberos SSPI package generated an output token of
size 2F2C bytes, which was too large to fit in the 2F2A buffer buffer
provided by process id 0. If the condition persists, please contact
your system administrator.

The biggest issue with this problem is that it's completely
unpredictable what it breaks. Sometimes it's Ops Manager, sometimes
it's ADUC - I guess it just depends which groups end up at the end of
the list, so to speak.

I'm still quite new to PoSh and QAD in particular so I'm not sure why
this would cause the problem. Can anyone shed any light?

On Nov 30, 8:18*am, ssg31415926 <newsjunkm...@xxxxxx> wrote:
Quote:

> Last week, I wrote a script which retrieved all computers in my domain
> using Get-QADComputer. *This week it doesn't work. *Each attempt to
> invoke Get-QADComputer results in this:
>
> Get-QADComputer : Insufficient memory to continue the execution of the
> program.
>
> E.g.
> $distinguishedName = 'a valid OU DN (with computers in the OU)'
> Get-QADComputer -SearchRoot $distinguishedName -IncludeAllProperties -
> SizeLimit 0
> Get-QADComputer : Insufficient memory to continue the execution of the
> program.
> At line:1 char:16
> + Get-QADComputer *<<<< -SearchRoot $distinguishedName -
> IncludeAllProperties -SizeLimit 0
>
> As part of my diagnostics, I tried the smallest search I could think
> of:
>
> Get-QADComputer -identity myComputerDN
>
> and it gave me the same result.
>
> The weird thing is that if I just run Get-QADComputer on its own, I
> get results. *(1000, as you'd expect from the defaults.)
>
> I feel like I must be doing something stupid but for the life of me, I
> can't see what it is. *Can anyone help?
My System SpecsSystem Spec
Old 11-30-2008   #3 (permalink)
Rob Campbell


 
 

Re: Get-QADComputer reports Insufficient memory even when doing li

How many security groups is your account a member of?

"ssg31415926" wrote:
Quote:

> I think I may have worked this out but I can't check it at the moment
> as I don't have access to other accounts. We have a Kerberos token
> size problem - the network management team has implemented a
> ridiculous nested-groups architecture and nobbled some accounts in the
> process. Mine currently appears to be one of them. This morning, I'm
> getting these in the System event log:
>
> Event Type: Warning Event Source: Kerberos Event ID: 6
> Description: The kerberos SSPI package generated an output token of
> size 2F2C bytes, which was too large to fit in the 2F2A buffer buffer
> provided by process id 0. If the condition persists, please contact
> your system administrator.
>
> The biggest issue with this problem is that it's completely
> unpredictable what it breaks. Sometimes it's Ops Manager, sometimes
> it's ADUC - I guess it just depends which groups end up at the end of
> the list, so to speak.
>
> I'm still quite new to PoSh and QAD in particular so I'm not sure why
> this would cause the problem. Can anyone shed any light?
>
> On Nov 30, 8:18 am, ssg31415926 <newsjunkm...@xxxxxx> wrote:
Quote:

> > Last week, I wrote a script which retrieved all computers in my domain
> > using Get-QADComputer. This week it doesn't work. Each attempt to
> > invoke Get-QADComputer results in this:
> >
> > Get-QADComputer : Insufficient memory to continue the execution of the
> > program.
> >
> > E.g.
> > $distinguishedName = 'a valid OU DN (with computers in the OU)'
> > Get-QADComputer -SearchRoot $distinguishedName -IncludeAllProperties -
> > SizeLimit 0
> > Get-QADComputer : Insufficient memory to continue the execution of the
> > program.
> > At line:1 char:16
> > + Get-QADComputer <<<< -SearchRoot $distinguishedName -
> > IncludeAllProperties -SizeLimit 0
> >
> > As part of my diagnostics, I tried the smallest search I could think
> > of:
> >
> > Get-QADComputer -identity myComputerDN
> >
> > and it gave me the same result.
> >
> > The weird thing is that if I just run Get-QADComputer on its own, I
> > get results. (1000, as you'd expect from the defaults.)
> >
> > I feel like I must be doing something stupid but for the life of me, I
> > can't see what it is. Can anyone help?
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Memory insufficient problems Vista General
Insufficient Free Memory Vista General
Insufficient memory with 2GB? Vista hardware & devices
IE7 - Insufficient memory to save this webpage Vista General
Installation error - insufficient memory Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46