Run a .exe in windows7 error

(imported topic written by cye91)

Hello everyone

I created a program that change the value of registry key with c#, and created a task .The action script is below.

and I want to run it on windows 7 clients.

When I disable the UAC , it worked. but when I enable the UAC ,it did not work.

How can I deal this problem?

Anyone has the same experience?

prefetch RunAsCurrentUser.exe sha1:5512ef51a98dff1aa910a8189a0361c161fa703f size:212992 http:
//software.bigfix.com/download/bes/util/RunAsCurrentUser-2.0.2.exe waithidden __Download\RunAsCurrentUser.exe --w cmd.exe /c 
"c:\temp\GetPCInfo.exe"

(imported comment written by rmnetops91)

Are you able to digitally sign the executable so it’s trusted by Windows?

(imported comment written by MattBoyd)

What exactly is the program doing?

Is the registry key that it’s changing under HKLM or HKCU?

Why does the application need to be run as the current user?

Did you change the application manifest to requireAdministrator when you compiled it? That would invoke UAC…