Failed to Delete pvp File Because streamprocess.exe Has it Open

Failed to Delete pvp File Because streamprocess.exe Has it Open

book

Article ID: CTX227243

calendar_today

Updated On:

Description

Failed to delete pvp file because streamprocess.exe has it open.  You may see SHARING VIOLATION or ACCESS DENIED in the process monitor.

Resolution

  • Restart Streamprocess.exe:

                      1. Stop the Streamprocess.exe process from the Task Manager.
                      2. mgmtDaemon.exe will detect if Streamprocess.exe is not running, and then mgmtDaemon.exe will call Streamprocess.exe to startup.

OR
 

  • As a workaround you can stop PVS Stream Service first in maintenance period and then delete pvp files again.

Problem Cause

Streamprocess will load pvp file to prevent performance issues during boot storm.The pvp file handle may not be released when deleting the file.

Explorer.EXE need to call IRP_MJ_CREATE function to remove file. If file handle has not been closed by CloseHandle function, delete file action will encounter SHARING VIOLATION or ACCESS DENIED error.

Issue/Introduction

Failed to delete pvp file because streamprocess.exe has it open.  You may see SHARING VIOLATION or ACCESS DENIED from process monitor.