GMH77
asked on
Exchange 2010 unattended installation - "," in spaces when defining path
We have an issue with a new Exchange installation:
1. When installing Exchange 2010 for the very first time defining the target direcotry as
defined path: /TargetDir:"d:\Program Files\Microsoft\Exchange Server\V14\"
error message '"d:\Program,Files\Microso ft\Exchang e,Server\V 14\"' is not a valid non-root local path.
We then tok away the " and the installation started.
But when the installation finished we noticed that the there was commas between the spaces like this:
d:\Program,Files\Microsoft \Exchange, Server\V14 \
2. We didnt like the commas in the path and uninstalled Exchange. When uninstallatin there was alot of complications resulting in a fresh install of Windows 2008 R2 Standard since the uninstall didnt want to work and power shell etc didnt work as well
3. With a fresh install we planned running the following command
D:\Media\Exchange2010_sp1> Setup.com /m:RecoverServer /TargetDir:"d:\Program Files\Microsoft\Exchange Server\V14\"
but we still get the followin message
error message '"d:\Program,Files\Microso ft\Exchang e,Server\V 14\"' is not a valid non-root local path.
What is the issue here and how can we install to the "default" path - the only difference is that its the D and not the C Drive
D:\Media\Exchange2010_sp1> Setup.com /m:RecoverServer /TargetDir:"d:\Program Files\Microsoft\Exchange Server\V14\"
1. When installing Exchange 2010 for the very first time defining the target direcotry as
defined path: /TargetDir:"d:\Program Files\Microsoft\Exchange Server\V14\"
error message '"d:\Program,Files\Microso
We then tok away the " and the installation started.
But when the installation finished we noticed that the there was commas between the spaces like this:
d:\Program,Files\Microsoft
2. We didnt like the commas in the path and uninstalled Exchange. When uninstallatin there was alot of complications resulting in a fresh install of Windows 2008 R2 Standard since the uninstall didnt want to work and power shell etc didnt work as well
3. With a fresh install we planned running the following command
D:\Media\Exchange2010_sp1>
but we still get the followin message
error message '"d:\Program,Files\Microso
What is the issue here and how can we install to the "default" path - the only difference is that its the D and not the C Drive
D:\Media\Exchange2010_sp1>
ASKER
Thank you for replying viveksahu :)
Will this also help us install Exchange to the D-drive?
or do we have to use the /TargetDir and point to the directory we would like to install?
How do I FORCE the Exchange installation to install to d:\Program Files\Microsoft\Exchange Server\V14\
When we use the /TargetDir switch we get '"d:\Program,Files\Microso ft\Exchang e,Server\V 14\" what are the commas - why does the installation put the commas there.
Or - forget why and lets concentrate on how :)
What is the resolution to install to the following path D:\Program Files\Microsoft\Exchange Server\V14\ with unnattended?
Will this also help us install Exchange to the D-drive?
or do we have to use the /TargetDir and point to the directory we would like to install?
How do I FORCE the Exchange installation to install to d:\Program Files\Microsoft\Exchange Server\V14\
When we use the /TargetDir switch we get '"d:\Program,Files\Microso
Or - forget why and lets concentrate on how :)
What is the resolution to install to the following path D:\Program Files\Microsoft\Exchange Server\V14\ with unnattended?
After change the current installation path in adsiedit you will able to install on d:\ drive. It will also removes the comma.
Watching (o)(o) this one...
ASKER
We did now try to run Setup.com /m:RecoverServer without the targetdir parameter and we did change the msExchInstallPath in ADSIEDIT
Do we have to use the targetdir?
Do we have to reboot the server or anything after the cahnegs in adsiedit?
Do we have to use the targetdir?
Do we have to reboot the server or anything after the cahnegs in adsiedit?
ASKER
When we did this test now, the installation path was to the c-drive, we have done the changes in adsiedit
ASKER
In this enviroment there are only one DC and and old Exchange 2003.
Is there anything else we have to do to make the cahnges we did in adsiedit replicate or saved?
Is there anything else we have to do to make the cahnges we did in adsiedit replicate or saved?
Try it without TargetDir now and see if it works
If that doesn't work create the folder structure manually and then try the install with:
/TargetDir:"d:\Progra~1\Mi crosoft\Ex chan~1\V14 \"
/TargetDir:"d:\Progra~1\Mi
ASKER
MEgaNuk3, why do you think this will work now?
1. We have change msExchInstallPath
2. We have tried to run Setup.com /m:RecoverServer
3. It still installs to the c:\ drive
1. We have change msExchInstallPath
2. We have tried to run Setup.com /m:RecoverServer
3. It still installs to the c:\ drive
Try my comment above
ASKER
Did also try /TargetDir:"d:\Progra~1\Mi crosoft\Ex chan~1\V14 \"
Get the error error message "d:\Progra~1\Microsoft\Exc han~1\V14\ " is not a valid non-root local path.
Get the error error message "d:\Progra~1\Microsoft\Exc
Did you create the folder structure manually? If you do start-->run and paste in d:\Progra~1\Microsoft\Exch an~1\V14\ and press Enter does it open?
If you uninstalled Exchange previously then why are you running /RecoverServer ?
If you uninstalled Exchange previously then why are you running /RecoverServer ?
You can also try dropping the last backslash off the end of the TargetDir because they don't seem to use one in here:
http://technet.microsoft.com/en-us/library/aa997281.aspx
http://technet.microsoft.com/en-us/library/aa997281.aspx
ASKER
Yes, we did the following:
1. Created the folder path all the way to V14
2. The path does work from the run line (~)
3. The ~ is not supported ref the Exchange Logs
4. The Exchange Server was not able to uninstall, the uninstall failed (sorry if I wasnt clear enough regarding uninstall)
5. We have tried to run the setup from powershell also
1. Created the folder path all the way to V14
2. The path does work from the run line (~)
3. The ~ is not supported ref the Exchange Logs
4. The Exchange Server was not able to uninstall, the uninstall failed (sorry if I wasnt clear enough regarding uninstall)
5. We have tried to run the setup from powershell also
ASKER
I am starting to look at how to unisntall/remove the Exchange 2010 installation from our AD.
Any good ideas or How Tos on removing Exchange Server 2010 with an already Exchaneg Server 2003 that is working in the Organization?
Do not want to make a corrupt ad -
Any good ideas or How Tos on removing Exchange Server 2010 with an already Exchaneg Server 2003 that is working in the Organization?
Do not want to make a corrupt ad -
ASKER
Anyone?? :)
Did you try the TargetDir without the last backslash?
ASKER
no We will try that
but is really exchange installation that SHITTY?
but is really exchange installation that SHITTY?
No idea, I guess we'll find out soon enough...
ASKER
To give you guys an update.
Nothing seems to work, the unattended install cannot as I se it be installed using
/TargetDir:"d:\Program Files\Microsoft\Exchange Server\V14\"
The issue remains unsolved.
Nothing seems to work, the unattended install cannot as I se it be installed using
/TargetDir:"d:\Program Files\Microsoft\Exchange Server\V14\"
The issue remains unsolved.
ASKER
PS!
Want to thank you all for giving me guidance on the way :)
Want to thank you all for giving me guidance on the way :)
In that post of yours you did not drop the last backslash after "\V14\" please confirm you tried "\V14"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No one else had a solution for this issue
I had the same issue with Exchange 2013 and the guide I was following and the "" backwards before the path so I deleted the " and retyped it. It is now INSTALLED!!
Open ADSIEDIT.MSC or LDP.EXE.
Expand the following location: CN=ExServerName,CN=Servers
Right-click the Exchange server object, and then click Properties.
Locate the msExchInstallPath attribute. The msExchInstallPath attribute stores the current installation path.ReplaceThisText
or follow this..
http://technet.microsoft.com/en-us/library/aa998656%28EXCHG.80%29.aspx