The virtual directory ‘PowerShell’ already exists under ‘exchange hostname (FQDN)/Default Web Site’.


Error:
The following error was generated when “$error.Clear();
$vdirName = “PowerShell”;
$InternalPowerShellUrl=”http://” + $RoleFqdnOrName + “/powershell”;
new-PowerShellVirtualDirectory $vdirName -InternalUrl $InternalPowerShellUrl -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$false -RequireSSL:$false;
” was run: “The virtual directory ‘PowerShell’ already exists under ‘exchange hostname (FQDN)’/Default Web Site’.
Parameter name: VirtualDirectoryName”.
The virtual directory ‘PowerShell’ already exists under ‘exchange hostname (FQDN)/Default Web Site’.
Parameter name: VirtualDirectoryName
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

Solution:

On the offending Exchange Server open ADSIEDT.

Click on Action and select “connection”.
Select “Configuration” from the drop down in the   “Connection  Settings” dialog

 

 

 

 

 

Navigate to:
CN=Configuration,DC=domain,DC=suffix
CN=Services
CN=Microsoft Exchange
CN=[your domain]
CN=Administrative Groups
CN=Exchange Administrative Groups
CN=Servers
CN=[your server]
CN=Protocols
CN=HTTP
Find the (in the right pane) CN=Powershell (Default Web Site), CN=HTTP…  and delete it.

 

 

 

 

Open the registry editor and navigate to

KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole

Find the “Action” key and delete it.

 

 

 

 

Navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager
Locate the “PendingFileRenameOperations” key and delete it.

 

 

 

 

Restart the setup fromnthe command line as shown in digram 4.  NOTE: in my

example I am using the:

Setup.com /mode:uninstall /roles:mailbox

You may be using:
Setup.com /mode:install /roles:mailbox  for an install or upgrade, in my case I was uninstalling the server.

 

 

 

This will uninstall the existing Exchange roles and you can install exchange 2010 freshly without any errors.

 

 

Advertisements

7 Responses to The virtual directory ‘PowerShell’ already exists under ‘exchange hostname (FQDN)/Default Web Site’.

  1. I really got into this article. I pioneer it to be exciting and live with unequaled points of stake. I same to translate relevant that makes me consider. Impart you for activity this enthusiastic collection.

  2. Fine I really enjoyed studying it. This information offered by you is real rehabilitative for angelical thought

  3. excellent create, really informative. I cogitate why the other specialists of this facet do not mention this. You should continue your activity. I am overconfident, you’ve a extraordinary readers’ fundament already!

  4. buy neopets says:

    Thanks for another eager assemblage. Where else could anyone get that identify of info in such an nonpareil way of penning? I jazz a demonstration succeeding week, and I am on the face for such content.

  5. Impart you for this article. Thats all I can say. You most definitely tally made this diary into something speciel. You understandably know what you are doing, youve cloaked so many corners.see you.

  6. I suppose this is a realistic outstanding article aviator.Thanks Again. Really Zealous.

  7. Pingback: penpals

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: