When I first got this error, I couldn't tell what was causing it. Just the day before everything was working properly, suddenly problems.
Thinking back, we recently had a user who wasn't seeing one of the printers, while looking at that issue, we noticed that the only available driver was for 64 bit systems.
Our printer department added a 32 bit driver and I was able to install it for the user. Well, overnight, the drivers went out to all systems and that's when I began experiencing this problem.
Researching the issue, I found all kinds of "resolutions" which were long and convoluted and in the end failed to resolve my error 2 issue.
In the end, I had to remove all of the folders from the "C:\Windows\System32\spool\prtprocs\w32x86" folder and restart the print spooler.
Apparently, there is a hard limit on the number of folders that can be created under the prtprocs folder, apparently that limit is something around 500.
If you take the following steps, you may find that this will resolve your problem as well.
- Copy all data under the "C:\Windows\System32\spool\prtprocs\w32x86" folder to another location. This will be your backup should this procedure fail and you need to put them back to their original location, so don't skip it.
- Delete all files, skip files that won't delete, from the "C:\Windows\System32\spool\prtprocs\w32x86" folder.
- Restart the print spooler service.
I hope this saves you some time.