I would like to read a user's spooled files. A service I'm writing to monitor the contents of %WINDIR%\system32\spool\PRINTERS ** however....
- On Windows 7, a standard user cannot read this location.
- On Windows 10, a standard user cannot read this location.
- On Windows 11, a standard user cannot read this location.
Question(s):
- Is there a documented or undocumented policy for allowing standard users to read this location or perhaps their own spooled files? (I understand file permissions may workaround this, but I'd prefer to leave these alone since it's a system directory and a future update may revert this change)
- If not, is there a quick way to render spool files to user space? (Instruct the spooler to write these files to a user-readable location?)
**Note: The spool file location is currently retrieved from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\DefaultSpoolDirectory.
Possibly related: https://stackoverflow.com/questions/65778053