Avatar of kevin taylor
kevin taylor
 asked on

Windows 10 Font Folder nightmare

I have an issue with Windows 10 that is driving me mental.. For  whatever reason the fonts folder constantly blocks installations that require font installations.. Example Auto Desk Viewer hangs up on "Error Writing to file: C:\Windows\Fonts\arial.tff Verify that you have access to that directory" but it is also happening when I try to install Desi lite which is a label making program "Error Writing to file: C:\Windows\Fonts\DesiPictograms.tff Verify that you have access to that directory"

All of my users have local admin rights, I have tried installing using the domain admin account and the local admin account with same issue. When I originally upgraded to Office 16 word was also complaining about access denied when I would select a font..

When logged on as admin I tried to access the fonts folder permissions and I get "access denied"

Any ideas?
Windows 10Windows OSFonts Typography

Avatar of undefined
Last Comment
McKnife

8/22/2022 - Mon
McKnife

Share the output of
icacls c:\windows\fonts
It should be
c:\windows\fonts NT SERVICE\TrustedInstaller:(F)
                 NT SERVICE\TrustedInstaller:(CI)(IO)(F)
                 NT AUTHORITY\SYSTEM:(M)
                 NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                 BUILTIN\Administrators:(M)
                 BUILTIN\Administrators:(OI)(CI)(IO)(F)
                 BUILTIN\Users:(RX)
                 BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
                 CREATOR OWNER:(OI)(CI)(IO)(F)
                 APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(RX)
                 APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(OI)(CI)(IO)(GR,GE)
                 APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(RX)
                 APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(OI)(CI)(IO)(GR,GE)

Open in new window

kevin taylor

ASKER
C:\WINDOWS\system32>icacls c:\windows\fonts
c:\windows\fonts NT AUTHORITY\SYSTEM:(RX)
                 BUILTIN\Administrators:(RX)
                 BUILTIN\Users:(RX)
                 NT SERVICE\TrustedInstaller:(F)
                 APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(RX)
                 APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(RX)

Successfully processed 1 files; Failed processing 0 files
McKnife

See? ACL is not what it should be. Reset it with icacls.
On a different PC, dump permissions of c:\windows\fonts with icacls and restore them on your pc.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
kevin taylor

ASKER
Okay how do I export that file and import into this pc?
McKnife

Saving (folder for the ACLfile is d:, here - adjust accordingly)
icacls c:\windows\fonts /save d:\AclFile.txt

Open in new window

Restoring:
icacls c:\windows\ /restore d:\AclFile.txt

Open in new window

kevin taylor

ASKER
Okay I get access denied?

Microsoft Windows [Version 10.0.17763.379]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>icacls c:\windows\ /restore c:\AclFile.txt
c:\windows\fonts: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:\WINDOWS\system32>
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
kevin taylor

ASKER
currently logged in as local admin, not domain
McKnife

Right click cmd.exe, select "run as administrator" and repeat.
McKnife

Wait, I am sorry, this will not work. Please do a step in between: on the elevated command prompt, use takeown.exe on c:\windows\fonts, first.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
kevin taylor

ASKER
is it takeown.exe c:\windows\fonts? or does the command go different
McKnife

takeown.exe /f c:\windows\fonts
kevin taylor

ASKER
C:\WINDOWS\system32>takeown.exe /f c:\windows\fonts

SUCCESS: The file (or folder): "c:\windows\fonts" now owned by user "ACEWS01\HP USER".

C:\WINDOWS\system32>icacls c:\windows\ /restore c:\AclFile.txt
c:\windows\fonts: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:\WINDOWS\system32>icacls c:\windows\ /restore c:\AclFile.txt
c:\windows\fonts: Access is denied.
Successfully processed 0 files; Failed processing 1 files

C:\WINDOWS\system32>

still access denied
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
McKnife

That is weird.
I wonder why it won't let you now that you are the owner. Let me think...
kevin taylor

ASKER
Here is the core of my issue, everything I install to do with fonts folder fails.. However I can install fonts.. very weird.. see attachment
Untitled.png
kevin taylor

ASKER
Seems I ran into this once before and the only way I could fix it was through the security tab on the fonts folder. But I can't remember how to enable to security tab, its hidden by default..
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
McKnife

Please try

icacls d:\own /grant ACEWS01\HP USER:f

Open in new window

If that is executed on an elevated command prompt and FAILS, this can only mean, we have a file system error and you will need to run
chkdsk /r c:

Open in new window

and retry.
kevin taylor

ASKER
C:\WINDOWS\system32>icacls c:\own /grant ACEWS01\HP USER:f
Invalid parameter "ACEWS01\HP"
SOLUTION
McKnife

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
kevin taylor

ASKER
C:\WINDOWS\system32>icacls c:\own /grant "ACEWS01\HP USER":f
c:\own: The system cannot find the file specified.
Successfully processed 0 files; Failed processing 1 files

okay I replaced own with \windows\font got same error.. shouldn't the parameter be folder?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
McKnife

LOL. Own was my test folder, forgot to change that. The foldername is fonts, not font.
kevin taylor

ASKER
McKnife after disk chk last night the following command succeeded..

C:\Users\administrator.ANDREWENG>icacls c:\windows\fonts /grant "ACEWS01\HP USER":f
processed file: c:\windows\fonts
Successfully processed 1 files; Failed processing 0 files

C:\Users\administrator.ANDREWENG>
kevin taylor

ASKER
however I just realized it says domain admin is owner, not hp user.. Didn't notice that before I ran the command
Your help has saved me hundreds of hours of internet surfing.
fblack61
SOLUTION
McKnife

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
McKnife

Possibly the ACLs are alright anyway, after running chkdsk. It might have fixed the corruption.
kevin taylor

ASKER
No still get access denied trying to run the install.. see attachment  .. Also folder icacls look the same as before

C:\Users\administrator.ANDREWENG>icacls c:\windows\fonts
c:\windows\fonts ACEWS01\HP USER:(F)
                 NT AUTHORITY\SYSTEM:(RX)
                 BUILTIN\Administrators:(RX)
                 BUILTIN\Users:(RX)
                 NT SERVICE\TrustedInstaller:(F)
                 APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(RX)
                 APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(RX)

when I run an import of a proper icacls I get this ..

C:\Users\administrator.ANDREWENG>icacls c:\windows\ /restore c:\AclFile.txt
c:\windows\fonts: Access is denied.
Successfully processed 0 files; Failed processing 1 files

Chk Dsk didn't change anything..

ARGGGG!!
Untitled.png
ASKER CERTIFIED SOLUTION
McKnife

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
kevin taylor

ASKER
okay.. sorry.. logging out and logging into HP USER
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
kevin taylor

ASKER
McKnife I want to give you  a big hug!!!! Worked like a charm!!! However I didn't do it with the local user I followed the instructions to the "T" with the domain admin..

Thank you my Brudda!!
kevin taylor

ASKER
Appreciate you hanging with me and helping me get through this windows 10 bug..
McKnife

Very welcome.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck