Unexpected permission "feature" in Windows 7

I stumbled upon an unexpected permissions "feature" of Windows 7.  I was testing some ActiveX code used to write an Excel spreadsheet, and got a crash when I tried to close my file.  The same code worked just fine on my Windows XP machine, and it didn't matter if I used LabVIEW 8.6 or LabVIEW 2009.
Both machines were set up in the "standard" manner, and I was running as the sole user in an account with Administrator privileges.  My test file was C:\Test.xls.  When I invoked the ActiveX Close, I got an unknown error (-2146877284, which LabVIEW said was "unknown", but occurred in Excel).
When I examined the permissions for C:, I discovered that (for both XP and 7) the group "Users" has Read, but not Write, permissions, while "Administrators" have both Read and Write.  XP seems to allow the write, so works without errors.  Windows 7 may "want" to pop up the UAC window (which it definitely does not do), but I'm guessing that it is both ignoring my Administrator credentials and generating an "unknown" error call.
To test this theory, I wrote another routine to try to write a text file using standard LabVIEW VIs.  When I do a File Open with the Create option for a file on the root of the C: drive, I get Error 8 (File Permission error), which at least makes sense (after the fact).
I've brought this to the attention of the NI Support Team (who helped me figure this out).  If this is, indeed, the UAC getting into the fray, it would be "nice" if LabVIEW could notify us ...

In retrospect, I agree this is "expected behavior in Windows 7".  It
was completely unexpected by me, in part because it arose in a curious
context.  I originally developed my code on Windows XP, and made use of
the ability to right-click an ActiveX property node and get "Help for
Close" (for example).  In addition, the code I developed worked fine in
the early version where I did not try to write the results to a
file.  When I moved it to Windows 7, the right-click help was missing,
and seemed to be OS-specific.  As it happened, I was trying to add the
"Close" ability to save the file, and to simplify the path, I used
C:\Test.xls (much easier to type than C:\Users\Robert Schor\My
Documents\Test.xls), and had to go back to my XP machine to find out
descriptions for the arguments of the Close command.  So when the
program failed with an error message that was "off the wall" (referring
to an error code of -214682784, as well as a file name of C:\2CE93000),
I made the (logical?) assumption that this was "another Windows
7/LabVIEW incompatibility" bug/feature.  This was, of course, bolstered
by the observations that things worked under Windows XP and both
"failures" occurred in Windows 7.
It would be "nice" to
fix the problem with Help to work with Windows 7.  It would also be
"nice" to arrange to trap UAC-produced "errors" and have LabVIEW return
an error code such as 8 (even nicer would be to add an error code that
says "Windows UAC prevented access to this file").

