Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Exchange 2010 SP2 Rollup6 broke the management tools?

Posted on 2013-05-13
8
Medium Priority
?
823 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
In this video we show how to create a Contact 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 >> Contact ta…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

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