Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Cannot delet file becuase its opened in another program (svchost.exe)


  • Please log in to reply

#1
m4LemonMango

m4LemonMango

    New Member

  • Member
  • Pip
  • 2 posts
Hi, I'm trying to delete a file but it always give "th file is used by another program"and won't allow me to delet. I used an program called "lockhunter" (work similar to unlocker) that shows what program is currently running the file and it showed svchost. I tried to terminate svchost through lockhunter but it didn't work and I still cannot delete the file.

Can someone know whats wrong or been through similar situation help me shed some light on how to fix this situation? Thanks in advance!
  • 0

Advertisements


#2
Digerati

Digerati

    Grumpy Ol' MSgt (Ret.)

  • Retired Staff
  • 3,999 posts
  • MVP
Hi m4 and :welcome:

It is not normally a good idea to terminate one of the svchost processes (there are usually several running) as that can, if you are able to terminate it, make Windows unstable and crash.

We really need some more information. Specifically, what is the filename of this file? What version of Windows are you using? Why are you trying to delete it?
  • 0

#3
m4LemonMango

m4LemonMango

    New Member

  • Topic Starter
  • Member
  • Pip
  • 2 posts
Hi Digerati,
I'm a code develper and recently my svn tortoise porgram (what I use to update and commit file) stopped working properly. Everytime I try to update or commit any file in my inetpub folder, error appear saying failed because the folder is locked and its "read only". I'm trying to delete the whole inetpub file and just recheck out the folder. But I'm having trouble deleting it because its always opened by another program (svchost.exe). I'm using window 7 enterprise. I need help deleting my old "locked" inetpub file. Any help or thoughts on the situation will be greatly appreciated!
  • 0

#4
Digerati

Digerati

    Grumpy Ol' MSgt (Ret.)

  • Retired Staff
  • 3,999 posts
  • MVP
Try deleting it from Safe Mode. Or use MoveOnBoot to mark the file for deletion during the early stages of the next boot, before anything can get hooks in it.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP