Need workaround to write to C Drive Root with UAC on

Hi All,

My customer has numerous .NET applications deployed across numberous client machines in their enterprise. The .NET applications are all written internally by their development team and they all have a common design flaw: all applications write and read files from the C:\ root. Now their applications have been working for many years, and as you can imagine when Vista came out and UAC was introduced, they immediately ran into security issues. The same issue happens with Windows 7 clients, and their apps run fine if they turn off UAC.

My question is:
My customer wants to know the lowest effort workaround for solving this problem in their enterprise without having to disable UAC and increase security risks. They know that they can change their applications to read and write files to other directories which aren't blocked by UAC, but this would mean re-writing and re-deploying MANY applications. Changing the source code of all their legacy applicatoins is the an extremely large job and would like to consider that as a last resort. Is there a way to allow writing to the C:\ root with UAC on?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Robert PraschCommented:
I do not know of a way to have this access work, besides enabling run as administrator in the compatibility tab of the application properties. Instead of rewriting the code to access a different directory have you thought about giving the application inherent access privileges to automatically give the application administrative permissions?

Below is a link to the code that may be used, depending on what programming language is used, I believe their should be a way to embed code into the application to elevate permissions.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DangerizAuthor Commented:
After exploring many possibilities, it seems that I cannot "configure" UAC as we want to. Going the manifest file route may be the only way. I'll be trying that soon. I'll keep you posted.
DangerizAuthor Commented:
The only way that an application can write to the C:\ root when UAC is on, is to make your application UAC "aware" so it can request for elevated permissions. This is done by modifiying it's manifest file.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
OS Security

From novice to tech pro — start learning today.