Similar Messages

  • When I click a stickies window, I get a notification window stating stickies quit unexpectedly-reopen option makes windows vanish

    When I click a stickies window, I get a notification window stating stickies quit unexpectedly-reopen option makes windows vanish

    Hi their firefox has updated to 4.0 [http://www.mozilla.com/en-US/firefox/features/ 4.0 Features] Please can you try the following for me
    [[Firefox crashes]]

  • Now playing feature in windows messenger no longer works with latest iTunes

    I recently updated iTunes to version 7.1.1.5 but now the "Now Playing" feature in windows live messenger no longer works. I had no problem before the update. Any suggestions, as i find this rather annoying
      Windows XP  

    Download & install this security update:
    http://support.apple.com/kb/DL1489
    Software update should show it as available.

  • [New Thinkpad Yoga 12 2015] enable Hyper-V feature on Windows 8.1 pro

    Hello,
    i am a french customer, and i am very interested in the New Thinkpad Yoga 12 2015, especially the version available with  Windows 8.1 Pro. and processor Intel Core i7-5500U.
    As an IT expert in Database technonlogies, i used to create virtual machines with the 'Hyper-V client' feature available in Windows 8.1 Pro. 
    - I saw that the Intel Core i7-5500U processor is compatible with the Intel VT-x and EPT virtualization technologies.
    - i saw that the Bios menu offers to enable/disable 2 virtualization parameters (link : http://download.lenovo.com/pccbbs/mobiles_pdf/yoga_12_ug_en.pdf)
    Do you know if the New Thinkpad Yoga 12 allows to enable the 'Hyper-V client' feature under Windows 8.1 Pro ?
    It is very important for me to have this information, because a computer without the 'Hyper-V client'  is not usefull for me
    So before buying this computer, i have to be sure that it will be able to enable the 'Hyper-V client'.  
    Thanks a lot for tour reply

    Good day.
    Please recall that this is a peer-2-peer support community. It's quite possible with the newness of the 2015 ThinkPad Yoga 12 (gen2), that no members with appropriate information have seen your post yet.
    From the Community Guidelines:
    "While members from Lenovo may participate at intervals to engage in the discussions and offer advice and suggestions, this forum is not designed as a dedicated and staffed support channel."
    If you require official Lenovo support, you'll need to contact them directly. I've included the info below.
    Regards.
    France
    Produits gamme Think
    Français
    Support service & Garantie matériel 0810-631-213
    9:00 - 18:00 Lundi - Vendredi
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • Reset mypc feature in Windows 8.1

    Hi Team,
    I am working on reset feature in windows 8.1.I am able to successfully enable the feature and create a partition and able to reset.I followed below steps in order to work.
    Shrink the “c” driver with 4 GB space(Since I have only one partition.)
    Created a new simple volume with no drive letter assigned to it.
    Format the drive.
    Assigned the drive letter and created a folder called “RecoveryImage” and copied install.wim file to it.
    Remove the drive letter.
    Enabled the Windows RE
    Set the image using following command
    • Set the Recovery image location by below command:
    reagentc /setosimage /path
    \\?\GLOBALROOT\device\harddisk0\partition3\RecoveryImage\ /index 1
    But after resetting pc Recovery partition revealed (I am able to see recovery partition in my computer with drive assigned to it).
    Can you please help me to create hidden recovery partition and resolving issue with Recovery partition revealed.
    Please don't suggest any tool.
    Thanks in advance,
    Regards,
    Suresh.M.M.

    Hi Suresh,
    To hide a partition, we can easily to implement by removing the letter via Diskpart command:
    1.Type “diskpart” in run command box without quotes. (A command window will get opened)
    2.Then type “list volume“. (Your hard disk partitioned volumes will be listed)
    3.Now type “select volume <volume number>” – (Volume number is the numeric variable which is shown in the volume listing)
    4.Type “remove letter <volume letter> – (Volume letter is the alphabetic character of the drive such as C,D,E,F…Z)
    Hope this could be helpful.
    Kate Li
    TechNet Community Support

  • I have a problem to open my Number Program. this message appear when i try to open"The last time you opened Numbers, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again" I would be thankful if you could help me?

    I have a problem to open my Number Program. this message appear when i try to open"The last time you opened Numbers, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again" then I tried to open it but nothing happened.... I would be thankful if you could help me..
    Process:         Numbers [1021]
    Path:            /Applications/Numbers.app/Contents/MacOS/Numbers
    Identifier:      com.apple.iWork.Numbers
    Version:         3.0 (1470)
    Date/Time:       2014-06-27 16:13:23.405 +0100
    OS Version:      Mac OS X 10.9.3 (13D65)
    Report Version:  11
    Anonymous UUID:  243D9264-54B7-E9AE-2F83-D11098965D14

    I have a problem to open my Number Program. this message appear when i try to open"The last time you opened Numbers, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again" then I tried to open it but nothing happened.... I would be thankful if you could help me..
    Process:         Numbers [1021]
    Path:            /Applications/Numbers.app/Contents/MacOS/Numbers
    Identifier:      com.apple.iWork.Numbers
    Version:         3.0 (1470)
    Date/Time:       2014-06-27 16:13:23.405 +0100
    OS Version:      Mac OS X 10.9.3 (13D65)
    Report Version:  11
    Anonymous UUID:  243D9264-54B7-E9AE-2F83-D11098965D14

  • Windows 8 Add Features to Windows 8 Pro

    Hi,
    I have Windows 8 64-bit that was preinstalled on my laptop, now I want to upgrade to Windows 8 Pro 64-bit, I already have the license from my dreamspark account. My questions are, upgrading from Windows 8 to Windows 8 Pro, from the "add features",
    is there any danger of data loss (personal files) on the same partition as the Windows and from different partitions? What about the installed programs, such as Visual Studio, VirtualBox, Office, etc.?
    I beleive the answer to my question is, no, there isn't any kind of data loss. But I still would like confirmation from an advanced user who has already followed these steps.
    Another question is, what if my Windows 8 installed language is Portuguese, and I want to upgrade to Windows 8 Pro English?
    Thanks everyone for their answers in advance!

    Hi,
    Yes, the installed programs would be still available to use.
    Here is some reference: Add features to Windows 8.1 (Available in WIndows 8)
    You cannot upgrade or keep your Windows settings, personal files, or applications if you are performing a cross-language installation. You can only keep your personal files during a cross-language installation by using Windows 8 Setup.
    For more information for the upgrade paths, please see:
    Windows 8 and Windows 8.1 Upgrade Paths
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • The last time you opened Sample_App, it unexpectedly quit while reopening windows. Do you want to reopen its windows again?

    Hi,
    When I run my Mac application, I get a error message saying "The last time you opened Sample_App, it unexpectedly quit while reopening windows. Do you want to reopen its windows again?".
    This message is not localized, i.e. this error message always display in English even when my system language is set to non-English language.
    I want to know if its a System throws error message? How can I localize this message?
    Your help/support will be highly appreciated. Thanks in advance.
    - Mayur

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • How could I re-open my mail box with error message :The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?

    How could I re-open my mail box, as an error message blocked "The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?" Even I entered re-open, the airbook does not response but prompt the same error message again.

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • The last time you opened Finder, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?

    The following phrase/option box keeps popping up on my finder: The last time you opened Finder, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? regardless of whether I click to reopen or not the box disappears and then comes back again regardless of which answer I pick. How do I get rid of this annoyance?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Updated today and cannot open my mails it says: The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?

    updated today and cannot open my mails it says: The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.mail.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?

    After i upgraged to Mavericks I am having a problem to open mail and get this message
    The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?
    Please help
    Thanks

    This works but you have to get all the Envelope Index files that might be in there.
    Make sure that you also delete Envelope Index-shm and Envelope Index-wal
    and there could be some files named this with gibberish as suffixes too.

  • The last time you opened OpenOffice, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? i have a problem with open office, if I press reopen, nothing happened  ans i see always this information on my mac? what ca

    The last time you opened OpenOffice, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? i have a problem with open office, if I press reopen, nothing happened  ans i see always this information on my mac? what can I do?

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • TS4169 Final cut will not let open because "it unexpectantly quit while reopening windows. What do I do?"

    Final cut will not let open because "it unexpectantly quit while reopening windows. What do I do?"

    What version FCPX are you using?
    Has it ever opened for you?
    Russ

  • How to handle power managment features of Windows Vista

    Hi guys
    I searched a little bit in the Toshiba Technical Knowledge Base and found very interesting article about the power management features of Windows Vista.
    *[How to handle power management features of Windows Vista|http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm]*
    The point is that you will not find a same Toshiba Power Saver tool on Vista like on the Windows XP notebooks and the power saver settings are a little bit hidden in the Vista Power Saver settings.
    But you can also control the certain options like Cooling Method or Power Saving Mode.
    I think this document could be interesting for some here in the forum!
    Greetings to all!

    Hi Jayjay
    Thanks for posting this here in the forum.
    Several days ago I searched for such further power option in Vista.
    This document was really, really helpful for me.
    Thanks again

Maybe you are looking for

  • Print Excel to Spool

    Hi Everybody, I am printing Excel Sheet using the code below. CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'. SET PROPERTY OF H_EXCEL  'Visible' = 0. CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'   EXPORTING     TEXT   = TEXT-008   EXCEPTIONS     OTHERS = 1.

  • How to create side Navigation in a OAF Page**Urgent

    Hi All, please let me know the steps to create Side Navigation in an OAF page. thanks, Sowmya.

  • Aling htmlText in TexArea in Flex 4 on right side

    Hi, I want to align my html text in a textarea where there are like two  different string which are left and right aligned. How do it do that? E.g. I want to write a name and the time stamp in the manner: MyName                                       

  • Doubt in using Submit  ....

    Hi gurus............ For minimizing the time, i have suggested to use SUBMIT  for FBL5N transaction, this fbl5n has been made in z,  previously i used BKPF and BSEG table, my problem is that i am new to this submit concept and i found that all the fi

  • Database starting failure

    Hi........I've a serious problem with the my database -->one day I was starting database (oracle I on win98) then the power goes down then when I tried to start it there after I received (ORA-322 cannot open database) error message then I read many f