Need to run "Network Connections" control panel as administrator
Posted on 2008-10-22
I need to run the network control panel as an administrator. The local user is not a local admin.
Right-clicking the control panel icon doesn't give a "runas" option.
Right-clicking the "network connections" icon doesn't give a "runas" option.
Right-clicking c:\windows\system32\control.exe gives a "runas", but doesn't open the control panel. It runs a process of control.exe as the admin user for a second or two, doesn't render anything on screen, and closes.
Runas /user:administrator "rundll32.exe shell32.dll,Control_RunDLL ncpa.dll" from the command line prompts for a password, then opens explorer at c: (running as the non-admin user!)
Runas /user:administrator cmd from the command line opens a CMD window running as administrator, but starting control.exe from there opens C: in explorer.
I've tried all itterations of /env /profile and /noprofile with the runas commands, and have got no-where.
This works for other control panels...