Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programmatically writing in System32 folder of Windows 7

Status
Not open for further replies.

FaneDuru

Technical User
Jul 15, 2002
141
RO
I made an Excel addin which has been distributed to a lot of people in the company. It handles data and all creations and modifications are logged in a text file named with dll extension saved in System32 folder. The log data are returned copying the dll content in a text file in temp folder and opened in Excel. So, any modification of the Excel file does not affect the log file.
Now the company switches to Windows 7 OS and I can not programmatically write in System32 any more. I receive the message "Path/file access error". I could find another approach but there are a lot of addins to be modified and administrator accepted to give to the specific users the necessary permissions. I tried to solve the problem on my computer but even I have administrative full rights I can only create a folder not a file. I have the Ownership of Windows folder but still I can not create there a file.
Any help on the issue would be much appreciated.
But I would like a solution for writing in System32 not for path changing...
Thanks in advance!
 
> But I would like a solution for writing in System32 not for path changing..

I don't think you will get one. Why are you writing user/application data into a system folder?

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top