Replacing a file used by windows

Posted on 2004-11-25
Last Modified: 2010-04-14
I'm having alot of problems with the file oleaut32.ddl. I downloaded the latest version of the file but when i try to replace it, it says windows is using it. I tried booting in safe-mode to replace it, But windows is still not letting me. Please tell me a way i can replace this file. i have win2k and the error msg started after i had recieved some spyware and removed it. My anti-virus(when it starts with windows) tells me it can't find the ordinace(something like that) 313 in that file. Now when i tried to install ad-aware se it says "the procedure entry point varnot could not be located in the DLL oleaut32.dll"
Question by:NewBornVision
    LVL 87

    Expert Comment

    Boot into safe mode with commandline only. Here you should be able to do the copying.
    LVL 1

    Author Comment

    i am unfamiliar with dos commands. What do i type?
    LVL 1

    Expert Comment

    I have very efficient method of replacing files which get busy as soon as system operates in safe mode or normal mode.

    step 0: copy the file which u want to replace in c:\ folder. (NOTE: or at any convinient place)
    step 1: take any dos or win 98 CD which is bootable.
    step 2: restart ur machine with cd inserted in cd drive.
    step 3:  type the following line when cursor starts blinking in dos prompt.

    xcopy c:\fileName  <full path where to paste the file>

    give ok when it asks to overwrite the file.

    that's it.
    LVL 87

    Accepted Solution

    copy "SourceDrive:\SourceDirectory\Filename" "TargetDrive:\TargetDirectory\"

    Replace SourceDrive, SourcDirectoy, TargetDrive, TargetDirectory and Filename with correct values and don't use the quotes.

        your method will only work if you are using fat or fat32. This is unlikely with windows 2000, and this problem was posted in the  Windows 2000 area.
    LVL 11

    Expert Comment

    Try using inuse.exe, it is an utility from Windows 2000 resource kit to replace files blocked by operating system, available here:
    LVL 1

    Author Comment

    I tried to use the "inuse.exe" but i can't because there's an error in that oleaut32.dll file. When i press f8 when windows starts to select another boot option, the closest thing to starting in dos is "start windows with command prompt". i can't edit the .dll file because windows uses it when i select that option. I tried starting from the boot cd and the 1st and only thing that came up was the option to "select and restart last known good configuration". When I did that, it didn't help and when i tried to boot from any of the boot cd's "98 2nd ed;win2k;or xp" after that it just boots right to windows, even though at the start it says booting from cd. The last thing i want to try in to use a startup floppy disk. Only problem is that my floppy drive broke, and the other 2 i had as backup didn't work "i never used the 2 backups b4 and they were pulled from other machines". The light for the floppy drive doesn't even flash when it's connected to the power supply, So idon't think it's just a bad ribbon cable.
    My next move is to get a NEW floppy drive so i can boot with the floppy and start in dos instead of windows with dos "as stated above". If any of you have any more suggestions on how to "just start in dos" plz tell me. I will raise the value of this question by 500 for a total of 750 when they give me my points at the end of the month for helping other people with there problem. So sad i can't help myself =). thanx for your guys time.
    LVL 1

    Author Comment

    btw i have an ntf file system

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 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

    16 Experts available now in Live!

    Get 1:1 Help Now