Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Archived: Why Can't I Open Legacy Applications on a Non-Administrator Account?

This document has been archived and is no longer updated by National Instruments

Note: This page is about NI-DAQ also known as Traditional NI-DAQ (Legacy). NI-DAQmx replaced Traditional NI-DAQ (Legacy) in 2003. NI strongly recommends using NI-DAQmx for new designs and migrating existing Traditional NI-DAQ (Legacy) applications to NI-DAQmx. Please review the Getting Started with NI-DAQmx guide for more information on migration.


Primary Software:
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
On my Administrator account, I can successfully use applications such as Visual Basic 6.0 and Traditional DAQ in LabVIEW. However, when I log into a Non-Administrator account assigned to the "Users" Windows User Group, I can't use Legacy applications such as Visual Basic 6.0, or when I try to drop Traditional DAQ VI's onto my Block Diagram in LabVIEW I receive the error:
Error loading "C:\Program Files\National Instruments\LabView 7.1\vi.lib\daq\lvdaq.dll." A dynamic link library (dll) initialization routine failed.

Why am I experiencing these problems on my Non-Administrator account?

Solution:
In Windows XP/7, the "Users" User Group does not allow access to Legacy applications. Thus when logging into a Non-Administrator account that is a member of the "Users" User Group, you will not be able to use Legacy applications such as Visual Basic 6.0, or could see some errors while using Traditional DAQ.

If it is absolutely necessary to remove Administrator privileges from the account, make sure that the user is a member of the "Power Users" User Group in order to avoid this problem. To add a user account to the "Power Users" User Group, follow the steps below:
  1. Open the Control Panel.
  2. Double-click Administrative Tools.
  3. Double-click Computer Management.
  4. Expand the System Tools tree.
  5. Expand the Local Users and Groups tree inside the System Tools tree.
  6. Click the Groups folder inside the Local Users and Groups tree to select it.
  7. Right-click on Power Users and select Add to Group...



  8. In the Power Users Properties window, select Add and enter the user account you want to add to the Power Users group.


Related Links:
KnowledgeBase 4NFI8TXU: Why Do I Receive "Error 8: creating temporary lvsb resource file" When Opening LabVIEW?

KnowledgeBase 3V08FFIZ: Why Do I Get "Error Loading \LabVIEW x.x\vi.lib\daq\lvdaq.dll. A Dynamic Link Library (DLL) Initialization Routine Failed."

Attachments:





Report Date: 12/08/2008
Last Updated: 08/25/2011
Document ID: 4S79F0XU

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit