Discussion Locked

my computer has locked me out

0 helpful
26 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I start my pc, I now receive the following message when I turn on my pc.
On my computer at home, one of my kids did something (I am not sure what!) and now when I turn on my computer I receive this error message on a BLACK screen:

Windows has disabled direct disk access to protect your long file names

To over ride this protection, see the LOCK/? command for more information. (I am not sure what LOCK/? command is)
The system has been halted.

Press Ctrl Alt Del to restart yourcomputer. (this only gives me the same error message again)

Do you have any idea how I can fix this?

26 replies

by dmiles

If the operating system is Windows 95,it may have to many temporary files
Start the computer in Safe Mode and empty the Recycle Bin
The other option would be to start computer to a command prompt and delete all files with a .tmp extension from allfolders on your hard drive
Ref Microsoft Knowledgebase article Q136061 for other possible causes

by big ray

Windows support page has 12 articles on this subject. I have included one of the articles here to get you started. If it doesn't help go to support.microsoft.com and enter in "Windows has disabled direct disk access to protect your long file names"

Setup Err Msg: Windows 95 Has Disabled Direct Disk Access... (Q142183)

Microsoft Windows 95

SYMPTOMS
When you install Windows 95 on a computer that has Never Ending Drive installed, you receive the following error message the first time Setup restarts the computer:

Windows has disabled direct disk access to protect your long file- names. To override this protection, see the LOCK /? command for more information.

The system has been halted. Press CTRL+ALT+DELETE to restart your computer.

CAUSE
Never Ending Drive monitors disk activity and file access, directly accessing the hard disk to perform its functions. Direct disk access is not compatible with long file names and is not supported in Windows 95.

RESOLUTIONTo disable Never Ending Drive and finish the Windows 95 installation, follow these steps:

Restart your computer. When the "Starting Windows 95" message appears, press the F8 key, and then choose Command Prompt Only.

Type the following line, and then press ENTER:
edit autoexec.bat

Type REM at the beginning of the line containing the Never Ending Drive program file (Nedprotect.exe).

Press ALT+F to open the File menu, and then press S to save the Autoexec.bat file.

Press ALT+F to open the File menu, and then press X to close the text editor.

Restart the computer. Never Ending Drive should be disabled and Windows 95 Setup should continue.

MORE INFORMATION
Never Ending Drive is a tool that monitors file usage and archives files that have not been used or accessed for a specified period of time.

by estebandelatorre

Boot your pc with a DOS bootable disk.
Remove all temporary files from the root level, the c:\temp folder and the c:\windows\temp folder too.
Also remove all files with .bak..old or begining with a ~
Be sure to check the version of the scandisk.exe, probably your version is not the proper for th s.o.
If possibble check for any virus.}

Hope it helps!!

by still_learning

It would seem that there are many causes for the error message that you are getting, however one that is likely to be the problem is that your computer has too many temporary (.tmp) files. Another possibility is that there is not enough disk space on the hard disk drive, as files in the Recycle Bin have never been emptied. If you can boot to Safe mode, (press and hold the Ctrl key until the Microsoft Windows Startup Menu displays and select Safe mode) clear out the C:\WINDOWS\TEMP directory and the C:\WINDOWS\TEMPORARY INTERNET FILES directory and restart. There other causes for this problem are as follows:

You are running the shareware program Winload.exe. This program is not compatible with Windows 95.
Pointer.exe is being loaded in the Win.ini file.
You are running the Df.exe program from Norton Utilities 7.0.
You are loading older MS-DOS or PC-DOS drivers in the Config.sys file.

I hope that this helps. Good luck - Steve
You are running Norton Disk Doctor (NDD) or Norton Image from Norton Utilities 8.0

by jaboy78

use a win98 startup bootdisk.
After loading, type on the command prompt "lock c:"

after that..u reboot to your c drive.

by timthetoolman

Oh... you need to remove that pesky space in the link I provided. I hate it when TechRep does that...

As far as fixing the problem goes... You'll have to boot to DOS using a bootable floppy and use a virus scanner on that floppy or alternatively reformat your hard drive and re-install windows from scratch.

Hope you didn't have anything important on your PC !

Follow up...
Tim.

by csmith

Technically the most direct way to eliminate all of the possibilities for the cause of this problem is to:
Boot on your AntiVirus floppy
(50% chance that will fix it.)
If no fix.
Boot on your Win9x startup disk.
Put the Windows CD in the CD-ROMand run setup.exe

The Windows setup routine will usually disable the offending executable (program).

This is not the shortest, but it is the KISS way. (Keep It Simple Stupid)

Regards, Chris

by mike (from canada)

I notice this when I tried to defrag my disk in DOS without going to safe mode command prompt only.

try making an msdos.sys file with the following lines:
[paths]
windir=(windows folder usually c:\windows\system)

by quaint_data

Try.. press f8 until options for safemode prompt etc comes up go, to safe mode, then
start button
run
type in msconfig, cheak box selective start up other wise it will load all device drivers. uncheak process auto execute file bat.
go to auto exec and disable all in there. go to start up and disable all you think is not necessary cheak all ini, wini files should get you lots of clues.Good luck how can you fail with so many helping. Regards Merete

by maxwell edison

Direct disk writes using INT 26h or INT 13h fail under Windows 95. This is necessary in a multi-tasking environment to prevent disk corruption from multiple utilities running simultaneously or prevent loss of long file names by applications that arenot long file name aware.

The LOCK and UNLOCK commands can be used to work around this protection for DOS utilities (for example, Winnt) if necessary.

Use the following syntax for running LOCK:

lock :
Use the following syntax for running UNLOCK.EXE:
unlock :

RESOLUTION
To lock a drive to enable direct disk access for Windows NT Setup, do either of the following:

Boot with the Windows 95 Emergency Startup Disk and at the MS-DOS prompt type:
lock :
For example:
lock c:

-or-

From within Windows 95, select Shutdown from the Start button and choose to Restart the Computer in MS-DOS mode. At the DOS Prompt type:
lock :
For example:
lock c:

Good luck,

Maxwell

This discussion is closed to new replies.