Can't elevate to administrator privileges


  1. Posts : 144
    Windows 7 x64
       #1

    Can't elevate to administrator privileges


    Hi all!

    I've run into a weird issue where some of the computers I administer work fine, but some don't. For example, whenever I need to perform a task that requires admin privileges while logged into regular account (usually because it's the most convenient way of doing things), the computers that work fine just ask for the password and off the 3rd party software update goes.

    Then again, some other computers ask for the password, and then fail to install 3rd party software updates, referring that I need admin privileges... despite me just having given them a password, and the OS accepting it. The only way around this is to actually log in with the admin account to apply the updates. Not a major hassle, but this is completely random and I'd like to determine the root cause.

    Running Windows 7 Pro x64 on basically all the rigs in question (a single exception).

    Any ideas?
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    When you say, "this is completely random", do you mean that the 3rd party app fails to update sometimes but updates at other times on the same computer?

    You might want to watch what happens via Process Monitor.
      My Computer


  3. Posts : 144
    Windows 7 x64
    Thread Starter
       #3

    Ah, good point of clarification! I mean that on some computers, 3rd party apps install fine with just a provided password, but on others they simply won't and I need to log in to the admin account to install things.

    As far as I can tell, the behavior is consistent within a single rig, but I can't tell what's set up differently in the rigs that refuse to install from under regular account (when I provide the admin password).
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #4

    Does this failure happen with something less complex... say, an elevated command prompt?

    What security apps are installed?
      My Computer


  5. Posts : 144
    Windows 7 x64
    Thread Starter
       #5

    UsernameIssues said:
    Does this failure happen with something less complex... say, an elevated command prompt?
    Ugh, not sure what commands I could try to test this. Tried shutdown, but that doesn't need admin privileges, apparently.

    UsernameIssues said:
    What security apps are installed?
    Kasperstky Endpoint CORE 10. And that's both in the compliant and noncompliant rigs. IIRC, the issue was present before I switched from G-DATA as well.
      My Computer


  6. Posts : 10,485
    W7 Pro SP1 64bit
       #6

    To test the elevated command prompt:
    Start > search for cmd > right click and select run as admin....

    Elevated Command Prompt

    You want to see if you get a window with "Administrator: Command Prompt" in the title bar:





    The admin account might have a problem. You could create a new/fresh admin account (just as a test). You that account from the regular account to do admin stuff.
      My Computer


  7. Posts : 144
    Windows 7 x64
    Thread Starter
       #7

    Solution found!

    Log in with any administrator account. Run cmd with: net user administrator /active:yes

    Log in with that account.

    Go to User Account Control settings and pick the recommended setting (the highest and most strict).

    Reboot.

    You can now once again receive password prompts when attempting an elevated task from under a standard account.

    To disable the built-in Administrator account, run an elevated cmd with: net user administrator /active:no

    Done!

    Edit: Okay, I just reread my original post and realised that I solved a different problem I had on some PCs -- which was me not getting the password prompt at all. I'll try this method on the original problem as well and hope I remember to report back.
      My Computer


  8. Posts : 10,485
    W7 Pro SP1 64bit
       #8

    higgins said:
    Hi all!

    I've run into a weird issue where some of the computers I administer work fine, but some don't. For example, whenever I need to perform a task that requires admin privileges while logged into regular account (usually because it's the most convenient way of doing things), the computers that work fine just ask for the password and off the 3rd party software update goes.

    Then again, some other computers ask for the password, and then fail to install 3rd party software updates, referring that I need admin privileges... despite me just having given them a password, and the OS accepting it. The only way around this is to actually log in with the admin account to apply the updates. Not a major hassle, but this is completely random and I'd like to determine the root cause.

    Running Windows 7 Pro x64 on basically all the rigs in question (a single exception).

    Any ideas?
    As your edit to the post quoted below indicated:
    If the UAC is turned off - then W7 will not prompt a standard (non-admin) user for an admin password.



    higgins said:
    Solution found!

    Log in with any administrator account. Run cmd with: net user administrator /active:yes

    Log in with that account.

    Go to User Account Control settings and pick the recommended setting (the highest and most strict).

    Reboot.

    You can now once again receive password prompts when attempting an elevated task from under a standard account.

    To disable the built-in Administrator account, run an elevated cmd with: net user administrator /active:no

    Done!

    Edit: Okay, I just reread my original post and realised that I solved a different problem I had on some PCs -- which was me not getting the password prompt at all. I'll try this method on the original problem as well and hope I remember to report back.
    Once you "Log in with any administrator account", you can turn on the UAC using that account. There is no need to enable the built-in administrator account.
      My Computer


 

  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 05:28.
Find Us