Under which circumstances does the System process (PID 4) retain an open file handle?

前端 未结 8 1454
一整个雨季
一整个雨季 2020-12-09 02:50

My application running on a Windows server makes use of a Jet/Access database. For some reasons around every two weeks that database file gets locked by the System process (

8条回答
  •  萌比男神i
    2020-12-09 03:14

    Here's another possible cause I've found:

    There is a bug in Windows 7 and likely in Windows Server 2008 (possibly 64bit versions only). It surfaces when you disable Application Experience service and causes the same problems as described in the question.

    Re-enabling this service has fixed this problem for me.

    A bit more info here as to why it's causing a problem.

    List of other SO questions which seem to be related:

    • Visual Studio output file permissions?
    • Windows 2008 R2 - Kernel (System Process PID=4) is locking files and folders

提交回复
热议问题