A 16-bit application that uses initialization (.ini) files does not work correctly in a Windows Server 2008 Terminal Services session

Symptoms

Consider the following scenario:

  • You install the Terminal Services role on computer that is running Windows Server 2008.

  • You run a 16-bit application in a Terminal Services session.

  • The application uses initialization (.ini) files in the %Windir% directory.

In this scenario, you experience the following issues:

  • The application cannot read its initialization file. Therefore, the settings or the parameters for the application may not be correct when the application starts.

  • The application cannot write to its initialization file. Therefore, the application cannot save its settings or its parameters.

  • The application cannot create temporary (.tmp) files.



Notes: Additional investigation reveals that the application tries to read or write to files that are located in the %Windir% directory.

Cause

The issue occurs because the TSAWARE linker option is set in the ntvdm.exe file that is hosted by the 16-bit application. This behavior prevents the application from working correctly in a Terminal Services session.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem that is described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Server 2008 or Windows Server 2008 Service Pack 2 (SP2).


For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849

How to obtain the latest service pack for Windows Server 2008

Registry information

You do not have to make any changes to the registry to use this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows Server 2008 file information notes

Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    Version

    Product

    SR_Level

    Service branch

    6.0.600
    1.
    22xxx

    Windows Server 2008

    SP1

    LDR

    6.0.600
    2.
    22xxx

    Windows Server 2008

    SP2

    LDR

  • Service Pack 1 is integrated into the release version of Windows Server 2008.

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately¬†in the "Additional file information for Windows Server 2008" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are very important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows Server 2008

File name

File version

File size

Date

Time

Platform

Ansi.sys

Not applicable

9,029

24-Nov-2010

12:14

Not applicable

Append.exe

Not applicable

12,498

24-Nov-2010

12:14

Not applicable

Autoexec.bat

Not applicable

24

17-Mar-2010

04:57

Not applicable

Autoexec.nt

Not applicable

1,688

17-Mar-2010

04:57

Not applicable

Bios1.rom

Not applicable

28,420

17-Mar-2010

04:57

Not applicable

Bios4.rom

Not applicable

8,191

17-Mar-2010

04:57

Not applicable

Comm.drv

3.10.0.103

10,544

24-Nov-2010

12:15

Not applicable

Command.com

Not applicable

50,648

24-Nov-2010

12:14

Not applicable

Commdlg.dll

3.10.0.103

32,816

24-Nov-2010

12:15

Not applicable

Config.nt

Not applicable

2,577

17-Mar-2010

04:57

Not applicable

Config.sys

Not applicable

10

17-Mar-2010

04:57

Not applicable

Country.sys

Not applicable

27,097

24-Nov-2010

12:14

Not applicable

Csrstub.exe

6.0.6001.22804

46,080

24-Nov-2010

13:26

x86

Ctl3dv2.dll

2.99.0.0

27,200

17-Mar-2010

04:57

Not applicable

Ddeml.dll

3.50.0.103

39,424

24-Nov-2010

12:16

Not applicable

Debug.exe

Not applicable

20,634

24-Nov-2010

12:14

Not applicable

Dosx.exe

Not applicable

53,536

24-Nov-2010

12:16

Not applicable

Drwatson.exe

3.10.0.103

28,112

24-Nov-2010

12:16

Not applicable

Edit.com

Not applicable

69,886

17-Mar-2010

04:57

Not applicable

Edit.hlp

Not applicable

10,790

17-Mar-2010

04:57

Not applicable

Edlin.exe

Not applicable

12,642

24-Nov-2010

12:14

Not applicable

Ega.cpi

Not applicable

127,213

04-Mar-2010

05:54

Not applicable

Exe2bin.exe

Not applicable

8,424

24-Nov-2010

12:14

Not applicable

Fastopen.exe

Not applicable

882

24-Nov-2010

12:14

Not applicable

Gdi.exe

3.10.0.103

24,576

24-Nov-2010

12:15

Not applicable

Graftabl.com

6.0.6001.22804

56,320

24-Nov-2010

13:26

Not applicable

Graphics.com

Not applicable

19,694

24-Nov-2010

12:14

Not applicable

Graphics.pro

Not applicable

21,232

17-Mar-2010

04:57

Not applicable

Himem.sys

Not applicable

4,768

24-Nov-2010

12:14

Not applicable

Kb16.com

Not applicable

14,710

24-Nov-2010

12:14

Not applicable

Key01.sys

Not applicable

42,809

24-Nov-2010

12:14

Not applicable

Keyboard.drv

3.10.0.103

2,000

24-Nov-2010

12:15

Not applicable

Keyboard.sys

Not applicable

42,537

24-Nov-2010

12:14

Not applicable

Krnl386.exe

3.10.0.103

92,320

24-Nov-2010

12:15

Not applicable

Lanman.drv

2.10.0.1

221,600

17-Mar-2010

04:57

Not applicable

Loadfix.com

Not applicable

1,131

24-Nov-2010

12:14

Not applicable

Lzexpand.dll

3.10.0.103

9,936

17-Mar-2010

04:57

Not applicable

Mem.exe

Not applicable

39,274

24-Nov-2010

12:14

Not applicable

Mmsystem.dll

3.10.0.103

68,992

24-Nov-2010

12:15

Not applicable

Mmtask.tsk

3.10.0.103

1,152

24-Nov-2010

12:15

Not applicable

Mouse.drv

3.10.0.103

2,032

24-Nov-2010

12:15

Not applicable

Mscdexnt.exe

Not applicable

718

24-Nov-2010

12:15

Not applicable

Netapi.dll

3.11.0.300

108,464

17-Mar-2010

04:57

Not applicable

Nlsfunc.exe

Not applicable

7,052

24-Nov-2010

12:14

Not applicable

Ntdos.sys

Not applicable

27,866

24-Nov-2010

12:14

Not applicable

Ntdos404.sys

Not applicable

29,146

24-Nov-2010

12:14

Not applicable

Ntdos411.sys

Not applicable

29,370

24-Nov-2010

12:14

Not applicable

Ntdos412.sys

Not applicable

29,274

24-Nov-2010

12:14

Not applicable

Ntdos804.sys

Not applicable

29,146

24-Nov-2010

12:14

Not applicable

Ntio.sys

Not applicable

33,952

24-Nov-2010

12:13

Not applicable

Ntio404.sys

Not applicable

34,672

24-Nov-2010

12:13

Not applicable

Ntio411.sys

Not applicable

35,776

24-Nov-2010

12:13

Not applicable

Ntio412.sys

Not applicable

35,536

24-Nov-2010

12:14

Not applicable

Ntio804.sys

Not applicable

34,672

24-Nov-2010

12:13

Not applicable

Ntvdm.exe

6.0.6001.22804

521,216

24-Nov-2010

13:26

x86

Ntvdmd.dll

6.0.6001.22804

14,848

24-Nov-2010

15:08

x86

Olecli.dll

1.32.0.0

82,944

17-Mar-2010

04:57

Not applicable

Olesvr.dll

1.11.0.0

24,064

24-Nov-2010

12:16

Not applicable

Pmspl.dll

2.10.0.1

46,592

17-Mar-2010

04:57

Not applicable

Redir.exe

Not applicable

2,842

24-Nov-2010

12:14

Not applicable

Setver.exe

Not applicable

11,753

24-Nov-2010

12:14

Not applicable

Share.exe

Not applicable

882

24-Nov-2010

12:14

Not applicable

Shell.dll

3.10.0.103

5,120

24-Nov-2010

12:15

Not applicable

Sound.drv

3.10.0.103

1,744

24-Nov-2010

12:15

Not applicable

Sysedit.exe

3.10.0.103

18,896

17-Mar-2010

04:57

Not applicable

System.drv

3.10.0.103

3,360

24-Nov-2010

12:15

Not applicable

Timer.drv

3.10.0.103

4,048

24-Nov-2010

12:15

Not applicable

Toolhelp.dll

3.10.0.103

13,888

24-Nov-2010

12:15

Not applicable

User.exe

3.10.0.103

47,840

24-Nov-2010

12:15

Not applicable

V7vga.rom

Not applicable

18,832

17-Mar-2010

04:57

Not applicable

Vdmredir.dll

6.0.6001.22804

41,984

24-Nov-2010

15:09

x86

Ver.dll

3.10.0.103

9,008

17-Mar-2010

04:57

Not applicable

Vga.drv

3.10.0.103

2,176

24-Nov-2010

12:15

Not applicable

Wfwnet.drv

3.10.0.103

12,704

24-Nov-2010

12:16

Not applicable

Wifeman.dll

3.10.0.103

9,216

24-Nov-2010

12:16

Not applicable

Win.com

6.0.6001.22804

6,656

24-Nov-2010

13:26

Not applicable

Win87em.dll

Not applicable

13,312

17-Mar-2010

04:57

Not applicable

Winhelp.exe

3.10.0.425

256,192

17-Mar-2010

04:57

Not applicable

Winnls.dll

3.10.0.103

5,120

24-Nov-2010

12:16

Not applicable

Winoldap.mod

3.10.0.103

2,080

24-Nov-2010

12:16

Not applicable

Winsock.dll

3.10.0.103

2,864

24-Nov-2010

12:15

Not applicable

Winspool.exe

3.10.0.103

2,112

24-Nov-2010

12:15

Not applicable

Wow32.dll

6.0.6001.22804

273,920

24-Nov-2010

15:10

x86

Wowdeb.exe

3.10.0.103

2,864

24-Nov-2010

12:15

Not applicable

Wowexec.exe

3.10.0.103

8,960

24-Nov-2010

12:15

Not applicable

_default.pif

Not applicable

707

17-Mar-2010

04:57

Not applicable

Ansi.sys

Not applicable

9,029

24-Nov-2010

12:05

Not applicable

Append.exe

Not applicable

12,498

24-Nov-2010

12:05

Not applicable

Autoexec.bat

Not applicable

24

04-Apr-2009

05:31

Not applicable

Autoexec.nt

Not applicable

1,688

04-Apr-2009

05:31

Not applicable

Bios1.rom

Not applicable

28,420

04-Apr-2009

05:34

Not applicable

Bios4.rom

Not applicable

8,191

04-Apr-2009

05:34

Not applicable

Comm.drv

3.10.0.103

10,544

24-Nov-2010

12:05

Not applicable

Command.com

Not applicable

50,648

24-Nov-2010

12:05

Not applicable

Commdlg.dll

3.10.0.103

32,816

24-Nov-2010

12:06

Not applicable

Config.nt

Not applicable

2,577

04-Apr-2009

05:31

Not applicable

Config.sys

Not applicable

10

04-Apr-2009

05:31

Not applicable

Country.sys

Not applicable

27,097

24-Nov-2010

12:05

Not applicable

Csrstub.exe

6.0.6002.22532

46,080

24-Nov-2010

13:46

x86

Ctl3dv2.dll

2.99.0.0

27,200

04-Apr-2009

05:31

Not applicable

Ddeml.dll

3.50.0.103

39,424

24-Nov-2010

12:06

Not applicable

Debug.exe

Not applicable

20,634

24-Nov-2010

12:05

Not applicable

Dosx.exe

Not applicable

53,536

24-Nov-2010

12:06

Not applicable

Drwatson.exe

3.10.0.103

28,112

24-Nov-2010

12:06

Not applicable

Edit.com

Not applicable

69,886

04-Apr-2009

05:32

Not applicable

Edit.hlp

Not applicable

10,790

