@Vu Nguyen ,
Welcome to Q&A forum!
In the registry, the key value that defines the system variable path %UserProfile% is different from the regular path.
If you add the KTVP folder as a trusted location through a .reg file, please change the path to "C:\Users\Administrator\Desktop\KTVP". You could right-click the KTVP folder, and then click Properties to view its specific location. Then double-click the .reg file to run this registry.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Excel\Security\Trusted Locations\Location9]
"Description"="KTVP Doc entry file"
"Path"="C:\\Users\\Administrator\\Desktop\\KTVP"
"Date"="13/07/2021 06:58 PM"
It is displayed in the registry as shown below:
If you want use the "%UserProfile%\Desktop\KTVP" path, please add the following key value in Registry Editor directly and use Expandable String Value to define the folder path as shown below.
My test results:
Hope the information could be helpful to you. Any updates, please let me know.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.