UAC not asking for system change confirmation

Page 1 of 2 12 LastLast

  1. Posts : 5
    win7/64 and win8/64
       #1

    UAC not asking for system change confirmation


    Am running with admin login on Win7 with UAC On -
    Have program that modifies some registry keys in HKey_LocalMachine.

    No matter what level of UAC protection I select, windows does not notify me to confirm changes and changes are actually saved in registry.

    I am not running program elevated using Run As Admin.

    What's the reason my Win7 and Win8 machines allow registry changes to be made without asking?

    Any response is appreciated.

    Lee
      My Computer


  2. Posts : 521
    Windows 7 Ultimate x64 Service Pack 1
       #2

    I have no experience in this so I wouldn't know but maybe a couple of questions will help.

    1. What particular application are you using?

    2. Also, does the UAC prompt appear when performing other Administrative tasks? e.g. Installing an application

    3. When you wrote "admin login", did you mean the built in Administrator account or an account with administrator privileges?
      My Computer


  3. Posts : 5
    win7/64 and win8/64
    Thread Starter
       #3

    Program (MyProgram.exe) is one I wrote in VB.Net to save some settings in Windows Registry.

    UAC prompt does appear when starting programs like Registry Editor (regedit), Control Panel/AdminTools/Services and the like.

    Admin login refers to my login when I start Windows - My User Profile is Administrator.

    If I just dbl click on MyProgram.exe it allows me to make changes to specific keys in registry and save them.
    If I Right Click on MyProgram.exe and select RunAs Admin then the UAC prompt does appear.

    Shouldn't the system always notify you when system changes are being made rather than running a program that might make system changes?
      My Computer

  4.    #4

    I would System Restore to a point before you edited the Registry, and refrain from doing so in the future without confirming its efficacy here.

    If SysRestore won't help then run SFC /SCANNOW Command
      My Computer


  5. Posts : 5
    win7/64 and win8/64
    Thread Starter
       #5

    No need to do a restore - I know what I'm doing. Just trying to understand why windows behaves as it does.
      My Computer

  6.    #6

    If UAC stopped working after your ran the regedit then it is not working. That's why it is behaving that way. Your edit acted like pernicious malware.

    May I ask what you were trying to achieve with the regedit and exactly what it was?

    I would apply the steps I gave you unless you want a crippled OS. You can disable UAC in Control Panel if that's the goal.
      My Computer


  7. Posts : 17,322
    Win 10 Pro x64
       #7

    I don't have an answer for you, but it would be interesting to see this program you made.

    It may be useful for others to answer why it is running as it is.
      My Computer


  8. Posts : 5
    win7/64 and win8/64
    Thread Starter
       #8

    Program is part of a commercial program we distribute and support. We store things like Data File Path and some other workstation configuration options in the registry rather than in an .INF or .XML file.

    Our program uses standard windows API calls to modify the registry.

    Some of our customers are reporting that in Win7 and Win8 with UAC ON their configuration options are not being saved and no error is given. Others are having no difficulty. Same software has been on the market since Windows 95 made it's debut. No UAC in XP and No Problem there. No reported issues with Vista - just Win7 and Win8.
      My Computer

  9.    #9

    You might try installing in Compatibility Mode or the program might need to be updated since tampering with UAC would make it malware.
      My Computer


  10. Posts : 2,465
    Windows 7 Ultimate x64
       #10

    So, it's your own program only?
    Does it saves to HKEY_LOCAL_MACHINE directly?
    Does it explicitly modifies any permission?
    How is it manifested, related to UAC?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:57.
Find Us