Question

Keeps saying "some program using it". How to delete??

Asked by: letsk77

My XP Pro PC have a file named "dllav.dll" located at C:\Windows\msagent. This file was infected by adware, and causing popups. Very annoying. When I goes to this "msagent" folder and try to delete it, it keeps saying "Cannot delete dllav: It is being used by another person or program. Close any programs that might be using the file and try again"

I have tried go to Safe Mode, but still cannot. Tried in Safe Mode with command prompt, type "del c:\windows\msagent\dllav.dll, also cannot (same message). Try to use notepad to create something, and save at this location with same name hoping to replaced it and delete, but it won't allow me to save.

Some experts please help me to delete this file!! By the way, is there any way I can check what program is using this stupid file? And anyone know what is the folder msagent for?? Is it related to microsoft office?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-07-18 at 03:13:36ID21494922
Tags

delete

Topic

Networking Security Vulnerabilities

Participating Experts
4
Points
55
Comments
38

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Adware Removal
    I have run "Spy Sweeper" and it has detected and removed an adware titled "WildMain", however it also states that it cannot remove a file titled "midaddle" and that I must remove it manually. I try to do this but I cannot and I receive a message...
  2. annoying popup
    For some reason this annoying popup that doesnt even say anything keeps comming up every 10 min. I think its some windows reminder. Does anyone know how to get rid of it? Heres a screenshot of it http://rcm.freeserverhost.com/ss.jpg it very damn annoying to have this thing ju...
  3. Adware ...spyware....popups...
    Hi, My computer is full of spyware and adware stuff. So many popups keep coming up....I am so frustrated and annoyed... I tried lavasoft, spyware doctor, installed Mcfee antiviurs ....nothing worked. Can anyone tell me a comprehensive way of cleanign up the stuff and make ...
  4. Remove adware.
    Hi experts, I have an annoying problem with adware. I get random popups, which usually is more frequent when I'm surfing the net (I always use firefox and it comes up as a IE popup window). This particular adware has survived everything I've thrown at it, and I don't know ho...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: r-kPosted on 2005-07-18 at 07:35:09ID: 14466530

Here is what you can do to prevent that file from running:

(1) Right click on the file in Windows Explorer or My Computer, select Properties

(2) Click on the Security tab.

(3) Click on the Advanced button.

(4) Uncheck the box labeled "Inherit from Parent...", then click "Remove"

(5) Close all windows.

(6) Reboot.

This will render that file harmless and prevent it from running.
If you're running XP Pro and can't see the Security tab, select (in Windows Explorer), Tools -> Folder options -> View and un-check "Use Simple File Sharing"

Then, you still need to examine your computer and clean it up a bit. Suggest you get HijackThis from http://www.hijackthis.de/ and scan you system. Post the log back to that site for analysis, then post a link here to the saved analyzed log (not the entire log).


 

by: r-kPosted on 2005-07-18 at 07:37:51ID: 14466566

The "msagent" directory itself is a valid part of Windows, so don't delete other files there. It is used to display those animated icons (such as the dog when you do a search for files, or the Office paper-clip). See:

 http://www.microsoft.com/msagent/default.asp

OK, I can see why some people may not consider that feature all that useful :)

 

by: r-kPosted on 2005-07-18 at 07:40:42ID: 14466587

To check what program might be using a file, you can use FileMon:

 http://www.sysinternals.com/Utilities/Filemon.html

However, it is for somewhat advanced users. It is probably much better initially to run HijackThis amd see what might be infecting your system.

 

by: war1Posted on 2005-07-18 at 11:41:49ID: 14469016

Greetings, letsk77!

To go along with what r-k said, download HijackThis

http://www.hijackthis.de/

Run the program and you will find many entries. Most are OK. Post the log at the Hijackthis forum and clcik Anaylze, Save.  Post a link to the saved list here.

In the analyzed log, have HJT remove all items marked "Nasty" and "Unnecessarily".

Look at the items marked "Possibly Nasty" and "Unknown".  If you do not recognized them, have HJT delete them.

Cheers!

 

by: letsk77Posted on 2005-07-18 at 18:12:42ID: 14471827

Thanks r-k. Below is the log for HJT scan, and I can see one of the line is
O20 - Winlogon Notify: dllav - C:\WINDOWS\msagent\dllav.dll
which is the file I want to delete (dllav.dll). So what next? Should I try check this box O20 and "Fix checked"?

By the way, i can't see the security tab coz I'm using XP pro, but when I go to Tool>Folder Options, I can see my "Use simple file sharing" option is not checked already.
----------------------------------------------------------------------
Logfile of HijackThis v1.99.1
Scan saved at 9:06:48 AM, on 7/19/2005
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe
C:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe
C:\WINDOWS\system32\spoolsv.exe
C:\Program Files\Symantec AntiVirus\DefWatch.exe
C:\Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe
C:\Program Files\Symantec AntiVirus\Rtvscan.exe
C:\WINDOWS\Explorer.EXE
C:\WINDOWS\SOUNDMAN.EXE
C:\WINDOWS\system32\igfxtray.exe
C:\WINDOWS\system32\hkcmd.exe
C:\Program Files\Microsoft AntiSpyware\gcasServ.exe
C:\Program Files\Java\jre1.5.0_02\bin\jusched.exe
C:\Program Files\Common Files\Symantec Shared\ccApp.exe
C:\PROGRA~1\SYMANT~1\VPTray.exe
C:\Program Files\CyberLink\PowerDVD\PDVDServ.exe
C:\WINDOWS\system32\ctfmon.exe
C:\Program Files\Microsoft AntiSpyware\gcasDtServ.exe
C:\PROGRA~1\MICROS~2\Office10\OUTLOOK.EXE
C:\Program Files\Microsoft Office\Office10\WINWORD.EXE
C:\Program Files\Internet Explorer\iexplore.exe
C:\Documents and Settings\it2\Desktop\HijackThis.exe

