Cas server uninstall failed... Now how to reinstall?

Status
Not open for further replies.
T

The-Q

Ok, here is the scenario a company set up an exchange server and IIS config got damaged. So I followed the microsoft guide on uninstalling IIS then the cas server only problem was the cas fail the uninstall about half way through now I can't uninstall or reinstall.

Also can't reinstall the OS....

Any Ideas.

Output from installer:

Client Access Role
Failed

Error:
The following error was generated when " $error.Clear();
$CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;
Start-SetupProcess -Name " $CommandAppCmd" -args " uninstall module exppw" ;
" was run: " Process execution failed with exit code 1168." .

Process execution failed with exit code 1168.
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e=ms.exch.err.Ex88D115&l=0&cl=cp

Elapsed Time: 00:00:01
Thanks in advance
 
T

The-Q

Sadly the guys that own the server only have the one and won't let anyone onsite on the weekends but they don't want downtime so basically they want the perfect server!

Original Log:

#
# Component tasks
#

# Tasks for 'All Roles Common Last' component
# [ID = AllRolesCommonLast___25c25f6a6e484b32bedc5d6fa5ea3699, Wt = 1, isFatal = True] " Creating the Exchange server configuration object in Active Directory."
5/12/2010 12:50:07 AM:remove-InstalledRoleInfo -RoleName $RoleRoleName
# [ID = AllRolesCommonLast___6f2b6624392e4f678c9b5a386a4916ae, Wt = 1, isFatal = True] " Creating the Exchange server configuration object in Active Directory."
5/12/2010 12:50:07 AM:
if ($RoleRoles)
{
& $RoleBinPath\ServiceControl.ps1 EnableServices $RoleRoles.Replace('Role','').Split(',')
}

# [ID = AllRolesCommonLast___f688defc7999417ba5c8e7b4ca41a971, Wt = 1, isFatal = True] " Creating the Exchange server configuration object in Active Directory."
5/12/2010 12:50:07 AM:
& $RoleBinPath\ServiceControl.ps1 EnableServices $RoleRoleName.Replace('Role','')

# [ID = AllRolesCommonLast__StartWinMgmt, Wt = 5, isFatal = True] " Starting the WMI service."
5/12/2010 12:50:08 AM:
if (Get-Service WinMgmt* | ?{$_.Name -eq 'WinMgmt'})
{
Set-Service WinMgmt -StartupType Automatic
Start-SetupService -ServiceName WinMgmt
}

# [ID = AllRolesCommonLast__StartRemoteRegistry, Wt = 5, isFatal = True] " Starting the Remote Registry service."
5/12/2010 12:50:08 AM:
if (Get-Service RemoteRegistry* | ?{$_.Name -eq 'RemoteRegistry'})
{
Set-Service RemoteRegistry -StartupType Automatic
Start-SetupService -ServiceName RemoteRegistry
}


# Tasks for 'File distribution Service Control' component
# [ID = FileDistributionServiceControl___474b4dc5deb44f7ca748da725a0ecac3, Wt = 1, isFatal = True] " Stopping the Microsoft Exchange File Distribution service."
5/12/2010 12:50:08 AM:stop-SetupService -ServiceName MSExchangeFDS

# Tasks for 'RPC Client Access Service Control' component
# [ID = RpcClientAccessServiceControl___4b4248cce65c4ccaa92fe5f938f2aedc, Wt = 1, isFatal = True] " Stopping Microsoft RPC Client Access."
5/12/2010 12:50:10 AM:stop-SetupService -ServiceName MSExchangeRPC

# Tasks for 'Client Access Service Control' component

# Tasks for 'File Distribution Service Configuration' component
# [ID = FileDistributionServiceComponent___659b38f67e0240199f57f0c851fe7a2b, Wt = 1, isFatal = True] " Uninstalling the Microsoft Exchange File Distribution service."
5/12/2010 12:50:11 AM:uninstall-FileDistributionService

# Tasks for 'File Distribution Service Group Metrics Perf Counters' component
# [ID = FDS_GM_PerfCountersComponent___8c292d9c21af44358441a4c99baddeab, Wt = 1, isFatal = False] " Installing FDS GM PerfCounters."
5/12/2010 12:50:16 AM:remove-perfcounters -DefinitionFileName FDSGMPerformanceCounters.xml

