Hi,
I have a batch file for backup the Firefox bookmarks and I have created a package and TS for deploy that batch file.
It is working, but it backup only the bookmarks of the Administrator and not of domain user.
set copycmd=/y
c:
if not exist "%userprofile%\appdata\roaming\Mozilla\firefox\profiles.ini" goto:EOF
cd "%userprofile%\appdata\roaming\Mozilla\firefox\"
for /f "tokens=1,2 delims=/" %%i in ('findstr /l ".default" profiles.ini') do call set var1=%%j
cd profiles\%var1%
if not exist g:\backup (mkdir g:\backup)
copy places.sqlite g:\backup
My TS:
tsfirefox.png
I see in the log file "smsts" the following entry
C:>if not exist "C:\Users\Administrator\AppData\Roaming\Mozilla\firefox\profiles.ini" goto:EOF C:>cd "C:\Users\Administrator\AppData\Roaming\Mozilla\firefox" C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox>for /F "tokens=1,2 delims=/" %i in ('findstr /l ".default" profiles.ini') do call set var1=%j
As you see the backup does work, but it is backup the Administrator account.
If I run the batch file manually on my machine, it backup the bookmarks of domain\user, but with SCCM and TS does not work.
Any Idea?
Regards