1. Joined : Nov 2016
    Selsey, UK
    Posts : 9
    Windows 10 Home
       3 Weeks Ago #1

    Help-User Account Control Problems if you develop your own software


    Hi I am quite new to Windows 10 but it has not been a happy experience and has wasted at least 4 days so far.

    Since buying a new Windows 10 computer I have had to turn all UAC off. Otherwise I keep getting pop up task if I want to run it!
    There must be a way to have outside security without these pop ups.
    I have written telescope automation software which are a number of exe files in one folder. Since I am the originator and the administrator why does it keep asking if I want to run the program? (If UAC is on)
    Some of my software cannot see the required files in other directories if they are not set as administrator.
    Never had this problem with Vista or Windows 8?

    Any solutions (apart from reloading Vista from an old machine)

    Regards,
    John
      My System SpecsSystem Spec


  2. Joined : Feb 2015
    Bamberg Germany
    Posts : 13,402
    Microsoft Windows 10 Pro 64-bit 14393 Multiprocessor Free
       3 Weeks Ago #2
      My System SpecsSystem Spec


  3. Joined : Feb 2015
    Bamberg Germany
    Posts : 13,402
    Microsoft Windows 10 Pro 64-bit 14393 Multiprocessor Free
       3 Weeks Ago #3

    @astrojohn,
    Sorry I just posted the link and ran a little bit ago, I was busy at the moment, but wanted to make sure to post something that might help you.

    Is that what you were looking for?

    Also there is a developer mode in Windows 10, but I believe(not sure) that's for creating UWP(modern) apps:
    Enable your device for development
    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	55.3 KB 
ID:	109866
      My System SpecsSystem Spec


  4. Joined : Nov 2016
    Selsey, UK
    Posts : 9
    Windows 10 Home
       3 Weeks Ago #4

    UAC seems to have all sorts of implications?


    I don't use Visual Studio. It will not run on my version of Windows 10.

    I have used a GUI builder tool set from the medical business. Very nice clean apps.
    However, I even had problems with that because Windows had changed some #DEFINES somewhere in the compiled subsystems and now there was a conflict. Color_MenuBar was a conflict. So I have changed it everywhere in my dev environment to Colour_MenuBar -That fixed it.

    I have had problems getting the pop up to ask if I wanted to run my exe files??
    I only have one user account:
    Local
    Administrator

    However, Still having to mess about with admin rights of individual exe files because the cannot execute other exe files.
    But some pop ups still happened so turned of all UAC.

    Everything is now running and able to do a complete compile and system build to link with all the hardware and other software servers in the system. But, have to put UAC off!

    Not really good?
    John
      My System SpecsSystem Spec


  5. Joined : Feb 2015
    Bamberg Germany
    Posts : 13,402
    Microsoft Windows 10 Pro 64-bit 14393 Multiprocessor Free
       3 Weeks Ago #5

    The tutorial link I posted(my first post) doesn't help?

    Oh, wait!
    I just found one here in Ten Forums, I guess the author, @Brink has imported it.
    Check here: Elevated Shortcut without UAC - Create in Windows 10 - Windows 10 Forums

    I
    N
    F
    O

    1. When you open an application file with Run as administrator, you will get a UAC prompt for approval before the app is allowed to run with elevated rights.

      In addition, Windows will not allow elevated apps to run at startup by default.

      If you want to run an app as administrator (elevated) without getting a UAC prompt or at startup, then you can create an elevated task to run the application as a workaround to do so.

      This tutorial will show you how to create a shortcut of an elevated task to run an app as administrator without getting a UAC prompt in Windows 10.

      You must be signed in as an administrator to be able to create and use the elevated shortcut.

      My System SpecsSystem Spec


  6. Joined : Nov 2016
    Selsey, UK
    Posts : 9
    Windows 10 Home
       3 Weeks Ago #6

    Ok I have looked at the other PC that runs another observatory with the same software.
    It is Windows 10 Home 10586 build. This version does not produce Popup asking if I want to run app.
    So what did Microsoft change that messed up the operation of my software?
    PC config looks similar. Local Account login, Administrator.
    My software is not running as administrator.
    Very odd.
    Regards,
    John
      My System SpecsSystem Spec


  7. Joined : Feb 2015
    Bamberg Germany
    Posts : 13,402
    Microsoft Windows 10 Pro 64-bit 14393 Multiprocessor Free
       3 Weeks Ago #7

    Hi John, I sent one of the other software developers I know, a private message to take a look here,
    maybe he can help, as he understands these things.

    I thought you just needed a way to start the program without the UAC, that's why I linked you to that tutorial(which you have yet to comment on, if it's what you want or not)

    You might want to think of adding the program(and any associated .exe's) to start at boot, and to run from the system tray, that way you will, not need to start it every time.
      My System SpecsSystem Spec

  8.    3 Weeks Ago #8

    If it works in a previous build, then the app. is not to blame... also strange that the constants were affected by system language.

    My apps however (and I do use VS) do not exhibit that behavior with the latest Windows builds - thus I can't replicate it.
    (yes, I use app manifest to embed privileges - so they automatically run as Admin)
      My System SpecsSystem Spec


  9. Joined : Nov 2016
    Selsey, UK
    Posts : 9
    Windows 10 Home
       3 Weeks Ago #9

    Hi,

    I think Microsoft Windows 10 Home version 1607 is so full of problems- I just tried to install my HP Printer..
    I can't and is says Need Administrator Rights?? I have a local administrator log on to this PC?
    I tried loading the disc onto the desktop and running the setup as Administrator......Same problem.
    I have checked my logon about 100 times and it still says ADMINISTRATOR!
    J
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
User Account Control popup comes up behind windows
Ever since I got the Anniversary Update for Windows 10, more often than not when the User Account Control popup comes up when installing software or whatever, it comes up behind the windows open on my desktop. Since I can't click the windows to...
General Support
User account Control migraine
After I switched to Win 10 I decided I wanted to turn off my sign in at start up and somehow I went threw netplz and I unclicked something and that's where it got annoying. From then on I have not been able to make any changes to the system...
User Accounts and Family Safety
Solved Problems in User Account, not appearing in Admin Account (store, sfc)
I have not found anything like my problem on any forum or thread. In my Administrator Account the Windows Store opens and I can install Apps. I expected those same Apps I just installed to appear in my User Account, they did not. Both my Admin and...
User Accounts and Family Safety
User Account Control
I used to run W7 with a hdd supplemented by a Sandisk 32gb Readycache. It ran automatically on bootup, there was a desktop icon to check up on it. W7 is now running from an ssd and the Sandisk is now with the old 80gb hdd for W10. Every time that...
General Support
How to turn off User Account Control
I am finding it very hard to find all the settings. the PC Settings tab has very little on it. I would love to have my Control Panel back, but the first thing I want is to turn off the useless User Account Control. It does nothing but waste time...
AntiVirus, Firewalls and System Security
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:05.
Find Us
Twitter Facebook Google+



Windows 10 Forums