Solved

Exchange 2010 SP2 Rollup6 broke the management tools?

Posted on 2013-05-13
8
777 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: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
 
LVL 22

Expert Comment

by:Rick Hobbs
ID: 39173656
Is the account also Domain Admin?
0
Why won’t your email signature format correctly?

Struggling to get your corporate email signatures to format correctly? Does the logo keep resizing? Is the text appearing too big? What can you do to prevent this? Find out how you can save your signatures today.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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…
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…

930 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

13 Experts available now in Live!

Get 1:1 Help Now