R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyServer = 45234
O2 - BHO: AcroIEHlprObj Class - {06849E9F-C8D7-4D59-B87D-784B7D6BE0B3} - C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
O2 - BHO: MSEvents Object - {B8B55274-0F9A-41E5-9067-A3539BD9E860} - C:\WINDOWS\msagent\dllav.dll
O3 - Toolbar: (no name) - {5F1ABCDB-A875-46c1-8345-B72A4567E486} - (no file)
O3 - Toolbar: (no name) - {86227D9C-0EFE-4f8a-AA55-30386A3F5686} - (no file)
O4 - HKLM\..\Run: [SoundMan] SOUNDMAN.EXE
O4 - HKLM\..\Run: [IgfxTray] C:\WINDOWS\system32\igfxtray.exe
O4 - HKLM\..\Run: [HotKeysCmds] C:\WINDOWS\system32\hkcmd.exe
O4 - HKLM\..\Run: [gcasServ] "C:\Program Files\Microsoft AntiSpyware\gcasServ.exe"
O4 - HKLM\..\Run: [SunJavaUpdateSched] C:\Program Files\Java\jre1.5.0_02\bin\jusched.exe
O4 - HKLM\..\Run: [IMJPMIG8.1] "C:\WINDOWS\IME\imjp8_1\IMJPMIG.EXE" /Spoil /RemAdvDef /Migration32
O4 - HKLM\..\Run: [MSPY2002] C:\WINDOWS\system32\IME\PINTLGNT\ImScInst.exe /SYNC
O4 - HKLM\..\Run: [PHIME2002ASync] C:\WINDOWS\system32\IME\TINTLGNT\TINTSETP.EXE /SYNC
O4 - HKLM\..\Run: [PHIME2002A] C:\WINDOWS\system32\IME\TINTLGNT\TINTSETP.EXE /IMEName
O4 - HKLM\..\Run: [ccApp] "C:\Program Files\Common Files\Symantec Shared\ccApp.exe"
O4 - HKLM\..\Run: [vptray] C:\PROGRA~1\SYMANT~1\VPTray.exe
O4 - HKLM\..\Run: [RemoteControl] "C:\Program Files\CyberLink\PowerDVD\PDVDServ.exe"
O4 - HKLM\..\Run: [NeroFilterCheck] C:\WINDOWS\system32\NeroCheck.exe
O4 - HKLM\..\Run: [5rHNeh6jQ] C:\WINDOWS\deiqby.exe
O4 - HKCU\..\Run: [msnmsgr] "C:\Program Files\MSN Messenger\msnmsgr.exe" /background
O4 - HKCU\..\Run: [ctfmon.exe] C:\WINDOWS\system32\ctfmon.exe
O4 - HKCU\..\Run: [DVDXGhost] C:\Program Files\DVD Ghost\DVDGhost.EXE
O4 - Global Startup: Adobe Reader Speed Launch.lnk = C:\Program Files\Adobe\Acrobat 7.0\Reader\reader_sl.exe
O4 - Global Startup: Microsoft Office.lnk = C:\Program Files\Microsoft Office PRO\Office10\OSA.EXE
O8 - Extra context menu item: E&xport to Microsoft Excel - res://C:\PROGRA~1\MICROS~2\Office10\EXCEL.EXE/3000
O9 - Extra button: (no name) - {08B0E5C0-4FCB-11CF-AAA5-00401C608501} - C:\Program Files\Java\jre1.5.0_02\bin\npjpi150_02.dll
O9 - Extra 'Tools' menuitem: Sun Java Console - {08B0E5C0-4FCB-11CF-AAA5-00401C608501} - C:\Program Files\Java\jre1.5.0_02\bin\npjpi150_02.dll
O16 - DPF: {17492023-C23A-453E-A040-C7C580BBF700} (Windows Genuine Advantage Validation Tool) - http://go.microsoft.com/fwlink/?linkid=36467&clcid=0x409
O16 - DPF: {2BC66F54-93A8-11D3-BEB6-00105AA9B6AE} (Symantec AntiVirus scanner) - http://security.symantec.com/sscv6/SharedContent/vc/bin/AvSniff.cab
O16 - DPF: {644E432F-49D3-41A1-8DD5-E099162EEEC5} (Symantec RuFSI Utility Class) - http://security.symantec.com/sscv6/SharedContent/common/bin/cabsa.cab
O20 - Winlogon Notify: dllav - C:\WINDOWS\msagent\dllav.dll
O20 - Winlogon Notify: igfxcui - C:\WINDOWS\SYSTEM32\igfxsrvc.dll
O20 - Winlogon Notify: NavLogon - C:\WINDOWS\system32\NavLogon.dll
O23 - Service: Symantec Event Manager (ccEvtMgr) - Symantec Corporation - C:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe
O23 - Service: Symantec Password Validation (ccPwdSvc) - Symantec Corporation - C:\Program Files\Common Files\Symantec Shared\ccPwdSvc.exe
O23 - Service: Symantec Settings Manager (ccSetMgr) - Symantec Corporation - C:\Program Files\Common Files\Symantec Shared\ccSetMgr.exe
O23 - Service: Symantec AntiVirus Definition Watcher (DefWatch) - Symantec Corporation - C:\Program Files\Symantec AntiVirus\DefWatch.exe
O23 - Service: Remote Administrator Service (r_server) - Unknown owner - C:\WINDOWS\system32\r_server.exe" /service (file missing)
O23 - Service: SAVRoam (SavRoam) - symantec - C:\Program Files\Symantec AntiVirus\SavRoam.exe
O23 - Service: Symantec Network Drivers Service (SNDSrvc) - Symantec Corporation - C:\Program Files\Common Files\Symantec Shared\SNDSrvc.exe
O23 - Service: Symantec AntiVirus - Symantec Corporation - C:\Program Files\Symantec AntiVirus\Rtvscan.exe

 

by: war1Posted on 2005-07-18 at 18:22:35ID: 14471878

Here is a link to the analyzed log

http://hijackthis.de/logfiles/0b4f363c74f459d68497a926695f7254.html

Have HJT remove all items marked  and "Unnecessarily".

Look at the items marked "Possibly Nasty" and "Unknown".  If you do not recognized them, have HJT delete them.

At least one of the unknown is the file you referred to.  Look at the other unkown items.

O2 - BHO: MSEvents Object - {B8B55274-0F9A-41E5-9067-A3539BD9E860} - C:\WINDOWS\msagent\dllav.dll

Have HJT remove this BHO and any other ones you find.

 

by: r-kPosted on 2005-07-18 at 18:25:05ID: 14471893

Actually, that dllav.dll occurs in two places in your HijackThis log. Use HiJackThis to try and fix both those entries.

Then, reboot, and run HijackThis again, and see if the entries are still gone. If so, you should be able to delete the dllav.dll file itself.

As an aside: Are you saying that you have XP Pro, and you have un-checked the "simple file sharing" option, and you still don't see a security tab when you look at the Properties of any file?

 

by: r-kPosted on 2005-07-18 at 18:28:20ID: 14471908

I would also suggested removing the two O3 Toolbars, plus the O23 r_server.exe service.

The rest looks OK.

 

by: letsk77Posted on 2005-07-18 at 22:27:13ID: 14472570

thanks war1. I didn't see any "remove" or "delete" button, only "fix checked". Is that how you delete the checked file? I tried to check the two "Unnecessarily" toolbar, and two "unknown" BHO dllav and Winlogon dllav file. When I click at "fix checked", it only delete the two toolbar
O3 - Toolbar: (no name) - {5F1ABCDB-A875-46c1-8345-B72A4567E486} - (no file)
O3 - Toolbar: (no name) - {86227D9C-0EFE-4f8a-AA55-30386A3F5686} - (no file)

The BHO and Winlogon file still appear after I reboot and scan again:
O2 - BHO: MSEvents Object - {B8B55274-0F9A-41E5-9067-A3539BD9E860} - C:\WINDOWS\msagent\dllav.dll
O20 - Winlogon Notify: dllav - C:\WINDOWS\msagent\dllav.dll

To r-k, yes, I didn't see the security tab, so I go to the folder option hoping to uncheck the "use simple file sharing" check box. But when I open the folder option, i found that it was already unchecked!

further assistance needed! Thank you!

 

by: war1Posted on 2005-07-18 at 22:38:03ID: 14472595

It came back.  Try deleted the file in C:\WINDOWS\msagent\dllav.dll in Safe Mode.

 

by: r-kPosted on 2005-07-18 at 22:45:06ID: 14472615

I would suggest downloading and using Killbox to try and get rid of that file. You can download from: http://www.scancomplete.com/download/killbox/

Instructions for using it are also there.

There is a slight chance the file may come back even after that. So reboot and see if it does come back. In that case post back for further advice.

 

by: r-kPosted on 2005-07-18 at 22:47:47ID: 14472622

Re. the missing Security Tab, it might be that your disk is formatted not for NTFS, but FAT32. When you get a chance, can you confirm that by opening "My Computer", then right-click on the C: drive and select "Properties". Under the "General" tab, the item "File System" should show what type of disk format you have. NTFS allows setting permissions on files, FAT and FAT32 do not.

 

by: letsk77Posted on 2005-07-18 at 23:48:48ID: 14472773

r-k, yes, my file system is FAT32, not NTFS. Ok, i'll try the Killbox

war1, i tried before go into Safe Mode to delete it, but it still give me same message "...it is being used by another person or program...". You mean after use the HJT to fix the file, I try to go Safe mode and delete again?? Somehow I feel that the result will still be the same. But I'll still try it though.

 

by: letsk77Posted on 2005-07-18 at 23:52:00ID: 14472782

r-k, i just tried to use KillBox. I browse to the full path of that file C:\Windows\msagent\dllav.dll. When I click at the delete file button, it waits a while and give me a message "This file could not be deleted"!!

What a stubborn file!!!

 

by: war1Posted on 2005-07-19 at 07:46:32ID: 14475483

Did you try to delete the file in Safe Mode?

 

by: letsk77Posted on 2005-07-19 at 17:53:07ID: 14480814

war1, i tried but failed. I tried both "Safe Mode" and "Safe Mode with Command Prompt". In Safe Mode, it gives me same message "some other program using it...". In Safe Mode with Command Prompt, it says "cannot delete the file".

By the way, I use the Filemon.exe that r-k recommend, and I can see it is this program Winlogon.exe that using the stupid dllav.dll file. Below is the log.

