How can I avoid the need for Administra​tor rights for open registry key.vi

Dear wire workers.
I would like to do an EXCEL export.
Therefore I like to check if EXCEL is installed or not.
I use 'open registry key.vi' and read out the Excel\InstallRoot.
If there is an installed EXCEL than I export the data using ActiveX.
Everything works like a charm with LV 8.5.
The problem I have is that 'open registry key.vi' useses RegOpenKeyExA from the Advapi32.dll.
RegOpenKeyEx does, in fact, create a non-existing key and returns 0 (ERROR_SUCCESS?).
LONG lRegResult = RegOpenKeyEx(HKEY_CLASSES_ROOT, m_RegSubKey, 0, KEY_QUERY_VALUE + KEY_WRITE, &hkRegistry);
Successfully opens or creates m_RegSubKey under HKEY_CLASSES_ROOT.
Is there a way aroun this call?
In fact you need administrator rights to do this call because of the try to write a non exsisting key.
In my case this avoids the EXCEL export and any kind of registry access from LabVIEW without administrator rights.
:-) Who the hell has done this ;-)
All ideas are welcome
With kind regards
Martin Kunze
KDI Digital Instrumentation.com
e-mail: [email protected]
Tel: +49 (0)441 9490852

Hi Martin
Did you try to wire a "KEY_READ" constant to the security access mask input of the open registry key VI? I had a similar problem, if you just need to read a key or check if it's present use read access only, that should work.
Hope this helps,
Daniel

Similar Messages

  • How can I avoid the need to OFTEN refresh or recover HP 2000 notebook?

    How can I avoid the need to OFTEN refresh or recover HP 2000 notebook? Windows 8.0.

    I found your support page by searching E0M18UA#ABA (as opposed to EOM18UA#ABA) which I assume was a simple typo. To answer your original question, the answer is to identify and isolate the cause of the errors and issues you are experiencing. Once you identify each issue, you can find what it takes to get beyond them without having to refresh or recover so frequently.
    You can only troubleshoot and identify the issues that are currently happening. If you are getting freezing right now, first take a look at this document specific to the freezing to narrow down the cause: Computer Locks Up or Freezes (Windows 8)
    A link to this document is contained in the previous one, but it is worth pointing out that this might be valuable to test for hardware failures: Testing for Hardware Failures (Windows 8)
    Another valuable tool when trying to identify the source of the problems, is to perform a clean boot after having one of the issues and trying to recreate it. This shows how to  remove  startup items. A good strategy is to disable half of the available items first, then restart and try to recreate the issue. If you cannot recreate it then perhaps there is a problematic startup item. If you can recreate it then disable half more, and repeat a few times until you empty the startup items.: How to perform a clean boot in Windows
    I hope this helps, and by no means is this a recipe to fix your current issues, but a few strategies to help you better identify the issues.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • I have made a book of my I Photo pictures. In certain layouts there is a textframe. How can I avoid the frame becoming visible in the print if I don't want to write anything? Should I just leave it or should I delete the text "Write your text here" ?

    I have made a book of my iPhoto pictures. In certain layouts there is a text frame. How can I avoid the frame becoming visible in the print if I don't want to write anything?  Should I just leave it untouched or should I delete the instructing text "Write your text here"?

    Most pages have layouts for pictures only or pictures with text boxes. Either select the same layout for that page but the one without the text box or put a space in the text box.
    Putting a space in the text box will avoid getting the warning when ordering that there's an unfilled text box in the book. The box will not be visible in the final product.  You can and should check the book before ordering by previewing it as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it
    Happy Holidays

  • Subscription Acrobat Pro DC, Adobe Export PDF, Adobe PDF Pack. How can I activate the need of licens?

    Subscription Acrobat Pro DC, Adobe Export PDF, Adobe PDF Pack.
    How can I activate the need of licens?
    The reason can be Adobe policy, I have change computer, added products, stop using any product and so on.

    Hans,
    When you no longer need the Adobe software on a computer or you wish to move it to another one, you should deactivate the software.
    See this link: how to deactivate software. Installation rules will let you install the software on two computers of the same platform (both windows or both mac) but you are limited to running it on only one at a time. If you have only installed it once, you should be able to install it on the other computer. If you have already installed the software twice and you don't have access to your previous computer or you upgraded your computer's hardware, replace a hard drive, upgraded your operating system, or reformatted your drive before deactivating your software, you can ask Adobe Support to help you deactivate the software from the machine. Just have your serial number or Adobe ID ready, and then contact support. Then you can install the software from the links below and enter your serial number to re-activate the software.
    If you need to find your serial number, sign in to your Adobe account. On the Manage Accounts page that appears, all of your registered products and their serial numbers are listed in the Plans & Products section. For more information on locating serial numbers, or on registering a serial number, please see Find a serial number.
    Pattie
    Download software here:
    Downloads
    Acrobat:  XI, X | 9,8 | 9 standard
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard
    Downloads for older versions
    Creative Suite  CS5.5  |  CS5  |  CS4  |  CS3
    Acrobat  X |  9, 8
    Photoshop Elements 11, 10  |  9, 8 , 7

  • Every time I sync my iCal computer with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications?

    Every time I sync my iCal on my computer through iTunes with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications? I have been doing this for several years and this problem is a more recent issue, like in the last 6 months. I have been deleting the duplicate entries, on both systems, but some duplicates reappear through "general" entries that are connected to the correct color for a Calendar, but not the name. I am going nuts and wasting tons of hours trying to get the 3 calendars to sync without generating duplicate entries.

    Choose one of the Calenders on ONE of the computers OR the MobileMe as the Master / correct account.
    The REINITAILISE the data of MobileMe within preferences on the computer defining the datatransfer correctly (in the advanced box of preferences). The synchronise iphone contacts and calender directly on-line to MobileMe.
    I posted a question on this today, and gave my own reply !
    Regards,
    Kevin

  • How can I avoid the display of ORA-31684 during impdp import?

    Hello,
    I'm working on a cross-platform tablespace migration (from SunOS to RedHat Enterprise Linux).
    During the import with DataPump, I have several ORA-31684 error messages ("Object type TYPE : "OWNER"."OBJ_NAME" already exists"). Some of my TYPE objects exist already in the Linux instance of the DB. The messages appear only for 4-5 TYPE objects, while overall I have around 180 TYPE objects owned by the schema owner.
    How can I avoid the display of these error messages? I don't want to drop the TYPE objects individually from the Linux instance, as the object list may vary in time.
    Thank you,
    Adrian

    Hi,
    There is no way to tell the impdp to ignore those errors. They will be printed to the error log and to the screen where the job is being run.
    Dean

  • I have recently purchased a macbook pro and i gave my macbook to my wife, how can she recover the apps i bought and paid for so she can use the Pages, Numbers and Keynote

    i have recently purchased a macbook pro and i gave my macbook to my wife, how can she recover the apps i bought and paid for so she can use the Pages, Numbers and Keynote

    If you bought/paid for them in the Mac App Store, you would just need to sign in to the MAS with the Apple ID you used to purchase them, go to purchases, and click install.
    As for the limited licensing that Bordy brought up, the TOS for the MAS states:
    "Apps from the Mac App Store may be used on any Macs that you own or control for your personal use."
    If you installed them from an iWork disc, just pop the disc back in and reinstall.
    Regards,
    Gnomish8

  • How can I avoid the null values in cross tab?

    How can I avoid the null values in cross tab?

    Hello Anindita,
    Let me explain you the problem in detail.
    I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
    In DB I can have both User and Program null.
    Letu2019s take these scenarios...
    1) For a User, Program can be null
    2) For a Program, User can be null
    3) And both can be null.
    A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
    Problem comes in scenario 2 (For a Program, User can be null).
    In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
    "Suppress empty rows" and "suppress empty colums" does not help.
    Thanks & Regards,
    Amrita

  • How can I avoid the Local storage pop-up question dialog box during playing you tube vedios ?

    How can I avoid the Local storage pop-up question dialog box during playing you tube vedios ?

    You might try tweaking your global privacy settings.  I suspect it's set to "always ask."
      Go to this page -- http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l -- which contains the settings panel for Flash Player, and click on the various "deny" buttons to disable this.  (It's a good idea to click on all the tabs to check the settings.)
    If this works for you, please post back.  (I know it worked for me.)
    Ortho_Fan
    (not a techie)

  • HT204053 If I have an apple ID for myself and my wife has just got a iPhone for the first time how can she get the same apps as I have for my iPhone and iPad

    If I have an apple ID for myself and my wife has just got a iPhone for the first time how can she get the same apps as I have for my iPhone and iPad by getting it off my iCloud?

    She can't from iCloud without setting up your iCloud account on her phone. But just sync the same apps from your iTunes Library on your computer to her phone.
    Your wife should setup her own iCloud account - which is separate to the iTunes Store accounts.

  • How can I get the direction handles to show up for the Position attribute?

    How can I get the direction handles to show up for the Position attribute?
    I have CS3 and I did the formentioned test and was able to make the handles work for the scale attribute but they don't seem to show when editing the position values.
    *I am in the graph editor looking at the "value graph"
    *I select the keys and convert the keys to auto bezier (I also tried the ease in and out buttons)
    *It changed the graph the way you might think (no longer linear) however the handles are not showing to edit further.
    *I also tried using the "convert vertex tool" (part of the pen tool) and still no luck getting those handles.
    *the handles only show up in the speed graph but that does me no good.
    Please help!
    THANKS 

    I don't have CS3 installed on any of my machines any more but your value graphs for position should look something like this:
    There are no handles for position in the Graph editor. You adjust the position curve by editing the motion path in the composition window. Press the G key to bring up the pen tool, then use the modifier keys Crtl/Cmnd and Alt/Option to temporarily switch between select and convert vertex to adjust the paths. Changes will be reflected in the value graphs. You will get editable handles with scale and rotation because these are not spatial properties. Spatial properties, position, Anchor Point, all XY & Z coordinates are edited in the comp window or in the layer window after revealing the properties. IOW, you edit anchor point position paths by opening up the layer window and choosing Anchor Point from the display options.
    The Manual isn't wrong. Here's a link to the live docs.

  • How can I view the contents of a free trial for adobe fireworks cs6 on mac

    how can I view the contents of a free trial for adobe fireworks cs6 on mac.
    My friend told me to find the application in finder then hit control and click it and then it should give you the option to click
    "view package contents"
    This was not the case
    please help thank you

    When posting in Apple Communties/Forums/Message Boards.......It would help us to know which iMac model you have, which OS & version you're using, how much RAM, etc. You can have this info displayed on the bottom of every post by completing your system profile and filling in the information asked for.
    CLICKY CLICK---> https://discussions.apple.com/docs/DOC-3602
    CLICKY CLICK-----> Help us to help you on these forums

  • How can I eliminate the four digit password I set for my iOS7?

    How can I eliminate the four digit password I set for my iOS7 wqhen activating the software?

    Your message was helpful, but I stumbled onto a missing step.  Settings>General>Passcode Lock>type in passcode #>OFF.
    I couldn't get to the off until I typed in my passcode again.....it Worked!  Thank you

  • How can i change the default application to vlc player for playing any videos on my macbook?

    How can i change the default application to vlc player for playing any videos on my macbook?

    1. Control click the file you want to open.
    2. Click Get Info.
    3. Under open with, pick the App you want to be default.
    4. Click Change All Button.
    5. Confirm your decision.
    You have to do this with every file that has a different extension. You can't change the default for every file with a different extension in a single operation.

  • How can I set the polarity / range of NI 6014 for 0.0V - 10V?

    How can I set the polarity / range of NI 6014 for 0.0V - 10V?

    Nilton,
    The NI 6014 only has bipolar (10V to -10V) mode available, not unipolar (10V to 0V). Look into our E Series boards for both unipolar and bipolar operation.
    Ames
    Applications Engineering
    National Instruments

Maybe you are looking for

  • HT1918 my credit card has been declined and i dont know why

    all of a sudden apple keeps saying "your payment method has been declined" ive had my apple account almost 2years and never had a problem so why now?

  • How to restore Vista on old Satellite P300?

    Sorry this is a long one. I bought a new P70 to replace my older P300 which came with Vista and now want to restore it to a clean install for the children to use. The problem is that I had partitioned the drive and had been testing the betta and RC1

  • Help needed with xml list

    hi, i need to make a list in which all the list items will come from xml file. these items will also be clickable so that they open a new respective hyperlink on click. i need something like www.sponky.com ' s portfolio list. can somebody please help

  • Linking to a Word doc

    I am trying to create a link to open a Word document from my FlashHelp file. I am using Insert Hyperlink, selecting 'File' in 'Link To' and then I select the doc to link to and 'Display in frame:' 'New Window'. If I then select 'View Selected Item' f

  • Anyone know how to use a zoom in video mode for 4S?

    anyone know how to use a zoom feature in video mode for iphone 4S?