How to copy an new user.js over an existing one in the profile

Hello,
i am silent deploying Firefox on many Pcs at a time.
The Computers now have Firefox 14 on it and the people work with it well.
I ve deployed it with setting changes in the user.js.
Now i must deinstall the Firefox 14 and install Firefox 16 ... the firefox profile is still
in the userprofile.
Now i want to change silent one line in the user.js in my userprofile.... i do the new user.js in the <Programfiles/Firefox/defaults/profile> folder... but the new user.js do not copy in my userprofile and overwrite the old one...
I am searching for an solution to add one setting in my user.js or pref.js in my old profile...
Greeting
Joe

You need to create a batch file.. to copy the user.js file into the profile directory. The problem is... 1st The directory generates a random name when installed. 2nd it places a . in the directory name it creates. copy will not work.
To get around this .. there is a simple "for" command you can place in a batch file and will do the trick. example shown below.
set folder=%APPDATA%\mozilla\Firefox\Profiles
for /f %%i in ( ' dir /a:d/b "%folder%" ' ) do if exist "%folder%\%%i\." copy /y "C:\pathtofile\user.js" "%folder%\%%i\">nul

Similar Messages

  • How to create a new database instance from an existing one?

    Hi, I basically want to create a snapshot of a production
    instance (version 8.1.7) for querying purposes. Would anyone
    tell me the steps involved? What I did as follows:
    1. Copy all data files to a new location
    2. Modify init.ora accordingly. I believe there is no separate
    control file for this version.
    But when I startup the instance, got this error:
    ORA-01103: database name 'TRITON' in controlfile is not 'HERCULE'
    What is missing? Do these data files contains links to the
    previous instance name?
    Thanks for any help.

    Hi All,
    I need some help in recreating new database instance.
    Here are the steps I have done so far:
    1. Created a database with name 'LASTDB' using DBCA
    2. Connected to RMAN.
    3. RMAN>SET DBID=******; (of the source database)
    4. Connect to target. RMAN>connect target SYS/*****;
    5. Executed controlfile restore on RMAN.
         RMAN>Run{
    Allocate channel D1 Type DISK;
              Set controlfile autobackup format for device type DISK to
    ‘\\<ip_address>\Backup\Prod\%F’;
    Restore controlfile from autobackup;
    6. RMAN> ALTER DATABASE MOUNT;
    Now got an error saying ORA-01103: database name ‘PRODDB' in control file is not ‘LASTDB’
    I tried using NID to change the database name but it's throwing an error that database is not mounted.
    I have browsed a lot and found that I need to recreate a control file of the production database using ALTER DATABASE BACKUP CONTROLFILE TO TRACE and should edit the trace file. But it also says to shutdown the source database which is production database and I cannot try that.
    Also I have tried adding a line to init.ora like lock_space_name = LASTDB. Also tried replacing everything from LASTDB to PRODDB but that didn't work either.
    I have been trying to find a solution to this. Please bear with me as I'm a beginner and please let me know how I can fix the error.
    I am running oracle 10.1.0.2.0 enterprise edition on windows 2000.
    Thanks for your patience,
    KG

  • How to create a new user over HTTPS

    Hi. I have set up conf.xml and web.xml so that when the user accesses a page in the secure area of the website, then they are taken to a login page where they enter their username and password and the form calls j_security_check on the server. All this happens over SSL as the transport garauntee is CONFIDENTIAL. But how to create a new user over HTTPS? If I have a create new account pages in the secure area of the website, then the only way the user can access these pages is by logging in, but they don't have a login as yet.

    An update. It looks that if the auth-constraint section (which lists the roles that can access this area) is missing, then everyone can access the region and it is over HTTPS. So far, the following seems to be working
       <security-constraint>
          <display-name>View My Account</display-name>
          <web-resource-collection>
             <web-resource-name>My Account Area</web-resource-name>
             <url-pattern>/myaccount/*</url-pattern>
          </web-resource-collection>
          <auth-constraint>
             <role-name>myrole</role-name>
          </auth-constraint>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>
       <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>Form-Based Authentication Area</realm-name>
          <form-login-config>
             <form-login-page>/newaccount/login.html</form-login-page>
             <form-error-page>/newaccount/loginerr.html</form-error-page>
          </form-login-config>
       </login-config>
       <security-role>
          <role-name>myrole</role-name>
       </security-role>
       <security-constraint>
          <display-name>Create New Account</display-name>
          <web-resource-collection>
             <web-resource-name>New Account Area</web-resource-name>
             <url-pattern>/newaccount/*</url-pattern>
          </web-resource-collection>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>

  • How to create a new user in oracle apps using exiting user

    How To Copy Oracle apps user access to a New oracle apps user With Same Privilage/responsibilities.

    Hi;
    You can use dbms_metadata.get_ddl
    Regard
    Helios

  • How to create a new user and group on command line?

    Hi,
    I am trying to install INN, the news server on OS X.4.8 (non-server), but it requires me to create a user and group, both called 'news'.
    I know this has something to do with using Netinfo to create them, but I am logged in remotely via ssh and I can't use Netinfo Manager.
    How do I create new users and groups via the command line.
    Thanks for any help.
    PowerMac G5 2x2.7GHz   Mac OS X (10.4.8)  

    I've put some shell scripts that do this here,
    and descriptions
    add_user
    addgroup

  • How to create a new user account?

    Hi,
    Could you point me to the document/maunal on
    how to create a new user account for OS X 10.4?
    I somehow couldn't find that from Apple web site.
    And I found one here:
    http://www.mcelhearn.com/article.php?story=2004110211244242
    and followed the instruction:
    # echo 'henry::512:512::0:0:Henry James:/Users/henry:/bin/bash' | sudo niload -v passwd /
    but nothing happened. Either this doesn't work with
    V10.4 (which I use), or I missed something.
    Any pointer would be much apprecaited.
    Thanks.
    Macbook Pro   Mac OS X (10.4)  

    Hi Allan and Simon,
    Thanks for your responses.
    Sorry I didn't make my question clear. I meant:
    "How to create a new user account with command line"?
    The GUI (System Preference) would work. But I'd like
    to how to do it from command line (just like on Unix).
    Any inputs would be appreciated.
    Thank you.
    Macbook Pro Mac OS X (10.4)
    Macbook Pro Mac OS X (10.4)

  • How to create a new User / Contact using APIs

    I am not able to figure out how to create a new User / Contact in WLPS using APIs
    . Is there a factory class ?
    Thanks,
    AJ

    Hi Bala,
    Try using these function modules
    SUSR_BAPI_USER_CREATE
    BAPI_USER_CREATE
    BAPI_USER_CREATE1
    BAPI_USER_INTERNET_CREATE ( This internally calls BAPI_USER_CREATE1)
    Please read the FM documentation for more information.

  • How to create a new user id in OID for Oracle Collab suite File System

    Dear Friends,
    I want to know how to create a new user id in the oracle internet directory where i can use that user for the new subscription of the oracle collabration suite file system..
    Please do the needfull and thanks in advance...
    With warm regards
    R.Prasad

    Hi!
    The way you suggest should not be used.
    A CS user will be created as a normal OID user and will receive the CS attributes in a different subtree later during the provisioning.
    For creating CS users use oesuser and uniuser. Files provisioning will work in a different manner anyway.
    cu
    Andreas

  • How to create full new user with all privileges

    how to create full new user with all privileges?
    and how to delete existing users?
    Thanks in advance..

    Common solution is probably to use sudo for privilege elevation, wiki should help

  • Create new user same as a existing roles and Privileges

    Hi Team,
    I am a junior DBA. New user Joined in Application team. So, Client requested me.....
    Crerate new user with same privileges as like as existing user.
    As of now i am creating user like "create user username identified by "password". Then grant privileges to that user. earliar I never comapare or copied users.
    Please suggest any one how to create new user as like as existing user roles and privileges.
    Thanks,
    Venkat

    For basic cloning:
    select dbms_metadata.get_ddl('USER', '...') FROM DUAL;
    SELECT DBMS_METADATA.GET_GRANTED_DDL('ROLE_GRANT','...') FROM DUAL;
    SELECT DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','...') FROM DUAL;
    SELECT DBMS_METADATA.GET_GRANTED_DDL('OBJECT_GRANT','...') FROM DUAL;
    SELECT DBMS_METADATA.GET_granted_DDL(‘TABLESPACE_QUOTA’, ‘...’) FROM dual;
    Then just replace the username with the new one you want to create.

  • New users are getting "cntl_error" whenever login into the portal

    Dear Experts,
    New users are getting "cntl_error" whenever login into the portal. They are accessing .par application. I have read so many threads, but unable to find exact solution.
    I have tried in my browser with the user login, then no error. But the user login there end then its giving "cntl_error" error.
    Problem with Internet Explore Browser? Any additional setting required for users browser?
    Could you please help me, how to resolve this error.
    Thanks in Advance.
    Regards,
    Vijay.

    Hi Vijay,
    Check this thread - "CNTL_ERROR" raised,error key: RFC_ERROR_SYSTEM_FAILURE- Show Team Calendar , this might help you on what you are looking for.
    Regards,
    Sen

  • How do I merge new imported photos into an existing event?

    How do I merge new imported photos into an existing event while using the latest version of iPhoto?

    You can merge two Events simply by dragging one to the other.
    You can move photos between Events by drag and drop or by first flagging them, then switching to Events View and selecting the target Event and going Events Menu -> Add Flagged Photos to selected Event.

  • I've created a new user but don't see it in the login screen

    I've created a new user but don't see it in the login screen.  Can somebody help?

    Hi,
    Before going further, I’d like to recommend you check if the address list is visible in OWA.
    If yes, this issue occurs when the AddressBookRoots attribute of the Microsoft Exchange object does not have the same distinguished name value that is set in the All Address Lists attribute.
    For more detail resolution, you can refer to the following article:
    http://support.microsoft.com/kb/982351
    Thanks,
    Angela Shi
    TechNet Community Support

  • Migration from PC with MA did not end. Had to shut down MacBookPro. After restart no new user was created. Can't find the transferred data (35 GB). Would like to delete it.

    Migration from PC with MA did not end. Had to shut down MacBookPro. After restart no new user was created. Can't find the transferred data (35 GB). Would like to delete it.

    iTunes is required to initially activate the phone. Back when the iPhone 3G was sold, you would take it out of the box and see a "Connect to iTunes" screen. She HAD to connect to a computer in order to begin using the phone. Does she remember what computer this was?

  • How do I divide a large catalogue into two smaller one on the same computer?

    How can I divide a large catalogue into two smaller ones on the same computer?  Can I just create a new catalogue and move files and folders from the old one to the new one?  I am using PSE 12 in Windows 7.

    A quick update....
    I copied the folder in ~Library/Mail/V2/Mailboxes that contains all of my local mailboxes over to the same location in the new account. When I go into mail, the entire file structure is there, however it does not let me view (or search) any of the messages. The messages can be accessed through the Finder, though.
    I tried to "Rebuild" the local mailboxes, but it didn't seem to do anything. Any advice would be appreciated.
    JEG

Maybe you are looking for

  • Visual Studio Error in UNIX FTP for AIX

    I am using a VS2010 Web Site Project to access files on our AIX server (Unix). (Pre-compiled website). Using Add > Existing Web Site, I have established an FTP session within my project which shows all of the Unix files and folders. We just found out

  • HP P1102W Smart Install not showing up

    Hello HP!  I've aquired a new HP P1102W and I'm facing some installation problems.  My desktop runs on Windows 7 x64, including all updates, I do not have an antivirus or firewall, I do not have other 3rd party applications. Only things installed are

  • Does class used by BlazeDS have limite ?

    I created a java class like this, and i wrote an AS class to match it , When i call a java  function and  return a object with type is Quest_Collect. sometimes I will get an error , if i setted sections_collect is null ,everything is ok if i added an

  • Warnings with objective C protocols

    I can't work out how to post code here without the formatting going all screwy, so here's an English description. I have a formal protocol declaring "MyFunction". I have a class heirarchy, and an object which is an instance of something in that heira

  • BP Role TR0150 (ISSUER) Problem

    Hi Experts, I faced problem with BP role TR0150,when i enter BP T.code ...in that screen i.e PERSON,ORGANIZATION,GROUP . 1. When i click on Person ---> beneath  Create in BP  role  ISSUER  is not available.  I want BP role ( ISSUER) in Person also.Wh