WINLOGON.EXE:504      OPEN      C:\WINDOWS\msagent\dllav.dll      SUCCESS      Options: Open  Access: All      
WINLOGON.EXE:504      QUERY INFORMATION      C:\WINDOWS\msagent\dllav.dll      SUCCESS      FileFsVolumeInformation      
WINLOGON.EXE:504      QUERY INFORMATION      C:\WINDOWS\msagent\dllav.dll      SUCCESS      FileInternalInformation      
WINLOGON.EXE:504      QUERY INFORMATION      C:\WINDOWS\msagent\dllav.dll      SUCCESS      Length: 419348      
WINLOGON.EXE:504      CLOSE      C:\WINDOWS\msagent\dllav.dll      SUCCESS            

I can see every few minutes it will go through this process "Winlogon.exe Open dllav.dll> Query dllav.dll> Close dllav.dll". I checked on this winlogon.exe, and i found that this is crucial for windows system. I tried to rename this winlogon.exe to winlogon.ex1, I cannot reboot into my windows anymore!!! Luckily I have the XP Pro CD, and able to go into the command prompt, and rename back to .exe.

Seems like i can't do anything to this winlogon.exe. Then how am I going to stop this file from using the stupid dllav.dll, and hence let me delete it???

 

by: letsk77Posted on 2005-07-19 at 17:55:49ID: 14480823

I wish I could increase the points, but this is all I have. I definitely owe you guys one if you could help me go through this.

hey r-k, I found that the File Monitor is quite a good software to track the dll file usage. Thanks!!

 

by: war1Posted on 2005-07-19 at 18:07:18ID: 14480853

Do a search for the file in registry, win.ini file, and temp folders, and delete it if you find the file.

 

by: r-kPosted on 2005-07-19 at 20:36:23ID: 14481387

Don't delete or rename Winlogon.exe, that is a crucial Windows file. Instead try one of the following:


(1) Boot into safe mode with command prompt. Then CD to the \windows\msagent folder, a nd delete the file as follows:

 cd \windows\msagent
 atrrib -s -h dllav.dll
 del dllav.dll

and then reboot.

OR

(2) Open the Registry editor (Start -> Run -> regedit), then browse on over to the following key:

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify

within that if you open each subkey, you will find one that references dllav.dll. Delete that sub-key. Don't delete the wrong key!

Next, still within Regedit, lolcate the following key:

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects

and within that, there should be a sub-key named: {B8B55274-0F9A-41E5-9067-A3539BD9E860}. Delete that sub-key, don't delete the wrong ones!

Finally, reboot, and after that you should be able to delete the dllav.dll file.

There is also a third way, which I can suggest if all the above haven't fixed it yet.

 

by: r-kPosted on 2005-07-19 at 20:37:55ID: 14481391

Minor change to the above. The atrrib command should really be:

  attrib -r -s -h dllav.dll

 

by: letsk77Posted on 2005-07-20 at 01:36:34ID: 14482372

r-k, i hate to say...actually i tried both ways before you tell me. The Safe mode with command prompt, I did use the attrib -r -h -s dllav.dll before using del dllav.dll. But it still give me "The process cannot access the file because it is being used by another process".

Regedit thing, I search through the whole registry (F3 F3 F3) for this "dllav.dll" file. I backup every key and then delete it. But whenever after I reboot, those deleted registry key will be back into the same place!!! Below are the keys I delete:

[HKEY_CLASSES_ROOT\CLSID\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\dllav]

Right after I delete these keys, I go to the directory c:\windows\msagent hoping to delete the dllav.dll, after it gives me "another program using it" message, i went back to check the registry, it is again inside the same location.

 

by: r-kPosted on 2005-07-20 at 07:11:51ID: 14484779

I notice that in the keys you deleted, it does not include the second one I suggested:
>>>
Next, still within Regedit, lolcate the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects

and within that, there should be a sub-key named: {B8B55274-0F9A-41E5-9067-A3539BD9E860}. Delete that sub-key, don't delete the wrong ones!
<<<

You have to delete both keys, otherwise one will recreate the other. The other key to delete is:
>>>
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\dllav]
<<<

You have to delete both keys, then reboot, then delete the dllav.dll file itself from disk.

