Open RegEdit to a Specific Key

I have searched and tried various solutions (vbs, bat), but none seem to work properly.  I am simply looking for a script (or technique) that will enable me to open RegEdit on a specific key.  It will be used on WinXP and Win7 machines (x86 and
x64).
Any help is appreciated.

use reg.exe to set the LastKey value, then open regedit.
reg add hkcu\software\microsoft\windows\currentversion\applets\regedit /v lastkey /d "My Computer\HKEY_CURRENT_USER\Software
\Microsoft\Windows\CurrentVersion\Applets\Regedit"
start regedit.exe
Change the bit after the /d to whichever key you want to open to.
If you're not sure how to format the string, then open regedit, go to the key you want to open to, then close regedit. Run the reg query below to get the exact string.
reg query hkcu\software\microsoft\windows\currentversion\applets\regedit /v lastkey

Similar Messages

  • HKEY_LOCAL_MACHINE/sofware/classes/QuickTimePL and opening "Regedit" Menu.

    Like other people on here, I, too, have had problems with downloading the new QT. I receive the same error message. I've tried what's been suggested in other threads (Opening "Regedit"), but I cannot acces it for more than five seconds or so. I have an administrator's account. Can anyone help me find out what the problem is?
    Kait
      Windows XP  

    Just doublechecking something before proceeding, Tiggy ... none of the procedures described in the following document worked?
    [QuickTime or iTunes Installer "Could not open key" alert stops install on Windows|http://support.apple.com/kb/TS1462]
    (If so, there's probably an issue with the ACLs (access control lists) for your QuickTime registry keys ... but I like to rule out the simpler possibilities before leading someone down that particular troubleshooting path.)

  • Keep focus in the same window after opening a new window per key-event

    I have an application in which user can press on a specific key, and that opens a new window in a JFrame. User might want open a few of such windows in a row by changing the cursor position and pressing the same letter key. But the problem is that with every new window Java VM transfers the focus to that new window. User is forced either to click to regain focus, or to move the mouse out-and-in the window, in which case the focus returns to it as well, assuming the X11 style of focus by cursor position of course.
    Is there any way to keep the focus with the window on which the cursor is placed?

    In your ActionListener your code should be something like:
    JFrame anotherOne = new JFrame();
    anotherOne.setVisible(true);
    originalFrame.requestFocusInWindow();If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://sscce.org], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • WAD question: fix each chart series to a specific key figure

    Hi All,
    I hope you can help.
    In WAD is it possible to fix each series in a chart to a specific key figure from the data provider (query)?
    We need to be able to do this because the opening position of our query has a number of hidden key figures, that are displayed later in navigation.
    Without being able to fix the series to key figures, in the opening view some key figures are appearing as columns rather than lines and vice versa.
    Thanks and regards
    IM

    Thanks for your help, Pcrao.
    My scenario is:
    I have 15 key figures in the columns of my query (data provider).
    The first 12 of these KFs are to be displayed as bars (columns) and the last 3 as lines in the chart of my web query.
    I can set this no problem in WAD.
    But my problem is that because a number of my key figures are set as hide in the query designer (to be unhidden later in navigation) the last three KF's are displaying (incorrectly) as bars until I unhide all KF's in the navigation.
    In other words, it seems to me that I need to fix each series in the chart editing to a specific key figure. But I don't know how.
    Thanks again and regards
    IM

  • Card specific keys

    My card implements the mutual authentication. For that purpose the external application and the card must share the set of secret keys. The first key is relevant for encryption and the other for the MAC calculation. At this point I am putting these keys on the card during the personalization. These keys are the same for all cards. Now I am thinking is this secure enough. I read that it is recommended to use derived (card specific) keys such that only one card is affected if a key is compromised. How can I calculate the card specific keys? If I will have this, then if someone finds out the initial secret keys and the algorithm how the card specific keys are made, then the card is again compromised. Right?

    You said that the random key is more secure way. You mean that during the personalization I can generate random key on the card. The operating system takes care of the security of such object. But, this random key has to be shared with the external party which is communicating with the card. Both of them need it in order to establish the secure channel. At some point it has to be extracted and given to the terminal side. Right? Or the random key has to be generated on the perso dll during the personalization. Then the outside world has to have some kind of lookup table in which the relation token serial number, random key has to be stored and before executing the mutual authenticate method, the external party has to for the particular token serial number extract its random key. What if the secure channel has to be made from the middleware API that is installed on the user’s PC. If the lookup table is stored somewhere like HSM it is impossible use case because the user’s PC is located in his home. With random keys, each key would be generated at perso time and injected into the card manager with PUT KEY over a secure channel. You could use the unique card identifier as the label for the key in the HSM so there is no lookup table. You could use the same data you would use to diversify a key since it should also be unique. I am assuming you have some way of having a connection back to a HSM from the middleware? If not, this model sounds worrying to me. If you have your keys exposed to every client client then you are opening up a security risk. You can assume the client machine is secure.
    You said:
    It is easier to secure a single set of master keys (and rotate as required) that are used like this than a master key that is shared
    I did not understand how this will work. In case of mutual authenticate method. The external party is using one master secret key from the set of secret key set. When the command comes to the card, the card has to verify it. But how the card knows with which key the message is encrypted.If you have keys in a HSM you need some way of knowing what key to use. You could map cards to a master key. Some security organisations recommendations on key rotation and usage policies which are designed to limit the exposure of sensitive keys. It adds overhead but you gain additional security (if a key is compromised only a limited number of your cards are compromised).
    Cheers,
    Shane

  • When i updated my computer, my safari on applications wont open and says "safari quit unexpectedly" and wont open but when i open it on the application key on the mac, safari will open. how do i get safari back on my dock where it will open.

    When i updated my computer, my safari on applications wont open and says "safari quit unexpectedly" and wont open but when i open it on the application key on the mac, safari will open. how do i get safari back on my dock where it will open. when i click reopen it wont. but i know safari works because thats what im using right now. it just wont open when i click the one i had loaded on my dock and in applications. please help!
    Stephanie

    Drag the Safari icon straight up and off the Dock so it goes, "poof" ...
    Now click and hold the Safari app in the Applications folder and drag that to the Dock.
    See if you can open a webpage in Safari.

  • Open files from a specific directory

    Dear all,
    I have the following source code that simply selects files from a directory.
    private void openFile()
    JFileChooser fileChooser = new JFileChooser();
    fileChooser.setFileSelectionMode(
    JFileChooser.FILES_ONLY );
    int result = fileChooser.showOpenDialog( this );
    // user clicked Cancel button on dialog
    if (result == JFileChooser.CANCEL_OPTION )
    return;
    File filename = fileChooser.getSelectedFile();
    if (filename == null || filename.getName().equals( "" ))
    JOptionPane.showMessageDialog( this,
    "Invalid File Name",
    "Invalid File Name", JOptionPane.ERROR_MESSAGE );
    else
    // open the file
    try
         // Open an input stream
         FileInputStream fin1 = new FileInputStream(filename);
    // Read and print a line of text
    BufferedReader d1 = new BufferedReader(new InputStreamReader(fin1));
    abs = d1.readLine();
    outputArea1.setText("");
    outputArea1.append(abs + "\n\n");
    outputArea1.setCaretPosition(0);
    // Close our input and output stream
    fin1.close();
    catch (IOException e5) {
    JOptionPane.showMessageDialog(this, "Error Opening File", "Error", JOptionPane.ERROR_MESSAGE);
    } // end catch
    } // end else
    } // end private
    My question is: Can I force it to open files from a specific directory, and NOT from MyDocuments directory????
    thanks,
    vxc

    \r = return
    \n = linefeed
    \j = illegal escape character
    JFileChooser fileChooser = new JFileChooser("C:\j2sdk1.4.2\bin");
    You could/should use:
    (new File).pathSeparator
    or
    (new File).pathSeparatorChar
    and
    (new File).separator
    or
    (new File).separatorChar
    http://java.sun.com/j2se/1.4.1/docs/api/java/io/File.html

  • Customer-Specific Key Figure and MCI3 analysis report

    Hi,
    We have created a "Customer-Specific Key Figures" in customizing and mapped the key with value category. But this new defined key figure is not available in the report MCI3.
    How to get this figure in the analysis report MCI3 etc , i.e. how to update the information structure S115.
    Regards

    Hello,
    You have to develope the new programme using that info structure and update that new value field in your customising logic programe .
    Regards,
    Rakesh

  • Assigning instruments to specific keys on a USB keyboard

    Is there a way to assign certain instruments to specific keys on a USB keyboard?
    I use an M-Audio Keystation 49e USB keyboard. It works fine, but I have no experience with MIDI and don't know what the "advanced functions" button on the keyboard allows me to do, although I'm sure with some pointers I can figure it out.
    (Some weeks back xs4ls recommended the JamPack 3 with the Studio Toolkit. Thanks for that recommendation. The stuff really improves upon the stock drumkit software instruments. But in the Studio Toolkit, certain instruments I might like to use together are often located more octaves apart than I can play at one time. The regular kits are generally organized on the keyboard such that I can play them "live" just like I do my actual drumset. This is how I prefer to lay down my drum parts. I'm also interested in assigning drum sounds from a various software kits to save as my own custom kit, if possible.)

    GB3 has a "programmable keyboard" feature that isn't as slick as the stock instruments, but it's better than nothing! (one of the good features of GB3)
    I found a bunch of old Qbert (the video game) noises on line, and created my own instrument with those. Pretty sweet.
    X
    p.s.
    Happy you liked the suggestion. I wish I could take credit for making the Jam Pack......

  • Open multi page pdf specific page in Illustrator CS4 with apple script

    I need to open multi page pdf specific page in Illustrator CS4 with apple script. Is it something like this:
    activate  (open file theTargetFolder as PDF with options …).
    Thank you.

    Carlos,
    Muchas Gracias por tu colaboración y excelente script, el que se abra el ESTK no tiene mayor importancia.
    El caso es que Adobe recomienda encarecidamente NO utilizar Illustrator para editar PDFs, por diversas razones, aunque cuando no hay otro remedio o herramienta disponible, o conocida ...
    Para llegar aquí, aparte de San Google, hay que ir a Adobe.es (en mi caso), pestaña de Ayuda,  ..... (hasta aqui bien),
    luego hay que bajar hasta el final y ver Comunidad y Foros...... (esto puede ser)
    al pulsar aparacen un montón de foros se supone de programas pero en inglés,
    y la última línea es de International Forums,  ya casi hemos llegado)
    pulsamos entonces, y por fin se abren cuatro palabras con idiomas, en una dice: español      (casi no me lo puede creer)
    pincho y llego por fin aquí.
    Muy poca gente sabe de la existencia de este pequeño refugio, si a esta dificultad añadimos la peculiar forma de ser de la gente, ....

  • Application specific key-value pairs in jndi.properties

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

    We have a similar problem.
    We would like to configure our PROVIDER_URL for a specific web application - not
    for the entire server. Since the URL should be different in development, test
    and production environments, we would prefer to just set it in the deployment
    descriptor. And we have a lot of code that just uses
    ctx = new InitialContext();
    when looking up EJBs, queues etc.
    Actually, to take the problem one step further, it should be expected that later
    we will have EJB's deployed on different machines/clusters - so we will actually
    need specific urls for each EJB.
    Is there a good way to do this? Or will we have to custom-develop our own jndi
    configuration standard using application parameters to set which JNDI provider
    each EJB should be looked up with?
    Alternativaely, can we "import" the JNDI trees of the app server in the JNDI tree
    of the web servers?
    So, how should we go about this?
    Robert Patrick <[email protected]> wrote:
    Vasim wrote:
    Hi Robert,
    You are right. But The object "myVar" which I am trying to look upis not in
    the JNDI tree nor am I interesed in binding it . But my requirementis that
    I have one application specific variable which I am trying to lookup and I
    dont want to have a separare config file for this..and hence the question..So, put the properties you want in the jndi.properties file and load
    the properties
    file from your code by doing something like this:
    Properties props = new Properties();
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    if (cl == null)
    cl = System.getSystemClassLoader();
    InputStream is = cl.getResourceAsStream("jndi.properties");
    props.load(is);
    Personally, I would not use this file and would create an application-specific
    file
    or, as Daniel suggested, define your properties as a System property
    and use
    System.getProperty("myVar").
    btw, is jndi.properties only for those objects which are bound to jnditree?
    jndi.properties is only used for creating the JNDI InitialContext. The
    whole idea
    of this file is that in remote client code (without the jndi.properties
    file), you
    need to do something like this to tell the JNDI classes how to connect
    to the JNDI
    provider:
    Properties props = new Properties();
    props.put(Context.PROVIDER_URL, "t3://myservername:7001");
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    InitialContext ctx = new InitialContext(props);
    but inside the server, you only need to do this because the server is
    the provider
    and already knows how to connect to itself:
    InitialContext ctx = new InitialContext();
    Therefore, the jndi.properties file allows you to externalize this property-setting
    code that sets up the properties to be passed to the InitialContext constructor
    so
    that the remote client code can now look exactly like the code inside
    the server.
    The InitialContext constructor will look for this jndi.properties file
    in your
    classpath and load it to get the necessary configuration information
    to determine
    how to connect to the JNDI provider.
    Hope this helps,
    Robert

  • Application specific key-value pair in jndi.properties

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

  • List opened file of a specific directory

    Hi, i would like to list all opened file of a specific duirectory. Maybe I could try to open all files in exclusive mode and catch the exception if the file already open. But i don't know how to open a file in exclusive mode. If you know a better way to do that you are welcome.
    Don't forget that no matter what program already open the file... it could be word, notepad... I'm working on windows, sorry :) !!!
    Thanks
    Zoop

    I also need to make the items in the list click'able so that I can press the display_name and then get the item displayed.
    I have now tried to make a procedure in the portal schema:
    as
        v_tal   number := 0;
        CURSOR tidCursor1 IS
            select DISPLAY_NAME, DESCRIPTION, TO_DATE(PUBLISH_DATE,'DD-MM-YYYY') DATO from portal.wwsbr_all_items WHERE CAID=53 and CATEGORY_ID=8992 order by ID desc;
        begin
            htp.p('<table border=0 width=100%>');
            FOR tidRec IN tidCursor1
            LOOP
                htp.p('<tr><td><b><font face="Arial" size="2" color="#014353">' || tidRec.DISPLAY_NAME || '</font></b><br><font face="Arial" size="1" color="#859CA6"> Skrásett tann ' || TO_CHAR(tidRec.DATO,'D. Mon ´YY') || '</font></td></tr><tr><td><font face="Arial" size="1" color="#014353">' || tidRec.DESCRIPTION || '</font></td></tr><tr><td> </td></tr>');
                v_tal := v_tal + 1;
                EXIT WHEN v_tal >= tal;
            END LOOP;
            htp.p('</table>');
    exception
    when others then
        null;
    end;But now I'm in doubt of how to insert a link to the item itself.
    I'm running portal 10.1.4, so it has path-names that go like this:
    htto://host.domain:port/portal/page/portal/myPageGroupName/PageName/SubPageName etc.
    How can I get an url to these items, that I can be sure will work. What table can I use for that?
    Thanks,
    Botzy
    Message was edited by:
    Botzy

  • How to install Open-SSL tool kit for Key conversion

    Hi Expert,
    Can you please suggest how do i install Open-SSL tool kit for Key conversion .
    I need this for creating public and private keys for a key based SFTP connection.

    SAP PI donnot support SFTP protocol. If you have a third party SFTP adapter and wanted to generate a keypair, you can use tools like PuttyGen.
    But you need to download the tool on to the PI server to generate a key pair.
    Instead, you can use the unix command to generate key pair (Recommended) -
    ssh-keygen -t rsa
    http://linuxmafia.com/pub/os2/stahl-ssh/snafu-mirror/ssh-keygen.html

  • Open Reader at a specific bookmark

    I am trying to figure out a way to open the adobe reader at a specific bookmark. I found that it is possible to open to a specific page:
    /A page=10
    and to a named destination:
    /A nameddest=Some destination
    Is there a command line argument to open reader at a specific bookmark?
    Thanks.

    I don't understand why you say it makes no sense. Why would you not want to
    mark where you stopped reading in a PDF file so you can close it and, later,
    open it again to where you left off so you don't have to spend time figuring
    out where you were? This is kind of basic for reading books.
    I suppose if you only read short PDF's or just glance through them then it
    would make no sense. But when you're doing research and going back and forth
    between several PDF files, it makes a lot of sense.
    Page numbers have to be jotted down somewhere or remembered. It would be
    much handier to put the cursor on the spot you stopped reading and click on
    a button such as "Bookmark" or "Stopped Reading Here."
    I found no mention of "named destinations" in the Reader 8 help file, or am
    I being too literal? Is it called something else? Are these named
    destinations configurable by the end user or only the person who creates the
    file? If the end user, are they saved when the file is closed? In other
    words, can I, as the end user, mark my own persistent named destinations?

Maybe you are looking for