LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

vista hard coded files/folders

Having an issue with CVI app running on vista.  I hard code some files to be saved in hard coded folders.  IN vista the files are not being put in those folders, but being placed in User/Owner/documents...ect  Some files I can't even find!  I now they are there because the application most open them to get data, but I can't find them!
 
I know Vista ahs some "new" file storage BS, but does anyone understand it.  Can I turn it off?
0 Kudos
Message 1 of 4
(3,489 Views)
I found that the missing files are being stored in  the virtualstore folder.  this is a virtual folder that stores files for users that do not have permission.  I am trying to change permissiion now on the vista machine to allow USERS full acces to the C drive.
0 Kudos
Message 2 of 4
(3,487 Views)

As Vista default, Windows, ProgramFiles, system volume root (C:\) and some other system-protected directories are all protected for write access from non-admin users.  They are redirected to "virtual store" if accessed by non-admin account.  (As I know, DLL and EXE files are not redirected to virtual store and simply refused when attempt to write.)

To disable "virtual store" for a specific directory, you can change its access security.  It can be changed from Windows Explorer by opening "Properties" tab, then you should add "Authenticated Users" user group having Full-Access privilege.

A good example is the latest IVI Shared Components 1.4 or NI IVI Compliance Package 2.x.  Once you have installed it on Vista, C:/ProgramFiles/IVI and all its sub-directories are changed to have Full-Access privilege for "Authenticated Users", thereby any non-admin local users can read/write any files under the ProgramFiles/IVI directory without virtual store. 

0 Kudos
Message 3 of 4
(3,464 Views)
Thanks!
0 Kudos
Message 4 of 4
(3,457 Views)