Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3611114
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:50:13+00:00 2026-05-18T21:50:13+00:00

I have a distributed windows application (written in C#) that currently uses MSDE. The

  • 0

I have a distributed windows application (written in C#) that currently uses MSDE. The decision was made to upgrade the client database to SQL Server 2008 Express since we need to be able to support Windows 7 (and still support XP) in the next year.

Currently, I am using a batch file to run the installer (and using a Configuration.ini as well), but recently encountered the following error during the install.

“Could not fix registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNetLib\Lpc.
System.UnauthorizedAccessException: Attempted to perform an
unauthorized operation. at
Microsoft.SqlServer.Configuration.FixSqlRegistryKey.Program.OpenKey(String
keyName) at
Microsoft.SqlServer.Configuration.FixSqlRegistryKey.Program.FixRegistryKey(String
keyName) at
Microsoft.SqlServer.Configuration.FixSqlRegistryKey.Program.FixRegistryKeyAndSubKeys(RegistryKey
key)”

I understand the issue and how to fix in manually.

I need the application to modify this registry key ahead of time and add permissions for the Administrator group or set the key to inherit permissions from the parent. I am also open to other solutions to this SQL 2008 Express installation problem.

I have been researching how to modify the permissions of registry keys but I have been running into issues trying to get it to work correctly (and to understand all the classes and objects associated with setting permissions).

Can someone provide the proper way to add the Administrator group (of any machine) with full control permissions, or how to set the permissions of the key so that it inherits from the parent?

Side question, will their always be an Administrator group on every Windows XP machine?

Thanks!

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T21:50:14+00:00Added an answer on May 18, 2026 at 9:50 pm

    So the solution was having a temp.txt file with the following in the file:

    \Registry\Machine\Software\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNetLib\Lpc [1 5 8]
    

    Then run this in the cmd prompt (put your txt file in C:\temp or something):

    C:\temp>regini temp.txt
    

    I was really hoping to have any easy way to just change the inheritance permission, but this solution will work for my purposes and I will just include a batch file to be run before install SQL Server Express 2008.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client server based windows forms application that needs an administrator only
I have an application that I have written for my application distributed throughout the
I have a .NET Windows application that needs to call another .NET executable. I
We have a .NET application that will be distributed through USB drive. End users
I'm creating a regular windows application that will be distributed to several users on
We have a small console application (under 200kb) that will be distributed to clients
I have a distributed C++ application, which is composed of 4 processes spread on
Lets say that I have only DHT (distributed hash table) implemented (in Python), and
I have a web application distributed over different logical and physical layers. The application
I have an old iOS app that I never distributed and am now trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.