Solved

Exchange 2010 SP2 Rollup6 broke the management tools?

Posted on 2013-05-13
8
806 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Rick Hobbs
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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 22

Expert Comment

by:Rick Hobbs
ID: 39173656
Is the account also Domain Admin?
0
 
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:Rick Hobbs
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

752 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