Solved

Looking for win.ini in the wrong location

Posted on 2002-07-10
17
258 Views
Last Modified: 2010-04-13
I have a Windows 2000 server running Metaframe 1.8.  Everything has been working fine for some time.  I got a call from a user who was having trouble with an app.  The way this app works is it looks in the WIN.INI file for the location of another INI file.  Normally it looks in D:\HOME\<USER NAME>\WINDOWS directory.  I installed SysInternals FileMon and for some reason it is looking in D:\HOME\<USER NAME>\WINDOWS\DSI for WIN.INI.  What tells the system where to find the WIN.INI file?
0
Comment
Question by:lpenrod
[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
  • 10
  • 6
17 Comments
 
LVL 12

Expert Comment

by:guidway
ID: 7144452
In NT the registry appears to have that information. The Key I'm looking at is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\win.ini

See if that helps you at all. Good luck!

guidway
0
 
LVL 12

Expert Comment

by:guidway
ID: 7144461
<name here> could be Windows NT, Windows, or Win2k

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\<name here>\CurrentVersion\IniFileMapping\win.ini

guidway
0
 
LVL 12

Expert Comment

by:guidway
ID: 7144468
Here's the link directly from Microsoft:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/regapi_9zu6.asp

Here's the answer they give:

Windows NT/2000/XP: The system maps most .ini file references to the registry, using the mapping defined under the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\
        Windows NT\CurrentVersion\IniFileMapping

guidway
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 3

Author Comment

by:lpenrod
ID: 7144469
I don't see where the file path is anywhere in there.
0
 
LVL 3

Author Comment

by:lpenrod
ID: 7144470
I forgot to mention that in the AD user properties, under Profile, I have the Home Folder Local Path set to: D:\HOME\<USER NAME>
0
 
LVL 12

Expert Comment

by:guidway
ID: 7144482
Sorry, I took you to deep into it. Try here:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion and see if your directory is listed there.

guidway
0
 
LVL 12

Expert Comment

by:guidway
ID: 7144506
If that doesn't work check for environment variables to see if something references win.ini or that directory. I doubt it will though. It is most probably going to be somewhere in the registry. The places I showed you are the only ones I know of so far that might contain this info.

guidway
0
 
LVL 3

Author Comment

by:lpenrod
ID: 7144526
It looks for the WIN.INI in different place for each user since each user has a different Home Folder Local Path.

The first place I looked at was environment variables.  None pointed to the Home Folder Local Path.
0
 
LVL 12

Expert Comment

by:guidway
ID: 7144583
Take a look through this documentation and see if you can find something that will help. I'm not very familiar with 2000 so you might be better off searching for what you need than me. I'll keep looking though.

http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/lsm_profile_homedirectory.htm

guidway
0
 
LVL 12

Expert Comment

by:guidway
ID: 7144587
Could it possibly be in a login script? Have you checked that possibility???

guidway
0
 
LVL 3

Author Comment

by:lpenrod
ID: 7144609
It does not have anything to do with a login script.  I will look at your link tomorrow.
0
 
LVL 3

Author Comment

by:lpenrod
ID: 7154574
It must be stored in the user profile.  As soon as I deleted C:\DOCUMENTS AND SETTINGS\<username>, it worked fine again.

Thanks for trying.
0
 
LVL 12

Expert Comment

by:guidway
ID: 7154581
glad you found the problem,

guidway
0
 
LVL 3

Author Comment

by:lpenrod
ID: 7154621
I do not have the option of deleting this question.  Any idea where that option went?
0
 
LVL 12

Expert Comment

by:guidway
ID: 7154647
Post the question to a moderator in the topic area "Community Support" telling them that you want this question deleted and they will PAQ it and give you back your points.

guidway
0
 
LVL 12

Expert Comment

by:guidway
ID: 7154651
Make it a 0 point question by the way. That topic area allows 0 point questions.

guidway
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 100 total points
ID: 7154697
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Group Policy 9 561
website 1 322
Visual C++ 'Pure Virtual Function Call' when opening SQL Enterprise Manager 3 395
Windows 2000, Ghost 2003, disk1 disk 2 mirroring 17 371
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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