Deleting .TMP files from the C:\Windows\system32\spool\printers folder

Anonymous
2021-04-16T15:38:10+00:00

We OFTEN come across times when we have to clear a print job and find a TON of .tmp files in the Windows spooler printers folder. Stopping the spooler service does not release these files so most often they cannot be deleted. 

After downloading and running Process Explorer we were able to find that these .tmp files are locked by the printfilterpipelinesvc.exe file. Using  Process Explorer we are able to restart the printfilterpipelinesvc service and THEN delete these files. But that requires us to download and run the Process Explorer app for every computer we have to do this on.

Is there a way to just restart the printfilterpipelinesvc without having to install and run Process Explorer (which is a GREAT tool, btw). We see that it's a service lanuched by svchost but there's not much we can find on using this to restart the process (we'd ultimately like to create a batch file or something we can use).

Any help is appreciated!

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2021-04-16T17:12:17+00:00

    To restart the process you run this command:

    printfilterpipelinesvc.exe

    Please remember to mark my reply by clicking "Did this solve your problem?". It's your way of saying "Thank you".

    Was this answer helpful?

    50+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-04-16T16:58:37+00:00

    You can use this console command:

    taskkill.exe  /f  /im printfilterpipelinesvc.exe

    Was this answer helpful?

    40+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-04-16T17:09:16+00:00

    Thanks, Frederik! Does that just KILL the process or does that RESTART the process? If just KILL, how do I restart the process?

    Was this answer helpful?

    9 people found this answer helpful.
    0 comments No comments