Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no startup due to ntdsapi.dll not found 2

Status
Not open for further replies.

malagash

Technical User
Aug 29, 2006
252
CA
I havea a friend with a relatively new (1 yr) Dell laptop running XPP. He shut down the computer and on restart gets the message
lsass.exe
ntdsapi.dll was not found

Will a repair install fix this. Will he lose any files / data as a result of such an install?

TIA
 
Lets do something less drastic than a repair install.

Restart the computer and quickly hit whatever key gets you into the BIOS setup. (Using hitting the Delete key). You should find a setting for Boot Order. Reconfigure this so that the CD-Rom device is first.

1. Start the Recovery Console:

2. It is the expand command we want to use. For this example I will assume that D: is your CD Rom Drive, so change the below to reflect your actual settings:

expand D:\i386\ntdsapi.dl_ C:\Windows\System32\ntdsapi.dll
exit

Now restart the computer. Set your BIOS boot order back to hard drive first.
 
Thanks Bill. I won't have access to the computer till morning but I shall try and get back to the forum.
 
Unfortunately no luck with
expand D:\i386\ntdsapi.dl_ C:\Windows\System32\ntdsapi.dll
I get the message
unable to create file ntdsapi.dll
The owner's somewhat desparate as his backup routine has not been very comprehensive.
All help appreciated
 
I should add that the window that opens when he starts the unit is titled
"lsass.exe Unable to locate component"
This application has failed to start because NTDSAPI.dll was not found

Bill
When attempting to expand the file from the CD you indicate that I should type ....dl_ vs. dll.
Why the underscore?
 
It wouldn't be Copy as opposed to expand would it?
expand D:\i386\ntdsapi.dl_ C:\Windows\System32\ntdsapi.dll
 
malagash" raises a valid point. The underscore indicates that the file is a compressed file and that is the filename on the CD. When Setup installs that file it automatically expands (uncompresses) and it becomes a .dll.

"If you need to replace a file in your Windows XP Professional installation, you can use the copy or expand command in Recovery Console to extract the needed file from the operating system CD. Use the copy command unless you are extracting a file from a .cab file, such as Driver.cab. When extracting a file from a .cab file, use the expand command".

See the paragraphs

Extracting Files from the Operating System CD.
Using the Copy Command in Recovery Console.



How to install and use the Recovery Console in Windows XP


Some other things you can look at from a saving data or recovery point of view are linked to in this thread.

Cannot logon to winxp...losing lots of valuable documents
thread779-975236
 
If you are using some sort of backup rather than the real installation CD, use copy.

But I would use the original CD and Recovery Console.

.
 
Hi everyone: thanks for the replies.
i have done the following all from the recovery CD that shipped with the unit:

expand D:\i386\ntdsapi.dl_ C:\Windows\System32\ntdsapi.dll

copy D:\i386\ntdsapi.dll C:\windows\system32

expand cdrom:\i386\ntdsapi.dl_ %systemroot%\system32\ntdsapi.dll

i have had another suggestion to use the UBCD. I am looking at the possiblities there too.

I VERY MUCH appreciate the input but am now brain dead (permanent state accoring to the wife) so will return in the morning. Must admit, I am good from 5am to 5pm after which, that's it

Please pass along any thoughts you might have and I shall get back to you in the am.
 
On any machine does this exist on the CD you are using:

your_cd-rom_drive_letter:\i386\

Use explorer to look at the CD.

 
Yes Bill, it's there. I can see it by searching the CD on my machine
 
This is making me angry.

Go back to Recovery Console.
Logon as Administrator.

ATTRIB -r C:\Windows\System32
Expand your_cd_drive:\i386\ntdsapi.dl_ C:\Windows\System32\ntdsapi.dll

Exit

.
 
There is nothing wrong with either of these commands. I think it is time to examine the disk in some more detail. Here are a couple of ways of doing it:

a) Temporarily install the disk as a slave disk in some other Win2000/XP PC, then try to replace the file. Don't run
chkdsk straightaway - it might ruin whatever you have left.

b) Boot the machine with a Bart PE CD:
To make one you need this:
* The tool from the above site.
* A WinXP Professional CD (but no licence number)
* A CD burner
* About three hours of your time

A Bart PE CD gives you a WinXP-like environment to work in. It gives you full access to NTFS partitions, independently of what works on your current disk. To make one is a substantial investment in time and effort - it's what the professionals do.
 
I don't have an adapter to connect it to another machine (it's on the list of "have to get one".

Bart PE CD - I am in the midst of creating one right now.
It looks extremely in depth.

I shall get back when I have finished burning it but before allowing it to do anything.
Thanks Bill
 
Well after trying a couple of disks I find that using a Dell XPCD was problematic. I had my IBM disk and it worked fine allowing me to create the Bart-PE CD.
I have booted up the machine and searched the options available but really don't want to make a move without some assistance from an experienced user.
If someone could walk me through this with respect to needed operations to resolve the issues above it would be most welcome.
 
I have also made a copy of the UBCD which seems to be another version of Bart-PE.
I have run that and tried running Trend Micro System CLeaner
With that I am getting various messages which say
Windows was unable to save all of the date for the file c:\several to choose from. The data has been lost. This error... etc.

The one onscreen at the moment refers to C:\$Mft (a master file table). That sounds deadly!

Can anyone shed some light on this?
Thanks
 
PE Builder v3.1.3 comes with a number of plug-ins already available (stored in the pebuilder313plugin subfolder), which you can individually enable or disable, by clicking on the Plugins command button of the Main application window, and then using Enable/Disable button (from the Plugins dialog box).

Some of the more common ones, selected by default, are:

A43 File Management Utility: BartPE's incarnation of Windows Explorer, or rather (for those who remember older versions of Windows) File Manager, which it resembles more closely.

Use that feature to copy the file.

Or, Since BARTPe supports a Run and a CMD setting, you can use the commands discussed above if you feel more comfortable us DOS-like commands.

.
 
While the machine was sitting it kicked out to a BSOD with a stop 0x24 error.
I shut it down for the moment as I have to go out for a couple of hours but will restart the process on my return,
Thanks Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top