# Tasks for 'File Distribution Service OAB Perf Counters' component
# [ID = FDS_OAB_PerfCountersComponent___103a4c1adf974591be38633f58ec1ebc, Wt = 1, isFatal = False] " Installing FDS OAD PerfCounters."
5/12/2010 12:50:17 AM:remove-perfcounters -DefinitionFileName FDSOABPerformanceCounters.xml

# Tasks for 'Enable RPC over HTTP redirector firewall exception' component
# [ID = RpcHttpRedirectorException___653184838b334e749dbc87a567e865b2, Wt = 1, isFatal = False] " Configuring the server."
5/12/2010 12:50:17 AM:
if ([Environment]::OSVersion.Version.Major -ge 6)
{
Remove-FirewallException -FirewallRule (New-Object Microsoft.Exchange.Security.WindowsFirewall.RpcHttpRedirectorRule)
}


# Tasks for 'Address Book Service Configuration' component
# [ID = AddressBookComponent___fe2c1cbb8e954dd786870cdc8b3d85e9, Wt = 1, isFatal = True] " Configuring the Microsoft Exchange Address Book service."
5/12/2010 12:50:17 AM:uninstall-AddressBookService

# Tasks for 'RPC Client Access Protocol Configuration' component

# Tasks for 'Client Access Services Configuration' component
# [ID = ServicesComponent___ca981854eaa74c1ca684178d9ea52fff, Wt = 1, isFatal = True] " Configuring Client Access services."
5/12/2010 12:50:23 AM:
get-WebServicesVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController -Force;

# [ID = ServicesComponent___98bb14bb96bc43babb98f8d36183263e, Wt = 1, isFatal = True] " Configuring Client Access services."
5/12/2010 12:50:24 AM:get-ActiveSyncVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | remove-ActiveSyncVirtualDirectory -DomainController $RoleDomainController
# [ID = ServicesComponent___9b5feb8e2ff64c4ebd10edb43c3a2aa9, Wt = 1, isFatal = True] " Configuring Client Access services."
5/12/2010 12:50:26 AM:
$clientAccessServer = get-ClientAccessServer -Identity $RoleFqdnOrName;
if($clientAccessServer)
{
if(($clientAccessServer.AutoDiscoverServiceInternalUri) -and ($clientAccessServer.AutoDiscoverSiteScope))
{
set-ClientAccessServer -Identity $RoleFqdnOrName -AutoDiscoverServiceInternalUri:$null -AutoDiscoverSiteScope:$null
}
}
# [ID = ServicesComponent___a8409d9e1e024948a9cf2805368de7dd, Wt = 1, isFatal = True] " Configuring Client Access services."
5/12/2010 12:50:27 AM:get-AutodiscoverVirtualDirectory -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-AutodiscoverVirtualDirectory -DomainController $RoleDomainController

# Tasks for 'RPC-over-HTTP Proxy Configuration' component

# Tasks for 'ECP Configuration' component
# [ID = ClientAccessEcpComponent___9b61914c88354a1ca625560e0a59451c, Wt = 1, isFatal = True] " Installing/Removing the ECP component."
5/12/2010 12:50:28 AM:
get-EcpVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | remove-EcpVirtualDirectory -DomainController $RoleDomainController;


# Tasks for 'OWA Configuration' component
# [ID = ClientAccessOwaComponent___5effe7121e1740c083904cc189687464, Wt = 1, isFatal = True] " Installing/Removing Outlook Web App Component."
5/12/2010 12:50:29 AM:
$CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;
Start-SetupProcess -Name " $CommandAppCmd" -args " uninstall module exppw" ;


Current Log:

#
# Component tasks
#

# Tasks for 'OWA Configuration' component
# [ID = ClientAccessOwaComponent___5effe7121e1740c083904cc189687464, Wt = 1, isFatal = True] " Installing/Removing Outlook Web App Component."
5/12/2010 1:59:07 AM:
$CommandAppCmd = join-path $env:SystemRoot System32\inetsrv\appcmd.exe;
Start-SetupProcess -Name " $CommandAppCmd" -args " uninstall module exppw" ;


Any Ideas?
 
A

AndyD_ [MVP]

Since IIS was messed with ( and who knows what else), I would recommend rebuilding the whole thing and using the Recover a Server link I posted before if you can't get it going.
 
T

The-Q