However, if the above does not fix it, then it is possible there is another program running that is recreating these keys. I noticed a program named SOUNDMAN.EXE running, which is a bit suspicious. Can you locate it in the c:\windows folder, right-click on it, select "Properties", then the "Version" tab. It should tell you who the author of that program is. Please post it here.

Second, can you do the following:

Open a Command Window, then:

> tasklist /svc > list.txt

this will save a list of running processes in a text file named list.txt. Please use Notepad to cut and paste that list here. Thanks.

 

by: letsk77Posted on 2005-07-20 at 17:52:57ID: 14490720

I did delete the explorer browser helper key also, but still the dllav.dll was re-created.

Soundman.exe version tab info is as follows:
Version: 5.1.0.0
Description: Realtek Sound Manager

Other information
Comment: Realtek AC97 Audio Sound Manager
Company: Realtek Semiconductor Corp
File Version: 5.1.00
Internal Name: ALSM Tray
Language: English (United States)
Original File Name: ALSMTray.exe
Product Name: Realtek Sound Manager
Product Version: 5.1.00

Tasklist info is as follows:
Image Name                   PID   Services                                    
========================= ======
System Idle Process            0   N/A                                          
System                              4   N/A                                          
SMSS.EXE                       320  N/A                                          
CSRSS.EXE                     480  N/A                                          
WINLOGON.EXE               504  N/A                                          
SERVICES.EXE                548   Eventlog, PlugPlay                          
LSASS.EXE                     560   PolicyAgent, ProtectedStorage, SamSs        
SVCHOST.EXE                700   DcomLaunch, TermService                      
SVCHOST.EXE                768   RpcSs                                        
SVCHOST.EXE                836   AudioSrv, BITS, CryptSvc, Dhcp, dmserver,    
                                             ERSvc, EventSystem,                          
                                             FastUserSwitchingCompatibility, helpsvc,    
                                             lanmanserver, lanmanworkstation, Netman,    
                                             Nla, RasMan, Schedule, seclogon, SENS,      
                                             SharedAccess, ShellHWDetection, TapiSrv,    
                                             Themes, TrkWks, W32Time, winmgmt,wscsvc,    
                                             wuauserv, WZCSVC                            
SVCHOST.EXE                892   Dnscache                                    
SVCHOST.EXE                924   LmHosts, RemoteRegistry, SSDPSRV, WebClient  
ccSetMgr.exe                1084   ccSetMgr                                    
ccEvtMgr.exe                 1152   ccEvtMgr                                    
SPOOLSV.EXE               1280   Spooler                                      
DefWatch.exe                1604  DefWatch                                    
MDM.EXE                     1640   MDM                                          
Rtvscan.exe                  1704  Symantec AntiVirus                          
ALG.EXE                        188   ALG                                          
EXPLORER.EXE             1376   N/A                                          
SOUNDMAN.EXE           1580   N/A                                          
igfxtray.exe                  1712   N/A                                          
hkcmd.exe                   1680   N/A                                          
gcasServ.exe               1600   N/A                                          
jusched.exe                 1792   N/A                                          
ccApp.exe                   1928   N/A                                          
VPTray.exe                  1092   N/A                                          
PDVDServ.exe               604   N/A                                          
msnmsgr.exe                956   N/A                                          
CTFMON.EXE                336   N/A                                          
gcasDtServ.exe             248   N/A                                          
IEXPLORE.EXE              2440  N/A                                          
OUTLOOK.EXE              2628  N/A                                          
winword.exe                2756  N/A                                          
IEXPLORE.EXE              3388  N/A                                          
cmd.exe                      3708  N/A                                          
wmiprvse.exe              3912  N/A                                          
tasklist.exe                    208  N/A                                          

 

by: r-kPosted on 2005-07-20 at 23:09:26ID: 14491639

The SOUNDMAN.EXE is a legit application, so you can leave that alone.

Interestingly, there seems to be nothing wrong with anything you've sent except those two registry entries that are referencing dllav.dll, i.e:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\dllav

I would have expected that if you delete both of these entries, and then reboot, it should then allow you to delete dllav.dll itself. However, your experience is otherwise (are you quite sure you deleted _both_ before rebooting?)

Given that, you can try the next step, which is to start your computer from the XP CD in "recovery console mode", then delete dllav.dll, then start in normal mode.
The steps for entering recovery console mode are described here:
 http://www.wown.com/j_helmig/wxprcons.htm

Basically you end up in a DOS-like window, after which you can use "cd..." to move to the windows/masagent folder, then delete the file, i.e.:

 cd \windows\msagent
 attrib -s -h -r dllav.dll
 del dllav.dll

and then reboot in normal mode.

After that you can check whether the file is really gone. Hopefully it will be.

 

by: letsk77Posted on 2005-07-21 at 01:30:17ID: 14492083

I'm sure I delete the things you asked me to. In fact, you asked me to delete two place in regedit, but I found several more other places that has dllav.dll and {B8B55274-0F9A-41E5-9067-A3539BD9E860}. Hopefully this info would give you more clues in troubleshooting:

I search through the whole registry for {B8B55274-0F9A-41E5-9067-A3539BD9E860} and it was found below places (some of them are key, some are subkey and some are value:
[HKEY_CLASSES_ROOT\CLSID\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]
[HKEY_CLASSES_ROOT\MSEvents.MSEvents.1\CLSID]
@="{B8B55274-0F9A-41E5-9067-A3539BD9E860}"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]
@="MSEvents Object"
"AppID"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MSEvents.MSEvents.1\CLSID]
@="{B8B55274-0F9A-41E5-9067-A3539BD9E860}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]
[HKEY_USERS\S-1-5-21-1644491937-776561741-725345543-1006\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{B8B55274-0F9A-41E5-9067-A3539BD9E860}]

I search through the whole registry for dllav.dll, and it was found in below places:
[HKEY_CLASSES_ROOT\CLSID\{B8B55274-0F9A-41E5-9067-A3539BD9E860}\InprocServer32]
@="C:\\WINDOWS\\msagent\\dllav.dll"
"ThreadingModel"="apartment"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B8B55274-0F9A-41E5-9067-A3539BD9E860}\InprocServer32]
@="C:\\WINDOWS\\msagent\\dllav.dll"
"ThreadingModel"="apartment"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\dllav]
"Asynchronous"=dword:00000001
"DllName"="C:\\WINDOWS\\msagent\\dllav.dll"
"Impersonate"=dword:00000000
"Startup"="SysLogon"
"Logoff"="SysLogoff"


I basically delete ALL THESE, reboot, go to my computer C > WINDOWS > MSAGENT, click at dllav.dll, hit delete key, it still gives me the "other program using it", and when I go to regedit, ALL THESE back to the original place!!

Since it has something to do with winlogon.exe, is it because whenever I key in password and hit enter, all these keys is re-generate?? Coz whenever I start my XP, eventually i'll come to the choose user screen. I click at my user account, a password field will appear and i'll need to key in password. Is this process done by winlogon.exe?? Is this anything related to the issue??


 

by: r-kPosted on 2005-07-21 at 09:30:13ID: 14494493

Yes, the key:

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\dllav

means that whenever you log-in, that particular program is called, so it becomes "in use" whenever you're logged in, and so cannot delete it.

Did you try my other tip about starting from the CD and then deleting the file? That should always work.

 

by: r-kPosted on 2005-07-22 at 09:17:10ID: 14504111

letsk77:

Hope you haven't given up. Try the following:

Start your computer from the XP CD in "recovery console mode", then delete dllav.dll, then start in normal mode.
The steps for entering recovery console mode are described here:
 http://www.wown.com/j_helmig/wxprcons.htm

Basically you end up in a DOS-like window, after which you can use "cd..." to move to the windows/masagent folder, then delete the file, i.e.:

 cd \windows\msagent
 attrib -s -h -r dllav.dll
 del dllav.dll

and then reboot in normal mode.

After that you can check whether the file is really gone. Hopefully it will be.

 

by: letsk77Posted on 2005-07-24 at 17:50:26ID: 14515476

busy this few days. I think I tried that before as well. Remember, during the time when I rename the 'winlogon.exe' to winlogon.ex1, after I reboot, it keeps rebooting and won't reach the "logon" screen. I have no choice but use the XP CD to goes to the "DOS-like" windows to rename back the winlogon.exe. So since i'm there, i tried to delete the dllav.dll. But after I reboot back into the windows, i found that the file is not deleted.

