How can I close a file that is open in another program ?


  1. Posts : 98
    Windows 7 Professional 64-bit SP1
       #1

    How can I close a file that is open in another program ?


    Iwant to delete a file. I am logged on as Administrator, have taken ownership, have Effective Permission to perform a deletion, but I am unable to delete a file because it is being used by another program.

    I performed a Safe Mode boot; tried to delete it and still it was being used by another program.

    The file name is shellext.dll. It's location is C:/Programs & Files/ Microsoft Security Client.
    How can find out what program has opened it and close it?

    KC
      My Computer


  2. Posts : 2,468
    Windows 7 Ultimate x64
       #2

    I seems that the file is part of MSE antivirus and the file is the shell extension that provides shortcuts inside Windows Explorer. Why you want to delete that?
    Even if you manage to do so, having a missing file might cripple MSE or create problems with Windows explorer.
      My Computer


  3. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #3

    My understanding their good and bad shellext.dll.

    shellext.dll Windows process - What is it?

    I would leave the one for MSE alone.
      My Computer


  4. Posts : 98
    Windows 7 Professional 64-bit SP1
    Thread Starter
       #4

    Alejandro85 said:
    Why you want to delete that?
    I uninstalled MSE, this file was left behind.

    KC
      My Computer


  5. Posts : 98
    Windows 7 Professional 64-bit SP1
    Thread Starter
       #5

    Layback Bear - I followed the link you provided called What is it? One suggestion was to use a bat file to delete shellext.dll before it is used by another program.

    What should be in a bat file used to delete shellext.dll? Would it be like this?
    File name: Good_By_shellext.bat
    Line 1: delete C:/Program Files/Microsoft Seurity Client/shellext.dll
    Line 2: exit

    How can a bat file be put into Windows 7 start-up?

    KC
      My Computer


  6. Posts : 279
    Windows 7 Home Premium x64
       #6

    Find, download and run as administrator, Autoruns. If the .dll is in the list, untick, and see if the .dll can be deleted.
    Last edited by gigagiggles; 11 Feb 2013 at 14:41. Reason: Autoruns, not ProcessExplorer
      My Computer


  7. Posts : 2,468
    Windows 7 Ultimate x64
       #7

    Have you rebooted after uninstalling MSE? If so, are you still seeing the context menu options from MSE in Explorer?

    You may have to look in the registry then and delete from there so the file doesn't gets loaded then and you'll be able to delete it thereafter.
      My Computer


  8. Posts : 98
    Windows 7 Professional 64-bit SP1
    Thread Starter
       #8

    gigagiggles said:
    Find, download and run as administrator, Autoruns. If the .dll is in the list, untick, and see if the .dll can be deleted.
    Autoruns worked, shellext.dll has been removed from the drive.
      My Computer


  9. Posts : 279
    Windows 7 Home Premium x64
       #9

    KCav, great news to read. I do think the Forum would like you to mark this thread as solved for easy identifiability. Thank you!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:58.
Find Us