• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

Weird problem on my new PC that I just noticed: command doesn't work

Status
Not open for further replies.

Ecrofirt

Member
This is an XO SP1 machine, I just got it like two months ago.

I just noticed tonight, when trying to run one of my QBasic programs, that for some reason they don't work on this PC. They work on our older SP1 machine just fine.

Also, typing 'command' in the run box doesn't work. I get an arror about C:\Windows\System32\Autoexec.nt not being suitable for running MS-DOS and Microcoft WIndows applications.

So what's the difference between these two machines? Why is it working just fine on one of them, but not on the other?
 

Ecrofirt

Member
yes, but it doesn't solve my problem.

I can't get it to run my programs any longer.

I just tried with a friend, and they still work on his PC and everything. I want it work work again with mine.
 

Ecrofirt

Member
Let me say again:

The programs run find on my other Windows XP SP1 PC. They work on my friend's SP1 machine. They don't work on mine. I want them to work on mine.

I don't want to use DosBox. I just want them to run normally.
 

Lhadatt

Member
Who is the PC made by? If it's a major manufacturer, there may be something in their OS image that craps out when dealing with 16-bit code. You should still be able to access command.com (the 16-bit DOS command line) as well as the newer cmd (the 32-bit command line). Since you cannot get to 16-bit DOS, you won't be able to run your QBasic apps -- the same error will pop up even if you set the QBasic options to Compatability Mode.

Think about reinstalling XP (from something other than the recovery CD, unless they gave you a true XP install disc), or try upping to SP2 (which you ought to be on anyway :D ).

Alternatively, google for DOS Box/dosbox at Sourceforge. It's a DOS emu.
 

Lhadatt

Member
Ecrofirt said:
I'd rather not have jump through hoops to get a program of mine to work.
Hey, metsallica gave you darn good advice. You're on a PC using a MS operating system. If you don't want to jump through hoops, buy a Mac.
 

Lhadatt

Member
Ecrofirt said:
both of my PCs are Dells.

This one is an XPS.
Ah, Dell. Your original factory-direct OS image is hosed then - that's just the way Dell does things (i.e. sloppy). If you've never done it before now, grep a XP CD from somewhere and reinstall from scratch. Like I said before, don't use the recovery discs.
 
Ecro, it's just one of those things that could take forever to troubleshoot. Chalk it up to shoddy XP programming or what-have-you, but beyond a fresh install (as Lhadatt recommended) you may be out of luck. Unless, of course, someone swoops in here with an amazingly concise and poignant solution! DO IT, GAF.

I'm sorry I couldn't be of more help.

EDIT:
Lhadatt said:
Hey, metsallica gave you darn good advice. You're on a PC using a MS operating system. If you don't want to jump through hoops, buy a Mac.
:lol
He's right, ya know! :(
 

Ecrofirt

Member
The computer runs solid with everything except this. Are you suggesting that there's more problems that I'm unaware of, being that it's 'hosed'?

I was thinking about replacing c:\windows\system32\autoexec.nt with the one on my old PC, but it seems as though the file doesn't exist.
 

Lhadatt

Member
metsallica said:
Ecro, it's just one of those things that could take forever to troubleshoot. Chalk it up to shoddy XP programming or what-have-you, but beyond a fresh install (as Lhadatt recommended) you may be out of luck. Unless, of course, someone swoops in here with an amazingly concise and poignant solution! DO IT, GAF.
I don't think it's shoddy programming as much as it is VSS (Vendor Stupidity Syndrome). Dell's desktop division is crap - I worked in Server Gold support for a bit, I saw how they did things. In fact, the only even partially cognizant people there were some of my coworkers in that department. Everyone else was either below sub-human intelligence (ex: most lower level support) or brainwashed by Teh Dell Way ("I'm in Dell Tech Support! I'm set for life! No college needed for me, no sir! I read my Dell Way Handbook 3 times this morning between calls! Did you read all 27 needless and obfuscated policy changes in your email today?")

Back to the problem: I tried getting a 16-bit DOS-hell via command.com on my XP2 install, it works just fine. If it doesn't even open command.com for him, something's seriously b0rked. My bet is on the extra crap and tweaks Dell puts in their desktop images.

:lol
He's right, ya know! :(
Of course I'm right. :D Of the 4 computers in my apartment, 2 are Macs running OS 10.3.5 (Viva la Panther!). One Powerbook 1.25Ghz G4, one 500Mhz G4. The only real problem I've had with either of them was the HDD crapped out on the 500Mhz, but that was a shipper error. The drone who shipped it a) didn't pad it correctly in the box and b) left the HDD + HDD tray LOOSE inside the case - not screwed down or anything! Good thing that drive's still under warranty.
 