Perhaps i'll try again later. But not these few days. Too busy on something else. Thanks for your assistance first. Appreciated much!

 

by: war1Posted on 2005-07-24 at 18:15:55ID: 14515524

Some files regenerate itself.  Delete the dllav.dll file in DOS.   But instead of rebooting, do a hard shutdown of the computer. That is, shut the computer down, and remove the plug from the wall for at least 10 seconds.  Now after booting up, is the file gone?

 

by: r-kPosted on 2005-07-24 at 21:38:18ID: 14515993

It looks like there is some "hidden" process that is creating that file even after you delete it. I would suggest trying RootkitRevealer from:

 http://www.sysinternals.com/Utilities/RootkitRevealer.html

and scan your hard drives. If not sure how to interpret the output, cut and paste it here.

 

by: letsk77Posted on 2005-07-26 at 18:53:05ID: 14533158

r-k, you said ""hidden" process that is creating that file even after you delete it", but i think i never tried deleted it successfully even once. Everytime when I tried to delete either it gives me "another program using it" or in DOS "The process cannot access the file...". The thing I manage to delete is those registry key, but the key was regenerate after reboot (some of them was regenerate after I hit "delete" on that file).

The RootKitRevealer i'll try later. Also, the hard shut down suggest by war1. But war1, again, I can't delete it even in DOS.

 

by: letsk77Posted on 2005-07-26 at 18:53:45ID: 14533162

One of my friend do suggest me create a new profile and try to delete it. I'll also try that out later.

 

by: r-kPosted on 2005-07-26 at 18:58:41ID: 14533179

If you follow my tip above about booting in "recovery console" mode from the CD, then you definitely will be able to delete it. I am repeating that here:

Start your computer from the XP CD in "recovery console mode", then delete dllav.dll, then start in normal mode.
The steps for entering recovery console mode are described here:
 http://www.wown.com/j_helmig/wxprcons.htm

Basically you end up in a DOS-like window, after which you can use "cd..." to move to the windows/masagent folder, then delete the file, i.e.:

 cd \windows\msagent
 attrib -s -h -r dllav.dll
 del dllav.dll

and then reboot in normal mode.

After that you can check whether the file is still gone. Hopefully it will be.

 

by: fetiPosted on 2005-08-03 at 13:26:25ID: 14592835

There's a program called IsUsedBy by MST Software (www.mstsoftware.com).  You can download the trial version, drag the file into the program, and it will tell you what process(s) are using the file.  Not sure if this will help you, but I've found it handy in a few instances.  If there is some program watching the file to see if it is ever deleted, this should detect it.

FETI

 

by: caza13Posted on 2005-08-04 at 13:17:51ID: 14602197

If all else fails, try this one:

http://www.diamondcs.com.au/index.php?page=dellater

 

by: letsk77Posted on 2005-08-10 at 18:36:51ID: 14648341

r-k, finally i deleted in the recovery console. But I don't understand, i tried that before, but this time ok.

caza13, i did try the dellater.exe. I download the file, unzip it, then open the RUN menu, drag the dellater.exe into that run box, and then type full path file name behind it. Basically it looks like "C:\Documents and Settings\it2\desktop\temp\dellater.exe" C:\WINDOWS\msagent\dllav.dll
After i click RUN, it says "the file was marked to be deleted on reboot". After I restart, i go back to that location (C:\windows\msagent), i saw that the file is still there. But when i try to run the same command again in the RUN, it gives me "file not found". After yours is fail, then only i try r-k suggestion again. And weird enough, this time succeeded!

Thanks for all your effort!!!

 

by: r-kPosted on 2005-08-10 at 21:18:10ID: 14648937

Glad it finally worked. Thanks for the feedback.

 

by: caza13Posted on 2005-08-12 at 12:59:27ID: 14664225

I'm glad that you finally got that file deleted.  I have tried the DelLater program on my own computer, and it seems to work.  I haven't yet had the opportunity to try it on a file that couldn't be deleted by other means.  Since it must be run from a command prompt, I created a special folder in the root folder of the drive to store the dllater.exe file in order to keep the path short.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...