When I switch from Administrator/Power User to a restricted quest account resman fails to run. The error message returned is that NI-VXI fails to initialize and is unable to allocate system resouces. What do you need to change to get NI-VXI/VISA to work under a restricted user account.
This is because Resman creates a key in the registry when it begins (HKLM\SOFTWARE\National Instruments\NI-VXI for WIN32\ResourceManagerStarted SUCCESS), assigns the value of this key to be the time and date that Resman is running ("at 4:04 PM on Tuesday, October 28"), and then deletes the key and its value when it is finished. Members of the "Users" group have read permission, but they do not have create/delete/write permission. Resman communicates no error condition when it cannot create this key.
To be able to run Resman as a normal "user", you can do the following:
1. Log on to your computer as the Admin. Go to Start >> Run and type in"regedt" (regedit32 for WIN2000/NT) to start the Registry Editor.
2.Open the Key: HKEY_LOCAL_MACHINE >>SOFTWARE>>National Instruments>>NI-VXI for Win32
3. Right click on thius folder and select "Permissions"
4. Select the "everyone" and the user account line nears the middle of the list.
5. Change the access to Full Control. Press OK and exit. Reboot your computer if needed, now you should be able to run Resman as a restricted user.
I found a KnowledgeBase which covers the same issue, there is a different fix besides the one I have suggested, you can try ut out and see if it works. If it still don't work, there mught be something else than the admin/user privileges that caused the problem.
We tried to reproduce this issue but did not get the error when using a restricted user account. To help us better understand the issue, please send us the following info:
1. Confirm that you are running a NT4 system? 2. A screen shot of the exact error message from MAX 3. Export the following keys from your registry: a) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\niVVGLk b) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXI 4. The VXI device's hardware configuration (exported to a file from MAX) 5. The state of the "nivvglk" driver, after you log in as the restricted user: a) In NT4, this can be retrieved from the "Devices" list in the Control Panel. Just look for nivvglk, and let us know if it's Started or not. b) In 2k/XP, this can be retrieved from the Device Manager in system settings. In the View menu, select "Show Hidden Devices", and select the group "Non-Plug and Play Drivers". Go to properties on nivvglk. The Driver tab will list the current status.
As for now, I recommend upgrade your VXI driver to the current NI-VXI 3.3.1 and check for any effects.
First, I have trouble just to have the VXI driver loaded into the system when logged in as a restricted user. In MAX, I will see a black cross mark(not red) and "run resman" is grayed out as a result of no driver loaded.
Second, I tested the same hardware setup with NI-VXI 3.3.1 and resman could be run fine under the restricted user account, I am remember correctly, you haven't tried upgrade your driver yet. this could be the easiest solution to this issue.
Also, it looked like you have Windows2000 or XP instead of NT, or am I mistaking?
Finally, please let me know step by step on how you set up your hardware, software and restricted user account. Apparently we have seen different behaviors when logged in as a restricted user and at least you could load NI-VXI 3.2 correctly.