Lhadatt

Member
Ecrofirt said:
The computer runs solid with everything except this. Are you suggesting that there's more problems that I'm unaware of, being that it's 'hosed'?
It's a Dell-original OS install, right? Of course it's hosed.

It's the weekend. You have a project: Reinstall that puppy with an actual XP CD. You are free to choose/discover your methods for doing so. TECH SKILLS GET! ;)

Oh, yeah, and not backing up your data is an automatic failing grade. Get to it, skippy!
 

Ecrofirt

Member
shit.

The program runs like shit through DOSbox.

I've had the PC for two months now, and this is the only thing close to a real problem that I've run into. Damnit all to hell.

Oh, and Lhadatt: Any idea if dell supports SMART in their BIOSes? I can't find anything about it in my BIOS, and I want to enable it. The PC is an XPS Gen 3.
 

Lhadatt

Member
Ecrofirt said:
Oh, and Lhadatt: Any idea if dell supports SMART in their BIOSes? I can't find anything about it in my BIOS, and I want to enable it. The PC is an XPS Gen 3.
SMART? Yeah, that should be support and enabled by default. If there's nothing in the BIOS about it, it might be auto-on.

Feel free to PM me your service tag, I can look up the specs and docs on http://support.dell.com to see if they actually mention anything about it.
 

Ecrofirt

Member
Oh, my father just thought of something.

This PC is an XP Pro machine, while the other two that I tried are XP Home. Could that have anything to do with it?
 

aaaaa0

Member
Please post the contents of your autoexec.nt.

Mine works, and it has the following stuff in it:

@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir

REM Install DPMI support
lh %SystemRoot%\system32\dosx

