Avatar of TheIronDuke
TheIronDuke
 asked on

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

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?
Windows 10C++Windows OS

Avatar of undefined
Last Comment
Abhilash Pappiyil

8/22/2022 - Mon
John

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.
McKnife

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.
ASKER CERTIFIED SOLUTION
Abhilash Pappiyil

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes