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 7972989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:59:31+00:00 2026-06-04T07:59:31+00:00

I have Word Add-in, which keeps updating winword.exe.config.xml file present at C:\program files\microsoft office\.

  • 0

I have Word Add-in, which keeps updating “winword.exe.config.xml” file present at “C:\program files\microsoft office\.

I need to write changes to this file,update few parameters while running MS word.

when the User is “Administrator”, the changes are updated successfully in the file without any problem.

In case of Non – Admin accounts(they do not have the file permission), the changes are not reflected as the write permission is not there.

Is there any way i can write to these files successfully from C# code for Non-Admin accounts also, without asking user to change the permission of the file.

  • 1 1 Answer
  • 0 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-06-04T07:59:32+00:00Added an answer on June 4, 2026 at 7:59 am

    If you are in control of the add-in then you simply need to choose a different location for the config file. A location to which a standard user has write permissions.

    If you are not in control of the add-in, then you have two viable options:

    1. Always run Word as administrator.
    2. Add an ACL to the config file to grant write access to standard users.

    You ask:

    Is there any way I can write to these files successfully from C# code for non-admin accounts also, without asking user to change the permission of the file.

    No there is not. Just imagine if there was a way to do this. That would completely negate the utility of file system security.

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

Sidebar

Related Questions

I currently have a statement which reads if(Arrays.asList(results).contains(Word)); and I want to add at
Overview I have a Microsoft Word Add-In, written in VBA (Visual Basic for Applications),
I have created a Word add-in which would load data in custom ribbon from
I have a table within word which is protected, but I want to add
I have text files which contain one word per line, and I would like
I have a program written in Delphi-7 which opens a new Word document which
I have an word add in application created in c# which is accessing a
I have a Word.Field object which is a checkbox and the Type property equals
I have a word document that was saved as xml. now I need to
I have Microsoft Word template that I automated filling it's fields from my application,

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.