04-Apr-2009

05:32

Not applicable

Edlin.exe

Not applicable

12,642

24-Nov-2010

12:05

Not applicable

Ega.cpi

Not applicable

127,213

03-Apr-2009

21:19

Not applicable

Exe2bin.exe

Not applicable

8,424

24-Nov-2010

12:05

Not applicable

Fastopen.exe

Not applicable

882

24-Nov-2010

12:05

Not applicable

Gdi.exe

3.10.0.103

24,576

24-Nov-2010

12:05

Not applicable

Graftabl.com

6.0.6002.22532

56,320

24-Nov-2010

13:46

Not applicable

Graphics.com

Not applicable

19,694

24-Nov-2010

12:05

Not applicable

Graphics.pro

Not applicable

21,232

04-Apr-2009

05:32

Not applicable

Himem.sys

Not applicable

4,768

24-Nov-2010

12:05

Not applicable

Kb16.com

Not applicable

14,710

24-Nov-2010

12:05

Not applicable

Key01.sys

Not applicable

42,809

24-Nov-2010

12:05

Not applicable

Keyboard.drv

3.10.0.103

2,000

24-Nov-2010

12:05

Not applicable

Keyboard.sys

Not applicable

42,537

24-Nov-2010

12:05

Not applicable

Krnl386.exe

3.10.0.103

92,320

24-Nov-2010

12:05

Not applicable

Lanman.drv

2.10.0.1

221,600

04-Apr-2009

05:31

Not applicable

Loadfix.com

Not applicable

1,131

24-Nov-2010

12:05

Not applicable

Lzexpand.dll

3.10.0.103

9,936

04-Apr-2009

05:31

Not applicable

Mem.exe

Not applicable

39,274

24-Nov-2010

12:05

Not applicable

Mmsystem.dll

3.10.0.103

68,992

24-Nov-2010

12:05

Not applicable

Mmtask.tsk

3.10.0.103

1,152

24-Nov-2010

12:05

Not applicable

Mouse.drv

3.10.0.103

2,032

24-Nov-2010

12:05

Not applicable

Mscdexnt.exe

Not applicable

718

24-Nov-2010

12:05

Not applicable

Netapi.dll

3.11.0.300

108,464

04-Apr-2009

05:31

Not applicable

Nlsfunc.exe

Not applicable

7,052

24-Nov-2010

12:05

Not applicable

Ntdos.sys

Not applicable

27,866

24-Nov-2010

12:05

Not applicable

Ntdos404.sys

Not applicable

29,146

24-Nov-2010

12:05

Not applicable

Ntdos411.sys

Not applicable

29,370

24-Nov-2010

12:05

Not applicable

Ntdos412.sys

Not applicable

29,274

24-Nov-2010

12:05

Not applicable

Ntdos804.sys

Not applicable

29,146

24-Nov-2010

12:05

Not applicable

Ntio.sys

Not applicable

33,952

24-Nov-2010

12:04

Not applicable

Ntio404.sys

Not applicable

34,672

24-Nov-2010

12:04

Not applicable

Ntio411.sys

Not applicable

35,776

24-Nov-2010

12:04

Not applicable

Ntio412.sys

Not applicable

35,536

24-Nov-2010

12:04

Not applicable

Ntio804.sys

Not applicable

34,672

24-Nov-2010

12:04

Not applicable

Ntvdm.exe

6.0.6002.22532

521,216

24-Nov-2010

13:46

x86

Ntvdmd.dll

6.0.6002.22532

14,848

24-Nov-2010

16:07

x86

Olecli.dll

1.32.0.0

82,944

04-Apr-2009

05:31

Not applicable

Olesvr.dll

1.11.0.0

24,064

24-Nov-2010

12:06

Not applicable

Pmspl.dll

2.10.0.1

46,592

04-Apr-2009

05:31

Not applicable

Redir.exe

Not applicable

2,842

24-Nov-2010

12:05

