Solved

Exchange 2010 SP2 Rollup6 broke the management tools?

Posted on 2013-05-13
8
764 Views
Last Modified: 2013-07-29
Installed rollup6 for sp2 on Sunday, rebooted server afterwards and now this morning trying to run updatecas.ps1 within the EMS on the server itself results in:

[PS] C:\Program Files\microsoft\Exchange Server\v14\bin>./updatecas.ps1
Add-PSSnapin : The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.E2010' is not installed on this
 machine.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:36 char:13
+ add-PSSnapin <<<<  -Name Microsoft.Exchange.Management.PowerShell.E2010
    + CategoryInfo          : InvalidArgument: (Microsoft.Excha...owerShell.E2010:String) [Add-PSSnapin], PSArgumentEx
   ception
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

[08:18:45] ***********************************************
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:18:46] * UpdateCas.ps1: 5/13/2013 8:18:46 AM
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:18:48] Updating OWA/ECP on server MI-2K8-EXCH
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:18:48] Finding ClientAccess role install path on the filesystem
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:18:49] Updating OWA to version 14.2.342.3
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:18:49] Copying files from 'C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\Current' to 'C:\Program
Files\Microsoft\Exchange Server\V14\ClientAccess\owa\14.2.342.3'
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:19:03] Found 1 OWA virtual directories.
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:19:03] Updating OWA virtual directories
Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[08:19:03] Error updating OWA/ECP: Access is denied.

Add-Content : Access to the path 'C:\ExchangeSetupLogs\UpdateCas.log' is denied.
At C:\Program Files\microsoft\Exchange Server\v14\bin\UpdateCas.ps1:27 char:13
+     add-content <<<<  -Path "$logDir\UpdateCas.log" -Value $line
    + CategoryInfo          : PermissionDenied: (C:\ExchangeSetupLogs\UpdateCas.log:String) [Add-Content], Unauthorize
   dAccessException
    + FullyQualifiedErrorId : GetContentWriterUnauthorizedAccessError,Microsoft.PowerShell.Commands.AddContentCommand

[PS] C:\Program Files\microsoft\Exchange Server\v14\bin>

Open in new window


Now before someone asks.. Yes the Management tools are installed, i actually reran the setup to make sure the checkmark was in the box for them.. it was.  And teh Event Viewer shows nothing related to this.. only the OWA errors that I'm trying to resolve with the UpdateCAS script.  Now initially EMS would'nt open up correctly, complaining about missing the RemoteExchange script, I copied the one from my second server to get it working correctly.
0
Comment
Question by:Ben Hart
  • 5
  • 3
8 Comments
 
LVL 14

Author Comment

by:Ben Hart
ID: 39161302
I think i partially fixed this.. number 1 for some reason the same user account I've used to install, and maintain exchange for two years lost write perms to the Exchangesetuplogs folder, so I added that.  Then the updatecas script ran but errored on copying the Current folder contents to 12.2.342.3 folder.  I manually copied those and at least resolved my OWA issue.
0
 
LVL 22

Expert Comment

by:rickhobbs
ID: 39163523
Rerun the rollup as Administrator.  That should resolve any remaining issues.
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 39164394
I login to this box with an account that's both local and exchange org admin, if that makes any difference.  The same account I have used for the other rollups including SP2.
0
 
LVL 22

Expert Comment

by:rickhobbs
ID: 39173656
Is the account also Domain Admin?
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 14

Author Comment

by:Ben Hart
ID: 39191207
Actually yes it was also a domain admin.  I did resolve the issue via the above post, but I was hoping I could figure out why it happened.
0
 
LVL 22

Expert Comment

by:rickhobbs
ID: 39197403
So what you did completely resolved the issues or re-running SP2 resolved the issues?
0
 
LVL 14

Accepted Solution

by:
Ben Hart earned 0 total points
ID: 39208408
No I guess I fixed my issue by adding modify permissions to that logs folder for my domain admin account,  then manually copying those files that are normally moved via UpdateCAS.ps1.
0
 
LVL 14

Author Closing Comment

by:Ben Hart
ID: 39363150
Manually copying the files moved by UpdateCAS.ps1 is what resolved the issue.
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now