C # Registry Access Program Win7 system error "Do not allow requested registry access"

Source: Internet
Author: User

Today, a colleague installed the system after the client program, to send an error, as follows:

This is in the software login, there is a save the system user name settings to save to the registration table, has been using no problem, today is an error. Only to know that he used the Win7 system, it appears that Win7 to the registry changes have made certain restrictions.

The test can be resolved by modifying the program's compatibility and setting permissions. Because this program is a ClickOnce program, so to find this program is not easy, use the Windows Search function bar, the program will be installed in XXX such a directory, find the main program to start, right click "Properties", click "Compatibility" tab, tick " Run this program as an administrator. " OK solution


C # Registry Access Program Win7 system error "Do not allow requested registry access"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.