Not applicable

Setver.exe

Not applicable

11,753

24-Nov-2010

12:05

Not applicable

Share.exe

Not applicable

882

24-Nov-2010

12:05

Not applicable

Shell.dll

3.10.0.103

5,120

24-Nov-2010

12:05

Not applicable

Sound.drv

3.10.0.103

1,744

24-Nov-2010

12:05

Not applicable

Sysedit.exe

3.10.0.103

18,896

04-Apr-2009

05:31

Not applicable

System.drv

3.10.0.103

3,360

24-Nov-2010

12:05

Not applicable

Timer.drv

3.10.0.103

4,048

24-Nov-2010

12:06

Not applicable

Toolhelp.dll

3.10.0.103

13,888

24-Nov-2010

12:06

Not applicable

User.exe

3.10.0.103

47,840

24-Nov-2010

12:05

Not applicable

V7vga.rom

Not applicable

18,832

04-Apr-2009

05:34

Not applicable

Vdmredir.dll

6.0.6002.22532

41,984

24-Nov-2010

16:08

x86

Ver.dll

3.10.0.103

9,008

04-Apr-2009

05:31

Not applicable

Vga.drv

3.10.0.103

2,176

24-Nov-2010

12:05

Not applicable

Wfwnet.drv

3.10.0.103

12,704

24-Nov-2010

12:06

Not applicable

Wifeman.dll

3.10.0.103

9,216

24-Nov-2010

12:06

Not applicable

Win.com

6.0.6002.22532

6,656

24-Nov-2010

13:46

Not applicable

Win87em.dll

Not applicable

13,312

04-Apr-2009

05:31

Not applicable

Winhelp.exe

3.10.0.425

256,192

04-Apr-2009

05:31

Not applicable

Winnls.dll

3.10.0.103

5,120

24-Nov-2010

12:06

Not applicable

Winoldap.mod

3.10.0.103

2,080

24-Nov-2010

12:06

Not applicable

Winsock.dll

3.10.0.103

2,864

24-Nov-2010

12:05

Not applicable

Winspool.exe

3.10.0.103

2,112

24-Nov-2010

12:05

Not applicable

Wow32.dll

6.0.6002.22532

273,920

24-Nov-2010

16:08

x86

Wowdeb.exe

3.10.0.103

2,864

24-Nov-2010

12:06

Not applicable

Wowexec.exe

3.10.0.103

8,960

24-Nov-2010

12:05

Not applicable

_default.pif

Not applicable

707

04-Apr-2009

05:33

Not applicable

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about the /TSAWARE option, visit the following Microsoft website:

General information about the /TSAWARE optionFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684

Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Server 2008

Additional files for all supported x86-based versions of Windows Server 2008

File name

X86_158b0c2b63197cfea2bc4ead2da3736e_31bf3856ad364e35_6.0.6001.22804_none_893f40f30a46333e.manifest

File version

Not applicable

File size

702

Date (UTC)

24-Nov-2010

Time (UTC)

20:53

Platform

Not applicable

File name

X86_d973291a8891943d825a5cd862f563f0_31bf3856ad364e35_6.0.6002.22532_none_ea346351bfe9cb15.manifest

File version

Not applicable

File size

702

Date (UTC)

24-Nov-2010

Time (UTC)

20:53

Platform

Not applicable

File name

X86_microsoft-windows-ntvdm-system32_31bf3856ad364e35_6.0.6001.22804_none_fe9b24578ba7c8d3.manifest

File version

Not applicable

File size

137,379

Date (UTC)

24-Nov-2010

Time (UTC)

15:27

Platform

Not applicable

File name

X86_microsoft-windows-ntvdm-system32_31bf3856ad364e35_6.0.6002.22532_none_005f25e788e83f1c.manifest

File version

Not applicable

File size

137,379

Date (UTC)

24-Nov-2010

Time (UTC)

16:27

Platform

Not applicable

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×