9/12/2023 0 Comments Close open files on serverThis happens to be a Windows 2008 box, so I can take it one step further and find the service via task manager: The above output shows us the name of the process, the pid, and file handle (in hex) and the file name. Svchost.exe pid: 1388 240: C:\Test\Example.dll Below is the syntax of how to find the handle, and close it: There is a neat sysinternals (now MS) utility called “ handle” that will show you all open handles on a file, and, more importantly, let you close that handle. However, we often times have trouble finding that process. Every now and then we have problems deleting or changing permissions on a file because it is open by a process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |