runas control.exe does not work

G

Guest

Using runas to run control.exe as administrator does not do anything.
It just returns. No messages. No events. NO nothing.

Anyone any ideas how I may debug this problem?
 
G

Guest

Are you trying to achieve this via cmd line?
If so, perhaps try this method.
Click start/run
Type in C:\windows\system32 and click ok.(assuming you installed on c: and
to a windows folder)

Find control.exe
Right click and choose Runas
Supply the correct credentials.
 
G

Guest

I guess I was just speculating that he is using a User or Limited User
account and applying runas so that the users can gain access to a program.

But I could be wrong.. If I am I have to agree.
Here is a list of Control Panel Applets. They can be started in the
following fashion:
Click Start and then run...
Then type in the name including the extension.
EG: access.cpl and click ok.

Access.cpl Accessibility Options
Appwiz.cpl Add or Remove Programs
Bthprops.cp Bluetooth Properties
Desk.cpl Display Properties
Firewall.cpl Windows Firewall
Hdwwiz.cpl Hardware Wizard
Inetcpl.cpl Internet Options
Intl.cpl Regional and Language Options
Irprops.cpl Infrared Properties
Joy.cpl Game Controllers
Main.cpl Mouse Properties
Mmsys.cpl Sounds and Audio Devices Properties
Ncpa.cpl Network Connections
Netsetup.cpl Network Setup Wizard
Nusrmgr.cpl User Accounts
Nwc.cpl Gateway Services for NetWare Properties
Odbccp32.cpl Open Database Connectivity Data Source Administrator
Powercfg.cpl Power Options
Sysdm.cpl System Properties
Telephon.cpl Phone and Modem Options
Timedate.cpl Date and Time Properties
Wscui.cpl Windows Security Center
Wuaucpl.cpl Automatic Update Properties
 
W

Wesley Vogel

Ron,

The Control Panel should be accessible, unless there is a Group Policy
setting...

Local Computer Policy\User Configuration\Administrative Templates\Control
Panel\
Prohibit access to the Control Panel

[[Disables all Control Panel programs.

This setting prevents Control.exe, the program file for Control Panel, from
starting. As a result, users cannot start Control Panel or run any Control
Panel items.

This setting also removes Control Panel from the Start menu. (To open
Control Panel, click Start, point to Settings, and then click Control
Panel.) This setting also removes the Control Panel folder from Windows
Explorer.

If users try to select a Control Panel item from the Properties item on a
context menu, a message appears explaining that a setting prevents the
action.

Also, see the "Remove Display in Control Panel" and "Remove programs on
Settings menu" settings.]]
 
G

Guest

Thanks for the posts.
Sorry about the delay in replying.
I cannot find a way of using runas to escalate the security to allow the
administrator to change network connection settings without logging off the
user.
I cannot use runas to run ncpa.cpl as it is not a win32 application.
control.exe is but it wont run under runas.
Do you know of a way to either do the network settings changes or run
control.exe under runas.
Regards, Major.

Wesley Vogel said:
Ron,

The Control Panel should be accessible, unless there is a Group Policy
setting...

Local Computer Policy\User Configuration\Administrative Templates\Control
Panel\
Prohibit access to the Control Panel

[[Disables all Control Panel programs.

This setting prevents Control.exe, the program file for Control Panel, from
starting. As a result, users cannot start Control Panel or run any Control
Panel items.

This setting also removes Control Panel from the Start menu. (To open
Control Panel, click Start, point to Settings, and then click Control
Panel.) This setting also removes the Control Panel folder from Windows
Explorer.

If users try to select a Control Panel item from the Properties item on a
context menu, a message appears explaining that a setting prevents the
action.

Also, see the "Remove Display in Control Panel" and "Remove programs on
Settings menu" settings.]]

--
Hope this helps. Let us know.
Wes

In
Ron Rector said:
I guess I was just speculating that he is using a User or Limited User
account and applying runas so that the users can gain access to a
program.

But I could be wrong.. If I am I have to agree.
Here is a list of Control Panel Applets. They can be started in the
following fashion:
Click Start and then run...
Then type in the name including the extension.
EG: access.cpl and click ok.

Access.cpl Accessibility Options
Appwiz.cpl Add or Remove Programs
Bthprops.cp Bluetooth Properties
Desk.cpl Display Properties
Firewall.cpl Windows Firewall
Hdwwiz.cpl Hardware Wizard
Inetcpl.cpl Internet Options
Intl.cpl Regional and Language Options
Irprops.cpl Infrared Properties
Joy.cpl Game Controllers
Main.cpl Mouse Properties
Mmsys.cpl Sounds and Audio Devices Properties
Ncpa.cpl Network Connections
Netsetup.cpl Network Setup Wizard
Nusrmgr.cpl User Accounts
Nwc.cpl Gateway Services for NetWare Properties
Odbccp32.cpl Open Database Connectivity Data Source Administrator
Powercfg.cpl Power Options
Sysdm.cpl System Properties
Telephon.cpl Phone and Modem Options
Timedate.cpl Date and Time Properties
Wscui.cpl Windows Security Center
Wuaucpl.cpl Automatic Update Properties
 
W

Wesley Vogel

How To Enable and Use the "Run As" Command When Running Programs in Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;294676

To start a program as an administrator
http://www.microsoft.com/resources/...ll/proddocs/en-us/windows_security_runas.mspx


--
Hope this helps. Let us know.
Wes

In
Mr Major Thorburn said:
Thanks for the posts.
Sorry about the delay in replying.
I cannot find a way of using runas to escalate the security to allow
the administrator to change network connection settings without
logging off the user.
I cannot use runas to run ncpa.cpl as it is not a win32 application.
control.exe is but it wont run under runas.
Do you know of a way to either do the network settings changes or run
control.exe under runas.
Regards, Major.

Wesley Vogel said:
Ron,

The Control Panel should be accessible, unless there is a Group
Policy setting...

Local Computer Policy\User Configuration\Administrative
Templates\Control Panel\
Prohibit access to the Control Panel

[[Disables all Control Panel programs.

This setting prevents Control.exe, the program file for Control
Panel, from starting. As a result, users cannot start Control Panel
or run any Control Panel items.

This setting also removes Control Panel from the Start menu. (To open
Control Panel, click Start, point to Settings, and then click Control
Panel.) This setting also removes the Control Panel folder from
Windows Explorer.

If users try to select a Control Panel item from the Properties item
on a context menu, a message appears explaining that a setting
prevents the action.

Also, see the "Remove Display in Control Panel" and "Remove programs
on Settings menu" settings.]]

--
Hope this helps. Let us know.
Wes

In
Ron Rector said:
I guess I was just speculating that he is using a User or Limited
User account and applying runas so that the users can gain access
to a program.

But I could be wrong.. If I am I have to agree.
Here is a list of Control Panel Applets. They can be started in the
following fashion:
Click Start and then run...
Then type in the name including the extension.
EG: access.cpl and click ok.

Access.cpl Accessibility Options
Appwiz.cpl Add or Remove Programs
Bthprops.cp Bluetooth Properties
Desk.cpl Display Properties
Firewall.cpl Windows Firewall
Hdwwiz.cpl Hardware Wizard
Inetcpl.cpl Internet Options
Intl.cpl Regional and Language Options
Irprops.cpl Infrared Properties
Joy.cpl Game Controllers
Main.cpl Mouse Properties
Mmsys.cpl Sounds and Audio Devices Properties
Ncpa.cpl Network Connections
Netsetup.cpl Network Setup Wizard
Nusrmgr.cpl User Accounts
Nwc.cpl Gateway Services for NetWare Properties
Odbccp32.cpl Open Database Connectivity Data Source
Administrator Powercfg.cpl Power Options
Sysdm.cpl System Properties
Telephon.cpl Phone and Modem Options
Timedate.cpl Date and Time Properties
Wscui.cpl Windows Security Center
Wuaucpl.cpl Automatic Update Properties


:

Why not just open the Control Panel?
Start | Run | Type: control | OK

--
Hope this helps. Let us know.
Wes

In Mr Major Thorburn <[email protected]>
hunted and pecked:
Using runas to run control.exe as administrator does not do
anything. It just returns. No messages. No events. NO nothing.

Anyone any ideas how I may debug this problem?
 
G

Guest

Wes, runas is enabled and it does work for most exe files but does not work
for control.exe.
I wanted it to work for control.exe because there is no runas option on the
network components in control panel.

I wanted to know why control.exe is not behaving as expected.

Is this a bug or by design?

Any MVPs out there wish to contribute to this?

Regards, Major.

Wesley Vogel said:
How To Enable and Use the "Run As" Command When Running Programs in Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;294676

To start a program as an administrator
http://www.microsoft.com/resources/...ll/proddocs/en-us/windows_security_runas.mspx


--
Hope this helps. Let us know.
Wes

In
Mr Major Thorburn said:
Thanks for the posts.
Sorry about the delay in replying.
I cannot find a way of using runas to escalate the security to allow
the administrator to change network connection settings without
logging off the user.
I cannot use runas to run ncpa.cpl as it is not a win32 application.
control.exe is but it wont run under runas.
Do you know of a way to either do the network settings changes or run
control.exe under runas.
Regards, Major.

Wesley Vogel said:
Ron,

The Control Panel should be accessible, unless there is a Group
Policy setting...

Local Computer Policy\User Configuration\Administrative
Templates\Control Panel\
Prohibit access to the Control Panel

[[Disables all Control Panel programs.

This setting prevents Control.exe, the program file for Control
Panel, from starting. As a result, users cannot start Control Panel
or run any Control Panel items.

This setting also removes Control Panel from the Start menu. (To open
Control Panel, click Start, point to Settings, and then click Control
Panel.) This setting also removes the Control Panel folder from
Windows Explorer.

If users try to select a Control Panel item from the Properties item
on a context menu, a message appears explaining that a setting
prevents the action.

Also, see the "Remove Display in Control Panel" and "Remove programs
on Settings menu" settings.]]

--
Hope this helps. Let us know.
Wes

In Ron Rector <[email protected]> hunted and pecked:
I guess I was just speculating that he is using a User or Limited
User account and applying runas so that the users can gain access
to a program.

But I could be wrong.. If I am I have to agree.
Here is a list of Control Panel Applets. They can be started in the
following fashion:
Click Start and then run...
Then type in the name including the extension.
EG: access.cpl and click ok.

Access.cpl Accessibility Options
Appwiz.cpl Add or Remove Programs
Bthprops.cp Bluetooth Properties
Desk.cpl Display Properties
Firewall.cpl Windows Firewall
Hdwwiz.cpl Hardware Wizard
Inetcpl.cpl Internet Options
Intl.cpl Regional and Language Options
Irprops.cpl Infrared Properties
Joy.cpl Game Controllers
Main.cpl Mouse Properties
Mmsys.cpl Sounds and Audio Devices Properties
Ncpa.cpl Network Connections
Netsetup.cpl Network Setup Wizard
Nusrmgr.cpl User Accounts
Nwc.cpl Gateway Services for NetWare Properties
Odbccp32.cpl Open Database Connectivity Data Source
Administrator Powercfg.cpl Power Options
Sysdm.cpl System Properties
Telephon.cpl Phone and Modem Options
Timedate.cpl Date and Time Properties
Wscui.cpl Windows Security Center
Wuaucpl.cpl Automatic Update Properties


:

Why not just open the Control Panel?
Start | Run | Type: control | OK

--
Hope this helps. Let us know.
Wes

In Mr Major Thorburn <[email protected]>
hunted and pecked:
Using runas to run control.exe as administrator does not do
anything. It just returns. No messages. No events. NO nothing.

Anyone any ideas how I may debug this problem?
 
J

JimWae±

Create a shortcut to ncpa.cpl; then right click shortcut - Properties -
Advanced ....

Mr Major Thorburn said:
Wes, runas is enabled and it does work for most exe files but does not
work
for control.exe.
I wanted it to work for control.exe because there is no runas option on
the
network components in control panel.

I wanted to know why control.exe is not behaving as expected.

Is this a bug or by design?

Any MVPs out there wish to contribute to this?

Regards, Major.

Wesley Vogel said:
How To Enable and Use the "Run As" Command When Running Programs in
Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;294676

To start a program as an administrator
http://www.microsoft.com/resources/...ll/proddocs/en-us/windows_security_runas.mspx


--
Hope this helps. Let us know.
Wes

In
Mr Major Thorburn said:
Thanks for the posts.
Sorry about the delay in replying.
I cannot find a way of using runas to escalate the security to allow
the administrator to change network connection settings without
logging off the user.
I cannot use runas to run ncpa.cpl as it is not a win32 application.
control.exe is but it wont run under runas.
Do you know of a way to either do the network settings changes or run
control.exe under runas.
Regards, Major.

:

Ron,

The Control Panel should be accessible, unless there is a Group
Policy setting...

Local Computer Policy\User Configuration\Administrative
Templates\Control Panel\
Prohibit access to the Control Panel

[[Disables all Control Panel programs.

This setting prevents Control.exe, the program file for Control
Panel, from starting. As a result, users cannot start Control Panel
or run any Control Panel items.

This setting also removes Control Panel from the Start menu. (To open
Control Panel, click Start, point to Settings, and then click Control
Panel.) This setting also removes the Control Panel folder from
Windows Explorer.

If users try to select a Control Panel item from the Properties item
on a context menu, a message appears explaining that a setting
prevents the action.

Also, see the "Remove Display in Control Panel" and "Remove programs
on Settings menu" settings.]]

--
Hope this helps. Let us know.
Wes

In Ron Rector <[email protected]> hunted and pecked:
I guess I was just speculating that he is using a User or Limited
User account and applying runas so that the users can gain access
to a program.

But I could be wrong.. If I am I have to agree.
Here is a list of Control Panel Applets. They can be started in the
following fashion:
Click Start and then run...
Then type in the name including the extension.
EG: access.cpl and click ok.

Access.cpl Accessibility Options
Appwiz.cpl Add or Remove Programs
Bthprops.cp Bluetooth Properties
Desk.cpl Display Properties
Firewall.cpl Windows Firewall
Hdwwiz.cpl Hardware Wizard
Inetcpl.cpl Internet Options
Intl.cpl Regional and Language Options
Irprops.cpl Infrared Properties
Joy.cpl Game Controllers
Main.cpl Mouse Properties
Mmsys.cpl Sounds and Audio Devices Properties
Ncpa.cpl Network Connections
Netsetup.cpl Network Setup Wizard
Nusrmgr.cpl User Accounts
Nwc.cpl Gateway Services for NetWare Properties
Odbccp32.cpl Open Database Connectivity Data Source
Administrator Powercfg.cpl Power Options
Sysdm.cpl System Properties
Telephon.cpl Phone and Modem Options
Timedate.cpl Date and Time Properties
Wscui.cpl Windows Security Center
Wuaucpl.cpl Automatic Update Properties


:

Why not just open the Control Panel?
Start | Run | Type: control | OK

--
Hope this helps. Let us know.
Wes

In Mr Major Thorburn <[email protected]>
hunted and pecked:
Using runas to run control.exe as administrator does not do
anything. It just returns. No messages. No events. NO nothing.

Anyone any ideas how I may debug this problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top