Deploying Root Certificates to Firefox Browser

Hsu Yao Chang 1 Reputation point
2021-04-22T11:10:20.47+00:00

Hi,
I use example below to deploy certificate in another computer, but because the profile have multiple, and it can not install in another profile.
Set FFProfdir=%Appdata%\mozilla\firefox\profiles
cd %FFProfdir%
DIR /A:D /B > "%Temp%\FFProfile.txt"
FOR /F "tokens=*" %%i in (%Temp%\FFProfile.txt) do (
CD /d "%FFProfDir%\%%i"
rename cert8.db cert8.db.orig
copy "\anderson0116\CertImport\cert8.db"
)
DEL /f /q "%Temp%\FFProfile.txt"

ex: When I deploy it by pdq deploy software, the path will show below:
c:\windows\AdminArsenal\PDQDeployRunner\service-1\exec>cd "c:\users\administrator\AppData\Roaming\mozilla\firefox\profiles"

But when user: bruce hsu login the computer, the command does not work. How can I adjust to each profile for each account?
Thanks a lot.

Community Center Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.