Program can't start because dll is missing

0

Any executable that I attempt to run on this laptop pops up an error stating The program can't start because LPK.dll is missing from your computer. Try reinstalling the program to fix this problem.

I have tried doing regsvr32 lpk.dll from within system32, but that returns the error The module "lpk.dll" was loaded but the entry-point DLLRegisterServer was not found. Make sure that "lpk.dll" is a valid DLL or OCX file and then try again. I was able to copy the DLL file from a working computer, but I get the same issue.

How would I go about registering this DLL? Or, alternatively, which program would I have to reinstall to get the DLL to work again?

The system is Windows 7 Professional 64-bit with Service Pack 1. I would really like not to reinstall the OS, but at this point, I'm about ready to.

Kruug

Posted 2013-10-30T15:20:11.457

Reputation: 5 078

http://support.microsoft.com/kb/249873 – TheSAS – 2013-10-30T15:30:23.597

Maybe this topics should be linked together http://stackoverflow.com/questions/4897685/how-do-i-register-a-dll-on-windows-7-64-bit

– TheSAS – 2013-10-30T15:30:54.520

@TheSAS Thanks, but that doesn't really help. Both the regsvr and the dll are in the same folder (system32). When I try doing the sysWOW64 to register the dll, I get regsvr telling me that lpk.dll is missing from my computer. This isn't an issue of 32- vs 64-bit implementation. – Kruug – 2013-10-30T15:43:58.803

note that many dlls are not system registrable, and when you attempt to regsvr32 them, the error you posted is the standard response. also, copying system dlls between computers is a bad bet, unless you can confirm that the file is of exactly the same version on both boxes. – Frank Thomas – 2013-10-30T15:44:02.243

@FrankThomas That might be the issue I ran into with copying, then. I copied from Win7 Ultimate 64-bit. I did make a backup first, I'll try restoring that file and regsrv'ing again. – Kruug – 2013-10-30T15:48:29.047

I don't believe that dll supports registration. most don't. – Frank Thomas – 2013-10-30T15:54:05.343

Answers

1

run cmd as administrator and run sfc/scannow.

Looks like corrupted system file.

Mark Evans

Posted 2013-10-30T15:20:11.457

Reputation: 155

Note, be sure to close any programs you have open before running a system file check. – Frank Thomas – 2013-10-30T15:41:51.997

Attempting to run the command sfc /scannow returns The program can't start because LPK.dll is missing from your computer. Try reinstalling the program to fix this problem. I ran scandisk, and that found some corrupted sectors, so how would I fix that? I did copy the new dll after I ran scandisk. – Kruug – 2013-10-30T15:46:42.680

chkdsk -R c: will attempt a disk scan with bad sector check on the c drive. since it will likely be mounted, you will probably be prompted to perform the scan on next boot automatically. then just reboot. – Frank Thomas – 2013-10-30T15:53:07.870

I apologize, that's what I ran, not scandisk. – Kruug – 2013-10-30T16:02:03.823

did you use the -R switch? -R or -B are required to search for bad blocks. also note that chkdsk and sfc do entirely different things. I've seen corobboration that the sfc /SCANNOW has fixed other folks problems with missing language pack dlls. http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/how-to-reinstall-lpkdll/3a61ce98-ba4a-4edd-9acf-e7b7e52e38c3 so I'm surprised it gave you that error.

– Frank Thomas – 2013-10-30T16:05:13.683

Did you try rebooting into recovery/repair mode? http://windows.microsoft.com/en-ca/windows-vista/advanced-startup-options-including-safe-mode

– brandonscript – 2013-10-31T02:08:15.987

boot in safe mode, then execute the above commands and then try windows updates. Because you can't run any executable, updates seems to be only way. In safe mode, also try running antivirus – Mark Evans – 2013-10-31T03:05:39.387