Solved

NTVDM encountered a hard error

Posted on 2012-03-16
5
718 Views
Last Modified: 2012-03-29
hello

i have a server running server 2003 which is used to run a few legal programs and store backups.

one of these pieces of software has stopped working today and when you try to start it comes up with the error.

"NTVDM encountered a hard error"

I have no idea what has caused this or how to resolve it.  also this company has failed to pay for support for this software so cannot contact the software supplier.

i googled the problem and found this solution

"- check the following registry values to ensure that there are no file name issues
 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\Win95TruncatedExtensions value (should be 1)
 
- check the TMP and TEMP values in the User variables. Set the value to C:\TEMP"


i checked the registry values which were correct but did not understand what was meant by the second part

 "check the TMP and TEMP values in the User variables. Set the value to C:\TEMP"

this may not even be a solution so any help at all would be greatly appreciated



thank you
0
Comment
Question by:drzackzuss
  • 3
  • 2
5 Comments
 
LVL 47

Accepted Solution

by:
dlethe earned 500 total points
Comment Utility
Create a scratch directory (if one does not exist, called C:\TEMP

Then enter SET from the DOS prompt and see if the environment variables TMP and TEMP point to there (or just post results, but it should hopefully be obvious)

If env vars are not set (they will appear in the output from "SET",  do this (way to much for me to type, so just giving you a link)

http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/t0004957.htm
0
 

Author Comment

by:drzackzuss
Comment Utility
Hello

thank you for replying to my post

there is a directory "c:\temp"

I have run SET from the dos prompt  and TMP and TEMP point to

C:\documents and settings\administrator\local settings\ temp



do i need to alter the destination to the C:\temp now?
0
 

Author Comment

by:drzackzuss
Comment Utility
when testing it always seems to resolve to the correct destination but adds a folder named "2"

for example i check the variables for temp and tmp

which are set to:

%USERPROFILE%\local settings\temp
%USERPROFILE%\local settings\temp

and when i run SET in command i get

TEMP = c:\docume~1\admini~.sam\locals~1\Temp\2
TMP = c:\docume~1\admini~.sam\locals~1\Temp\2

if i go into system properties and change environment variables for TEMP and TMP to:

C:\TEMP

then run SET from command i get

TEMP = C:\TEMP\2
TMP = C:\TMP\2



also when googling this error i have found this on microsoft site but not sure wether to apply this hotfix.

http://support.microsoft.com/kb/937932



really stuck as to what to do now :(
0
 

Author Comment

by:drzackzuss
Comment Utility
Hello

this issue was resolved by replacing some .ini files on the software.


thank you for your help though
0
 
LVL 47

Expert Comment

by:dlethe
Comment Utility
Great. The INI files are there to add configuration settings for a program, so probably they point to a scratch directory that actually exists.   Anyway, glad you have it resolved.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now