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 - "ViewEntireForest": "Active Directory operation failed on . Thesupplied credential for

Reply
 
Old 01-05-2009   #1 (permalink)
Personne


 
 

"ViewEntireForest": "Active Directory operation failed on . Thesupplied credential for

Exception setting "ViewEntireForest": "Active Directory operation
failed on . The supplied credential for 'MyCompanyDomain\admin' on
Bind operation i
s invalid. Error Code: 0x31."
At C:\Program Files\Microsoft\Exchange Server\bin\Exchange.ps1:33 char:
32
+ $global:AdminSessionADSettings.V <<<< iewEntireForest = $false


LINE 33 is $global:AdminSessionADSettings.ViewEntireForest = $false

Once in a while I get this error message !
The only way so far to fix it for me, is to logoff/logon or restart my
computer.
If I close Powershell and reopen it, it doesn't change anything

Any idea ?

My System SpecsSystem Spec
Old 01-05-2009   #2 (permalink)
Shay Levy [MVP]


 
 

Re: "ViewEntireForest": "Active Directory operation failed on . The supplied credential for

Hi Personne,


See if first entry in this page helps:
http://www.exchangeninjas.com/PowerShellFAQs

And "$AdminSessionADSettings and you":
http://blogs.technet.com/evand/archi...s-and-you.aspx

---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar: http://tinyurl.com/PSToolbar



P> Exception setting "ViewEntireForest": "Active Directory operation
P> failed on . The supplied credential for 'MyCompanyDomain\admin' on
P> Bind operation i
P> s invalid. Error Code: 0x31."
P> At C:\Program Files\Microsoft\Exchange Server\bin\Exchange.ps1:33
P> char:
P> 32
P> + $global:AdminSessionADSettings.V <<<< iewEntireForest = $false
P> LINE 33 is $global:AdminSessionADSettings.ViewEntireForest = $false
P>
P> Once in a while I get this error message !
P> The only way so far to fix it for me, is to logoff/logon or restart
P> my
P> computer.
P> If I close Powershell and reopen it, it doesn't change anything
P> Any idea ?
P>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Query length Limitations on Win2K Using "ADO" "Active Directory Provider" ... Error -2147217900 VB Script
Problems with the "Require trusted path for credential entry" setting Vista security
Vista not wotking with "My Computer" or "Control Panel", "Screen Saver" Vista General
Active Directory "Log on to" restriction and Vista RDP Vista General
Active "sync" should be renamed Active "Stinks" Vista General


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