I've installed an extra font that I need for an application (LiberationSansNarrow). This font is available in the application, in Notepad, and shows up in the Control Panel / Fonts utility.
However, when I run a task automatically using Task Scheduler, the font is not available to the application (as is evident in the output files). It IS available if I run the same task manually, from a command window; the task is simply a script that calls some python code.
The job run by Task Scheduler is run with the highest privileges box checked, and runs as a domain/active directory user (not a local user), but this is the same user who installed the font, and that user has full Administrator privileges.
When I look at the font directory listing in a command window with dir /q, it shows the owner as "BUILTIN\Administrators". Other fonts (installed with Win7 presumably) show up as either that, or "NT SERVICE\Trusted", including Arial, which works in the application under Scheduled Tasks. Here's the listings:
C:\Windows\Fonts>dir /q arial.ttf
Directory of C:\Windows\Fonts
06/10/2009 04:25 PM 774,476 NT SERVICE\TrustedInstaarial.ttf
C:\Windows\Fonts>dir /q LiberationSansNarrow-Bold.ttf
Directory of C:\Windows\Fonts
07/21/2010 09:29 AM 109,820 BUILTIN\Administrators LiberationSansNarrow-Bold.ttf
Any clues on how to either change the owner of the font files of interest, and who that owner should be, or other possible solutions? Right-clicking on the font file does not give you normal options (such as properties, where you might change the owner).
thanks!
However, when I run a task automatically using Task Scheduler, the font is not available to the application (as is evident in the output files). It IS available if I run the same task manually, from a command window; the task is simply a script that calls some python code.
The job run by Task Scheduler is run with the highest privileges box checked, and runs as a domain/active directory user (not a local user), but this is the same user who installed the font, and that user has full Administrator privileges.
When I look at the font directory listing in a command window with dir /q, it shows the owner as "BUILTIN\Administrators". Other fonts (installed with Win7 presumably) show up as either that, or "NT SERVICE\Trusted", including Arial, which works in the application under Scheduled Tasks. Here's the listings:
C:\Windows\Fonts>dir /q arial.ttf
Directory of C:\Windows\Fonts
06/10/2009 04:25 PM 774,476 NT SERVICE\TrustedInstaarial.ttf
C:\Windows\Fonts>dir /q LiberationSansNarrow-Bold.ttf
Directory of C:\Windows\Fonts
07/21/2010 09:29 AM 109,820 BUILTIN\Administrators LiberationSansNarrow-Bold.ttf
Any clues on how to either change the owner of the font files of interest, and who that owner should be, or other possible solutions? Right-clicking on the font file does not give you normal options (such as properties, where you might change the owner).
thanks!