.unable to open exchange management console: exchange 2013

ok, this has been kicking my butt. for a month now I have not been able to find a solution for this. I get this error immediatly when I try to open power shell or exchange management console.


Any help would be great!

Thanks, guys


Problem signature:
  Problem Event Name:      PowerShell
  NameOfExe:      powershell.exe
  FileVersionOfSystemManagementAutomation:      6.3.9600.18773
  InnermostExceptionType:      System.ArgumentException
  OutermostExceptionType:      System.ArgumentException
  DeepestPowerShellFrame:      SHostUserInterface.GetTranscriptOptionFromSettings
  DeepestFrame:      System.IO.Directory.CreateDirectory
  ThreadName:      Consol.. main thread
  OS Version:      6.3.9600.2.0.0.272.7
  Locale ID:      1033
Michael CardenzanaSystems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michael CardenzanaSystems AdministratorAuthor Commented:
Error
0
Michael CardenzanaSystems AdministratorAuthor Commented:
I actually figured this out.

turns out that I had enabled in the gpedit of the exchange server, specificly <computer configuration/administrative templates/windows components/windows powershell.

I had enabled:
"turn on script exection"
"Turn on powershell transcription"

I set these back to not defined and all is working in powershell. I have also circled them in the image attached.powershell-image.png
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nel NelCommented:
Hello,


Error when launching PS (Normal and ISE):
Fault bucket , type 0
Event Name: PowerShell
Response: Not available
Cab Id: 0

Problem signature:
P1: powershell.exe
P2: 6.3.9600.17400
P3: System.ArgumentException
P4: System.ArgumentException
P5: SHostUserInterface.GetTranscriptOptionFromSettings
P6: System.IO.Directory.CreateDirectory
P7: Consol.. main thread
P8:
P9:
P10:

Attached files:

These files may be available here:


Analysis symbol:
Rechecking for solution: 0
Report Id: 6929f46d-85ec-11e8-80cb-005056b277d9
Report Status: 262144
Hashed bucket:

I had the same problem as Michael and when I checked the Group Policy, minedwas set as not configured. I enabled them and set them again as not configured. No go. I read about the entry from here: https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.PowerShell::EnableTranscripting and realized that this of course, had a corresponding registry entry.

I took a look and low and behold, it was set to 1 in the registry but on the UI it says "not configured". Set it to 0 and it worked.

Software\Policies\Microsoft\Windows\PowerShell\Transcription\EnableTranscripting
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.