We help IT Professionals succeed at work.

My program will not run on Windows 10 unless Run as Administrator is ues

TheIronDuke asked
Last Modified: 2017-11-04
I have a program created using C++ that runs fine on all Windows 7 computers. But the application crashes on Windows 10 computers unless they select "Run as Administrator". This is a serious issue when distributing my software. Is there any way programmatically to allow the program to run in this hostile environment?
Watch Question

JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

You need to change the program so that it is not writing to the Registry and not writing to Program Files and only using the User's folders to write to. Those are the most common reasons.

It is your issue and not a Windows 10 issue. Windows 10 has just gotten more secure and there is no end to that one.
Distinguished Expert 2019

There shouldn't be a difference between OS' here. Please download and start procmon from microsoft and monitor our system while executing as standard user. Filter the output for "access denied" and you'll see why that happens.
Technical Lead - Network Support
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions