Solved Can't elevate to administrator privileges

higgins

New member
Member
VIP
Local time
12:04 PM
Messages
144
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 My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
CPU
AMD Athlon(tm) II X2 250 Processor
Motherboard
N68C-GS FX
Memory
4GB DDR3 (PC3-10700H) Apacer Technology
Graphics Card(s)
NVIDIA GeForce GTX 560
Screen Resolution
1920x1080
Hard Drives
SSD + 2x HDD
PSU
450W
Case
Codegen SuperPower M608-CA 450W
Cooling
Fan
Antivirus
Microsoft Security Essentials
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 My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
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 My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
CPU
AMD Athlon(tm) II X2 250 Processor
Motherboard
N68C-GS FX
Memory
4GB DDR3 (PC3-10700H) Apacer Technology
Graphics Card(s)
NVIDIA GeForce GTX 560
Screen Resolution
1920x1080
Hard Drives
SSD + 2x HDD
PSU
450W
Case
Codegen SuperPower M608-CA 450W
Cooling
Fan
Antivirus
Microsoft Security Essentials
Does this failure happen with something less complex... say, an elevated command prompt?

What security apps are installed?
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
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.

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 My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
CPU
AMD Athlon(tm) II X2 250 Processor
Motherboard
N68C-GS FX
Memory
4GB DDR3 (PC3-10700H) Apacer Technology
Graphics Card(s)
NVIDIA GeForce GTX 560
Screen Resolution
1920x1080
Hard Drives
SSD + 2x HDD
PSU
450W
Case
Codegen SuperPower M608-CA 450W
Cooling
Fan
Antivirus
Microsoft Security Essentials
To test the elevated command prompt:
Start > search for cmd > right click and select run as admin....

http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html

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

108371d1288208485-elevated-command-prompt-elevated_command_prompt.jpg




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 My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
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 My Computer

Computer type
PC/Desktop
OS
Windows 7 x64
CPU
AMD Athlon(tm) II X2 250 Processor
Motherboard
N68C-GS FX
Memory
4GB DDR3 (PC3-10700H) Apacer Technology
Graphics Card(s)
NVIDIA GeForce GTX 560
Screen Resolution
1920x1080
Hard Drives
SSD + 2x HDD
PSU
450W
Case
Codegen SuperPower M608-CA 450W
Cooling
Fan
Antivirus
Microsoft Security Essentials
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.



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 My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Back
Top