Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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?

All Replies (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!