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?
TheIronDukeAsked:
Who is Participating?
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.

JohnBusiness Consultant (Owner)Commented:
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.
0
McKnifeCommented:
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.
0
Abhi PappiTechnical Lead - Network SupportCommented:
Hi,

It should be the UAC which plays a part here on Win10, if it was working fine in Win 7 without run as.

You can edit the program shortcut to run it as administrator as per (https://technet.microsoft.com/en-us/library/ff431742.aspx).

But for all users to work this app in Windows 10, you have to find out which folder or file is getting blocked or what permission it needed extra using some tools like procmon and set permission accordingly. If its your in-house application, its good to make the application compatible for Win10 and perform proper testing on the right OS before deploying.

Also refer:- https://stackoverflow.com/questions/19617955/c-run-program-as-administrator

Thanks,
0

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
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
Windows 10

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.