REM The following line enables Sound Blaster 2.0 support on NTVDM.
REM The command for setting the BLASTER environment is as follows:
REM SET BLASTER=A220 I5 D1 P330
REM where:
REM A specifies the sound blaster's base I/O port
REM I specifies the interrupt request line
REM D specifies the 8-bit DMA channel
REM P specifies the MPU-401 base I/O port
REM T specifies the type of sound blaster card
REM 1 - Sound Blaster 1.5
REM 2 - Sound Blaster Pro I
REM 3 - Sound Blaster 2.0
REM 4 - Sound Blaster Pro II
REM 6 - SOund Blaster 16/AWE 32/32/64
REM
REM The default value is A220 I5 D1 T3 and P330. If any of the switches is
REM left unspecified, the default value will be used. (NOTE, since all the
REM ports are virtualized, the information provided here does not have to
REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.

REM The T switch must be set to 3, if specified.
SET BLASTER=A220 I5 D1 P330 T3

REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid
REM SB base I/O port address. For example:
REM SET BLASTER=A0
 

Ecrofirt

Member
Funnily enough, I can't seem to find autoexec.nt in the C:\Windows\System32 folder, where it's supposed to be. I have the option to show system files enabled and everything.
 

aaaaa0

Member
Well that's probably your problem. Somehow autoexec.nt got deleted.

Just make a new one in \windows\system32, and paste the contents I posted into it. That will probably fix the problem.

I just tried deleting mine, and I got the same error. Putting it back fixed it.
 

Lhadatt

Member
Erco -

No, the only real differences between Home and Pro are in the networking components.

Quite frankly, if something like autoexec.nt is screwed up, you probably need to follow my previous advice and reinstall. You can also try installing over your current Windows using a repair install, but I personally prefer clean installs.

Like metsallica said, this is one of those things that could take forever to troubleshoot. It would be cheaper for you time-wise to blow the install away and redo it.
 

Lhadatt

Member
Heh. Excellent. Forget my previous post. :D

OT: I'm still a "junior member". No message edit controls. Trying to access the edit page directly gives me an access denied message. Do I get to edit if I graduate to something other than a junior?
 

aaaaa0

Member
Lhadatt said:
Quite frankly, if something like autoexec.nt is screwed up, you probably need to follow my previous advice and reinstall. You can also try installing over your current Windows using a repair install, but I personally prefer clean installs.

I'm not convinced. If he's having no other problems with his machine, I think advising a reinstall is premature. I do agree with an upgrade to XP SP2 (after a thorough spyware scan and clean).

I really hate how the knee-jerk reaction of most people (and especially tech support) is to just reinstall. I don't think I've had to clean reinstall Windows on any of my machines since I bought them.

Frankly, Windows is not actually that much harder to troubleshoot than any other OS. It's just the vast majority of users know nothing about how it works underneath.
 
Lhadatt said:
Heh. Excellent. Forget my previous post. :D

OT: I'm still a "junior member". No message edit controls. Trying to access the edit page directly gives me an access denied message. Do I get to edit if I graduate to something other than a junior?
I didn't know junior members couldn't edit... weird. You should be able to when you break 100 posts and become a member.
 

Lhadatt

Member
aaaaa0 said:
I really hate how the knee-jerk reaction of most people (and especially tech support) is to just reinstall. I don't think I've had to clean reinstall Windows on any of my machines since I bought them.

Frankly, Windows is not actually that much harder to troubleshoot than any other OS. It's just the vast majority of users know nothing about how it works underneath.
It's not a knee-jerk reaction. My basic policy for a machine from a vendor like Dell is to reinstall upon receipt of the box. Their images are so jacked up with garbage that ultimately a fresh install is faster and more reliable. I did point out that I was mainly spouting my opinion, but in my experience it's just simpler to do it that way. I'm all for master hackery, but come on.

I did Google for the autoexec error, but came up with nothing. For an OS to have such an achilles heel (well, one of way too many) is rather stupid design -- perhaps you should be placing the blame on those who constructed the stack of cards that is Windows, rather than the people who work with it daily and are so bloody sick of having to construct needlessly complex fixes for incredibly inane and easy to prevent problems.
 

Lhadatt

Member
metsallica said:
I didn't know junior members couldn't edit... weird. You should be able to when you break 100 posts and become a member.
Yes. The restrictions placed on juniors seem to be quite odd. Although, maybe editing and whatnot put too much of a strain on the forum server, so they're limited options. Eh, whatever. :D
 

aaaaa0

Member
Lhadatt said:
It's not a knee-jerk reaction. My basic policy for a machine from a vendor like Dell is to reinstall upon receipt of the box. Their images are so jacked up with garbage that ultimately a fresh install is faster and more reliable.

You know, I actually agree with you about this. I hate OEM pre-installs. 90% of OEM-preload software is useless crap that just clogs up the machine. For my machines, I always nuke and start fresh.

That said, a fresh install is really traumatic for most users who don't know what they're doing, which is why I think a fresh install is NOT something that should be the first thing on the list of solutions to try.

First, all their drivers get reverted to the inbox drivers (if there IS an inbox driver). You're expecting someone who doesn't really know what they're doing to:

a. Realize what the computer is talking about when it doesn't find a driver it needs.

b. Presume the OEM has shipped the drivers in a state where Windows can install them. Most OEMs ship a recovery CD which can't be used to just restore the drivers.

c. If the OEM hasn't shipped the drivers, you're expecting the user to be able to locate the IHV's web site and download the right drivers (if the IHV even still exists).

It gets even worse if they don't have broadband, don't have a network card, or the network card they do have doesn't have in-box drivers.

Second, all their apps are gone, and have to be reinstalled. If a user doesn't know what they're doing, how are you going to expect they can remember where they got every little widget they liked and reinstall them all. Does a novice user know how to get their IM history recovered? Does a novice user know how to make their email program reload their mailbox again? (Hell does a novice user even remember their email password?)

Third, you've just undone all the security patches and service packs they may have already deployed on their machine through Windows Update. Asking a novice user to fresh install their machine is an instant recipe for a virus infection, unless the user is smart enough to yank his network cable during the install, turn on the firewall before plugging it back in (if he even knows what a firewall is), and re-download SP2 before doing anything else. Unless, of course, you expect him to understand what slipstreaming is, or he is lucky enough to have a slipstreamed SP2 disk already.

My point is a fresh install is usually like nailing an ant with a nuclear weapon. Sure, it might get the job done, but it whacks everything else the user cares about. Sometimes the net result after hours of work is a computer that doesn't work half as well as it did before, for reasons that the novice user can't figure out.

I did point out that I was mainly spouting my opinion, but in my experience it's just simpler to do it that way. I'm all for master hackery, but come on.

In my experience, 90% of Windows problems are due to

a. some simple setting that's easily fixed once you know where it is.
b. spyware/malware.
c. a retarded 3rd party app that screws up windows.
d. a retarded 3rd party driver that screws up windows.
e. bad hardware.

In almost all cases, troubleshooting is fairly simple, if you understand how the system actually works.

I did Google for the autoexec error, but came up with nothing.

You must not have tried very hard, because I searched for "autoexec.nt error" on google, and the VERY FIRST HIT was:

http://support.microsoft.com/default.aspx?scid=kb;en-us;324767

SYMPTOMS
If you try to start or install an MS-DOS-based or a 16-bit Windows-based program on your Windows XP-based computer, you may receive an error message that is similar to one of the following:

16-bit MS-DOS Subsystem
path to the program that you are trying to start or install
C:\Winnt\System32\config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.


16-bit MS-DOS Subsystem
path to the program that you are trying to start or install
config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.


16-bit MS-DOS Subsystem
path to the program that you are trying to start or install
C:\Windows\System32\Autoexec.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.


Although you may be prompted to quit the program or ignore the error message, either selection makes the program quit.

CAUSE

This issue may occur if one or more of the following files are missing or damaged:

• Config.nt
• Autoexec.nt
• Command.com

And the solution is to reinstall the files from the CD, which the article walks the user through in painfully precise detail.

For an OS to have such an achilles heel (well, one of way too many) is rather stupid design

First, command.com is not a core part of the OS. It's a 16-bit backwards compatibility subsystem, intended for apps which hardly anyone uses anymore. If something is wrong with it, the rest of the system doesn't care. So it's clearly not something worth clean installing the machine over.

Second, the autoexec error is blindingly obvious. It even points you to exactly which file is wrong. In fact, Ecrofirt (to his credit) pretty much came up with a workable solution himself, 13 posts down in this thread.

Ecrofirt said:
The computer runs solid with everything except this. Are you suggesting that there's more problems that I'm unaware of, being that it's 'hosed'?

I was thinking about replacing c:\windows\system32\autoexec.nt with the one on my old PC, but it seems as though the file doesn't exist.

-- perhaps you should be placing the blame on those who constructed the stack of cards that is Windows, rather than the people who work with it daily and are so bloody sick of having to construct needlessly complex fixes for incredibly inane and easy to prevent problems.

I'm not assigning blame, I'm merely saying that I think the vast majority of cases in which tech support suggests reinstalling don't actually require a reinstall.

Quite frequently (and I'm not blaming the people that work there) tech support is forced to maximize the rate at which they close cases so they can look good on a quarterly expense report.

Hence, the knee jerk "Shut up, stop bugging us, just reinstall it, it's all Microsoft's fault anyway."

In my experience, Windows (NT/2000/XP/2003) is NOT a stack of cards, and is NOT that difficult a platform to support. All it takes is to know what you're doing.

Regarding Ecrofirt, my recommendation remains unchanged: unless there is something else wrong with the machine, don't reinstall.

I DO think he should grab some anti-spyware/anti-malware scanner (ad-aware maybe), scan his system and make sure it's clean, then install SP2.
 

aaaaa0

Member
Ecrofirt, after doing a couple more google searches, I HIGHLY recommend you do a spyware and an antivirus scan and install SP2.

It's quite probable your machine is infected with spyware.

Look for a file called "windupdate.exe" on your hard disk. NOTICE THE "D". It may be in \windows, or \Program Files\Windupdate\

This file is NOT PART OF WINDOWS, it is part of a spyware, and one side effect is that it deletes autoexec.nt.

More info:

http://www.giantcompany.com/antispyware/research/spyware/spyware-WindUpdates.aspx

http://www.winguides.com/forums/sho...mber=116689&page=10&view=collapsed&sb=5&part=
 

Ecrofirt

Member
I've had both ad-aware and spybot on here since the get go. I do weekly checks on Friday.

The other day I had my first real spyware problem. I was coming up with browser hijackers and stuff. Windupdate sounds familiar, there's a chance I had it on there. It took a few restarts to eventually clear all the stuff off of my PC.

No idea where I picked it up, as I've been using this forum's favorite internet browser, Firefox, for three weeks or so now.

I've also been very hesitant to upgrade to SP2, what with all the errors I've been hearing with it. I understand that a good spyware scan before installing usually keeps SP2 running smooth, but then I'm faced with having to change settings back so my computer runs normally again.

Speaking of that, any idea what the DSO exploit that spybot alaways picks up is?
 

Lhadatt

Member
aaaaa0: Uhm, yeah. You don't think I know all that? :D Really, the core reason I recommended the reinstall was I didn't find that bit of info, which I already owned up to. What Ecro ought to do is find a mentor who is willing to teach him how to do things like a complete reinstall in person. Troubleshooting on a forum can only go so far.
 

Ecrofirt

Member
My dad updated his PC to SP2 the other day.

Since then, I've noticed out network is running a lot slower. accessing my network drives, and even connecting to his PC is now taking quite a bit longer than it used to.

I've got my Xbox on the network. There have been lots of problems getting samba shares to work after upgrading to SP2.

No thanks.
 

aaaaa0

Member
Ecrofirt said:
My dad updated his PC to SP2 the other day.

Since then, I've noticed out network is running a lot slower. accessing my network drives, and even connecting to his PC is now taking quite a bit longer than it used to.

I've got my Xbox on the network. There have been lots of problems getting samba shares to work after upgrading to SP2.

No thanks.

Ok that's fine, it's your choice. I'm not seeing any problems with network access, but I don't have a modded xbox and all my machines are running SP2.
 

aaaaa0

Member
Ecrofirt, can you tell me what the following setting is in your registry on your machine, and your dad's machine?

"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa"
value "lmcompatibilitylevel"

It should be one of 0, 1, 2, 3, 4, 5.
 
I work in Tech/Customer support.. So when I call somewhere for tech support (This case shaw) I have two problems.

One: If I'm calling them, it's because I've done most of the things they would suggest to check.

Two: Getting them to believe this.


I called up shaw a few weeks ago after doing a fresh install because I wasn't getting connectivity. Nothing!

So, I called up Shaw to check and make sure there wasn't some stupid DNS setting I had to put in or something (As far as I knew it should all be automatic)

I told him I'd checked the connections, the ethernet drivers were installed, I'd hard and softbooted the modem. And of course, I had rebooted like a bajillion times.

After explaining all these methods and a couple of other more technical ones, I asked him about the DNS settings and such and asked if there were any other steps he could suggest. The guy actually had the gall to say:

"What I'd like you to do, is unplug the ethernet cable from the modem and the computer, and switch the ends around."

. . . . . . . . .

You know I didn't let him get away with that shit.

"I know why you're asking me to do this, it's so I'll plug the cable in and secure the connection. Which I told you I have already done. If you don't have any further suggestions, just have the balls to tell me that and I'll be on my way."

That was when I heard the 'click' of (i'm guessing) a supervisor or something entering or leaving the call. He tried to start up on his manifesto of reboot/reconnect but I cut him off and said "That's fine, nevermind, thank you for your help." and hung up.

Weird thing was, about 5 minutes later, the net connected for no apparent reason. I hadn't even touched anything after getting off the phone with him.


It's just so frustrating because I know from his point of view I could be someone who's called in a few times and is just SAYING that I've done this stuff, but from the way I explained it to him he should have been able to pick up that I actually had some clue as to what I was doing, especially since I had also just finished telling him about the hell weekend I had uninstalling and reinstalling XP with a low level format or two.

Observance Tech people! Observance!
 

Ecrofirt

Member
"lmcompatibilitylevel"=dword:00000000 on mine. Copied right from the .reg file I exported.

Can't check my dad's until this afternoon.

SO what does this key do?
 

aaaaa0

Member
When you connect to a network drive, your computer has to send your username and password to the other computer in order for it to grant you access. To avoid transferring the raw password over the network where it can sniffed, Windows will scramble the password first, using something called a password "hash".

There are several hash protocols that Windows uses.

1. LM -> This is a very old and very weak hash. It was designed 20 years ago for Windows 3.1 and Windows 9x. Today, this can be cracked in minutes.

2. NTLM -> This is a somewhat stronger hash. It was designed 10 years ago for Windows NT. Today, this can be cracked in hours or minutes.

3. NTLMv2 -> This is an ok hash. Designed for Windows 2000, XP, 2003. This can(probably) be cracked in months or years. This depends on how secure a password you pick in the first place ( "password" is not a good password :) ).

The value "lmcompatibilitylevel" controls which protocols your computer will try to negotiate when sending or receiving passwords.

When this value is set to 0, your computer will tell everyone that it supports only LM and NTLM.

When this value is set to 1, your computer will tell everyone it supports LM, NTLM, and NTLMv2, and it will prefer NTLMv2.

When this value is set to 2, your computer will refuse to use LM, and use NTLM and NTLMv2.

When this value is set to 3, your computer will refuse to use LM and NTLM, and only use NTLMv2.

The other two values (4,5) you shouldn't have to worry about, they only refer to servers.

The value of 0 offers the most compatibility, but very weak security.
The value of 3 offers the most security, but breaks access from older machines.

I suspect your dad's SP2 might have set the default to 3, which might be what's breaking SAMBA access. (SAMBA on your xbox may not support NTLMv2 or may not have it configured right or turned on.)

I don't know for sure until you can tell me what the value is set to on his machine.

Thanks.
 
Status
Not open for further replies.
Top Bottom