Re: GetWindowsDirectory and GetPrivateProfileString problems after installing KB917422 on Win2000 TS



I've run into the same problem with Yardi, which using the btrieve
microkernal database engine. It stores a temporary file in the windows
directory, so if multiple people try to connect to the terminal server
and run Yardi it gives an error. Uninstalling the 917422 hotfix
restored operation.

-James



olligator@xxxxxx wrote:
Todd,

we have encountered the same problems. Microsoft is working on it, they
say that we will get a first fix tomorrow.

Regards,

Oliver


todderickson@xxxxxxxxx wrote:
We are an ISV and several of our customers are reporting problems with
our application running on Win2000 Terminal Server after installing the
KB917422 update.

Our application reads and writes certain user settings to an
appname.ini file in the user's Windows folder. We use
GetPrivateProfileString and WritePrivateProfileString. After
installing this update our application is trying to access the
c:\windows\appname.ini file instead of c:\documents and
settings\userid\windows\appname.ini file. This causes severe problems
in our application.
From further testing it appears that GetWindowsDirectory is returning
c:\winnt\ instead of c:\documents and settings\userid\windows\.

This behavior affects users who are members of the domain/users group.
Members of the domain/administrators group are not affected.

Microsoft Security Bulletin MS06-051 describes the User Profile
Elevation of Privilege Vulnerability that this update is suppose to
address, however I can't find any documentation indicating that users
would have no access to their private profile via the Kernel32 APIs.

After uninstalling KB917422 users again access their own ini in their
local windows folder.
At this time it appears that this is a problem on only Windows 2000
Terminal Server machines.

Has anyone else experienced similar problems?

Is anyone aware of a fix other than removing the update?

Thank you,
Todd Erickson
Project Manager
Software Solutions Integrated, LLC

.



Relevant Pages

  • Re: Terminal server 2008; user profile not loaded correctly
    ... User profile design has changed with Vista and Windows 2008. ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: Unable to change Terminal Services Home Folder Location
    ... On every Windows system that you log on to, you need a profile. ... Since a Terminal Server profile has many settings which are ... Profile> User Profile> Profile Path ...
    (microsoft.public.windows.terminal_services)
  • Client disconnected after about 10 minutes
    ... On my Windows 2003 terminal server, the clients are disconnected when they ... possible setting, both in group policy, server rdp settings and user profile ...
    (microsoft.public.windows.terminal_services)
  • Re: Multi-user access of an Embedded Windows System ?
    ... First off, EWF is available ... > only for Windows XP Embedded, and is not intended to be used with XP Pro or ... > install, and in this case it sounds like the system would be best suited ... it looks to me like what you're referring to is the Terminal Server ...
    (microsoft.public.windowsxp.embedded)
  • Re: Event ID 1000 (Userenv)
    ... Maybe it's time to install those 2 hotfixes that I mentioned in my ... MCSE, CCEA, Microsoft MVP - Terminal Server ... it takes longer that their profile is loaded. ... Windows 2000 SP4: ...
    (microsoft.public.win2000.termserv.apps)

Quantcast