?
Solved

%Homepath% and %windir% are somewhat mixed

Posted on 2006-10-24
4
Medium Priority
?
763 Views
Last Modified: 2008-02-01
On a 2003 server that has been upgraded from 2000 server (long ago, no problems so far), suddenly several installations that should write into c:\winnt started writing into %homedir%\windows !? %homepath% is c:\documents and settings\username.
The variables are all in the expected state and healthy, that is echo %windir% for example still is c:\winnt

I am really worried why it uses %homepath%\windows - since it is an upgrade, the directory windows has never existed.
Also some applications don't work anymore since they are looking for files in %homepath%\windows instead of c:\winnt.

Any suggestions were to start looking?
0
Comment
Question by:McKnife
[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
  • 2
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
Michael Pfister earned 2000 total points
ID: 17795003
Have you changed the terminal services mode from "Remote Administration mode" to "Application Server mode"?
If yes, you need to switch to install mode before installing any app. Either install via "Add/Remove programs" or issue a

chgusr /install

on the command line before starting your install and a

chgusr /execute

afterwards.

Hope it helps.

Michael

PS:


"Installation Mode
If you put a user's session in installation mode before you install an application, the application is installed in the %SystemRoot% directory instead of the user's home directory. If a user's session is in installation mode, all changes that are made to an application's INI files are written to this central location. Putting the session in installation mode permits Terminal Server to keep track of the user-specific application registry entries and any INI files that the application may install during installation. This permits Terminal Server to automatically propagate these registry keys and files to each user as they are needed by applications while they are in execute mode. After you install an application, return the user's session to execute mode to avoid writing user-specific data to the initial user-global installation. If a session is in installation mode when you install an application, the following steps occur"

Source: http://support.microsoft.com/kb/186498/en-us
0
 
LVL 56

Author Comment

by:McKnife
ID: 17797233
Hi mpfister,
so you read about my other problem? It is the same server indeed, so I suppose you are right.
Problem came up initially with a part of an application that had been installed a long time ago before TS were installed. But, when you install TS, the wizard alerts you that some apps might have to be reinstalled - and I was wondering why everything still worked...
Today I had no time, maybe tomorrow I'll be back.
Thanks
0
 
LVL 56

Author Comment

by:McKnife
ID: 17802509
You were perfectly right, thanks.
the application that started the trouble (after TS installation) however is even incompatible with TS Mode. There is no way to get it running in application mode, although I reinstalled it, but the rest is ok. I will contact the support.
0
 
LVL 29

Expert Comment

by:Michael Pfister
ID: 17812306
Glad it helped to track down the prob.

Michael
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 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