Ok, guess it's time to hit the reinstall thanks for the help!Fate. It protects fools, little children, and ships named Enterprise.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
L Outlook clients did not reconnect to Exchange when one CAS server in CAS array became unresponsive Exchange Server Administration 1
S Exchange CAS server OAB directory not showing web.config file Exchange Server Administration 3
S Do you need a CAS Server in Order to Use OWA in Exchange 2010 (E14)? Exchange Server Administration 9
S Any system impact if change exchange 2010 CAS/HUB and Mailbox server IP address Exchange Server Administration 1
A Exchange 2010 CAS Failover from Internet Facing site to Non-Internet Facing Site - Certificate Issue Exchange Server Administration 3
C Watson Error on CAS Exchange Server Administration 1
S Exchange 2010 CAS/HT/Mailbox moved - best practice/steps for decommissioning 2007 Exchange Server Administration 3
S Load balance Autodiscover with multiple CAS servers. Exchange Server Administration 2
S Load balance Autodiscover with multiple CAS servers. Exchange Server Administration 3
M Fundamental CAS question for Exchange 2010 and 2007 Co-existence... Exchange Server Administration 7
M Exchange ActiveSync HTTP 500 Exchange CAS/HUB 2007 and Exchange 2003 BE & MBX CCR 2007 Using Outlook 1
B CAS Array and NLB Exchange Server Administration 3
T RBAC Error on UM/CAS Servers Exchange Server Administration 2
R FQDN of Exchange CAS servers not in SSL cert Exchange Server Administration 2
D CAS Autodiscover using -rpcclientaccessserver Exchange Server Administration 5
D CAS Design Question Exchange Server Administration 4
D Exchange 2010 CAS at 2 different Sites Exchange Server Administration 2
D CAS Array Question Exchange Server Administration 11
M Proper way to install Exchange 2010 SP1 on a CAS Array Exchange Server Administration 3
B Exchange 2003 OWA/OA/AS over NAT and Exchange 2010 CAS Exchange Server Administration 4
B Re: Exchange 2007 and CAS from Exchange 2010 problem Exchange Server Administration 15
J Segmenting IMAP traffic from CAS Array Exchange Server Administration 8
C CAS Proxy problem Exchange Server Administration 5
C CAS Connections overview Exchange Server Administration 9
T CAS Array/RPCClientAccessServer and Outlook profile experiences Exchange Server Administration 8
A Why not using DAG virtual IP/fqdn for CAS array in two nodes setup? Exchange Server Administration 2
R Exchange 2010 CAS high availibility cross datacenters Exchange Server Administration 9
S CAS install failed - "Value cannot be null. Parameter name: key" Exchange Server Administration 7
A Connect to server to views items Using Outlook 0
J Moved many emails to Outlook external folder, need to delete on Gmail server Using Outlook 14
icacream Enter your user name and password for the following server. Using Outlook 5
T How can Exchange be configured to sync/push one-way so that the server data can't be affected Exchange Server Administration 0
F outlook.com Exchane Server corrupts data Since September 2019 Using Outlook.com accounts in Outlook 6
llama_thumper Setting up forwarders on Exchange server Exchange Server Administration 0
W Encrypted connection to server refused Using Outlook 0
B Server errors Outlook 2007 Using Outlook 1
M Outlook 2016 Requesting data from server Using Outlook 0
R Copy Outlook Public Folders to a File Server Shared Folder Using Outlook 0
I IMAP - are emails dynamically fetched from server as required? Using Outlook 2
CWM030 Name Server's Exchange Server Administration 15
CWM030 Archiving ON the imap server Using Outlook 3
G How to have domain client use owa server instead of exchange server while connect to network Using Outlook 1
GaryW88 2016 Archiving IMAP keeping mail on Gmail Server Using Outlook 1
R Would creating a new profile cause Outlook to download all the old mails from the server? Using Outlook 1
P Microsoft Outlook is requesting data from the server Using Outlook 2
J Old unread emails on current date (MDaemon Server) Using Outlook 1
E Duplicate, nested account folders on ATT server Using Outlook 10
Cdub27 Your changes to this item couldn't be saved because Server Denied Operation (HTTP 403 Forbidden) Using Outlook 1
O Outlook 2016 0x800CCC0F 'The connection to the server was interrupted' Using Outlook.com accounts in Outlook 1
crazyboy Problems connecting to BCM on Server Using Outlook 2

Similar threads

Top