GetWindowsDirectory and GetPrivateProfileString problems after installing KB917422 on Win2000 TS



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

  • Problem after installing KB917244
    ... our application running on Win2000 Terminal Server after installing the ... Our application reads and writes certain user settings to an ... appname.ini file in the user's Windows folder. ... Terminal Server machines. ...
    (microsoft.public.windowsupdate)
  • Re: VB6 application on Terminal Server
    ... on the terminal server instead of installing it on each workstation. ... passed to the client, not huge amount of data for a client app to process ... Make sure your terminal server is in Application Server Mode (Windows ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 application on Terminal Server
    ... the terminal server instead of installing it on each workstation. ... client, not huge amount of data for a client app to process for example. ... Make sure your terminal server is in Application Server Mode (Windows ...
    (microsoft.public.vb.general.discussion)
  • Clip Art Error 0x8007000E Not enough memory
    ... Controller and Terminal Server with 25 local XP clients ... try to insert Clip Art into Word, ... downloading these two files and installing them onto the ...
    (microsoft.public.windows.server.sbs)
  • RE: Multiple Notepad instances in TS
    ... Thank you so much for the reply, we have been installing ... drivers that i am aware of. ... >Microsoft MVP - Terminal Server ... > instances of Notepad running in the processes list. ...
    (microsoft.public.windows.terminal_services)