install texlive2022 error because of permission on windows

Ron RJF Fehd ron.fehd.macro.maven at gmail.com
Mon Apr 18 21:19:39 CEST 2022


Yeah, last year's install was one of those
Learning Experiences.

Here's what I found out:

https://tex.stackexchange.com/questions/393420/pdflatex-wont-write-in-certain-folders/623102#623102

https://support.microsoft.com/en-us/windows/allow-an-app-to-access-controlled-folders-b5b6627a-b008-2ca2-7931-7e51e912b034

Use controlled folder access

Controlled folder access in Windows Security reviews the apps that can make
changes to files in protected folders and blocks unauthorized or unsafe
apps from accessing or changing files in those folders.

Select Start
  > Settings
   > Update & Security
    > Windows Security
     > Virus & threat protection.

Under Virus & threat protection settings,
      select Manage settings.

Under Controlled folder access,
       select Manage Controlled folder access.

Switch the Controlled folder access setting to On or Off.

iirc,

#1: on second install on a new laptop
I had to create the year folder, i.e.:

C:\program-files\texlive\2021

#2: seems like I had to enter the folder name into the MS
list of approved folders

before Running As Administrator.

time, begin: 08.15pm
time, end  : 10.30pm

hth

-- 
Ron Fehd  {SAS} macro maven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20220418/151505e2/attachment.html>


More information about the texhax mailing list.