搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

-CreateProfile does not work for different account other then the logged in user

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 normangoh

more options

Hi guys,

I tried to create a Firefox profile when running CMD as an administrator. However, I noticed that when running CMD as an administrator I am able to create a Firefox profile successfully only when targeting the profile path under "admin" user path. If I were to try and create a Firefox profile for the Windows account "demo" it does not work and when I switch user account to demo and start Firefox it will manually recreate a new Firefox default account.

Have anyone know how to solve this issue?

Hi guys, I tried to create a Firefox profile when running CMD as an administrator. However, I noticed that when running CMD as an administrator I am able to create a Firefox profile successfully only when targeting the profile path under "admin" user path. If I were to try and create a Firefox profile for the Windows account "demo" it does not work and when I switch user account to demo and start Firefox it will manually recreate a new Firefox default account. Have anyone know how to solve this issue?

所有回覆 (3)

more options

To create a new profile Firefox would have to access the profiles.ini file to register the new profile and it is possible the profile gets registered in the wrong profiles.ini file and isn't accessible because it isn't registered in the profiles.ini file of that user.

Did you look in the location of the profile to see if it isn't there?

more options

Hi cor-el,

Thanks for the prompt reply!

I noticed that when I am trying to create a Firefox profile "defaultdemo" for the Windows account "demo" while running CMD as an administrator, there are no profiles.ini created.

However, profiles.ini are present when I run CMD as an administrator and creating a Firefox profile "defaultdemo" for the Windows account that I used to run as an administrator.

I am suspecting that I would need to run CMD with the same account that I am trying to create a Firefox profile under. However, my vbs script needs to create a default profile for all Windows user account that have no default Firefox profile available. Is that possible?

more options

Anyone know how to solve this issue? Thanks!