Jump to content

Opening Control Panel with runas?


driveingnow

Recommended Posts

Ok so I run as a limited user for security reasons, on Windows XP.

But I am always having to go into control panel to do stuff (i.e. Add/Remove programs, Hardware, Firewalls ect.).

I have been trying to figure out how to do this for some time, right now I have IE 6 and I just do a Runas on it, then in the address bar type "Control Panel". But I have another computer I have IE 7 on and it won't let me do it there, I also can't get Windows Explorer to open with the runas command.

So basically I want to go to Run type in "Runas /user:Admin "...Open control panel" *enter* and put in my password. And there it is, ready for me to use.

I can use any help you guys can offer. Thanks.

Link to comment
Share on other sites

Open Control Panel normally then Shift-Right Click the applet.  It'll give you the option to Run as...

Interestingly enough, I do exactly the same ... for security.  I've not found a way to open Network Connections though via this technique.  I've done a fair amount of searching but dont think it can be done.  I've resorted to logging off and logging back on or kill explorer.exe then relaunch it as Admin.

HTH

Link to comment
Share on other sites

rundll32 shell32.dll,Control_RunDLL odbccp32.cpl

rundll32 shell32,Control_RunDLL desk.cpl

rundll32 shell32,Control_RunDLL appwiz.cpl

Control

Panel access.cpl Accessibility

appwiz.cpl Add/Remove Programs

desk.cpl  Display Settings

firewall.cpl  Firewall

hdwwiz.cpl Add Hardware Wizard

inetcpl.cpl Internet Settings

intl.cpl International/Language

irprops.cpl Infrared/Wireless

joy.cpl  Joysticks

main.cpl  Mouse

mmsys.cpl Sound and Audio Devices

ncpa.cpl Network Connections

netsetup.cpl Network Setup Wizard

nusrmgr.cpl Users

odbccp32.cpl ODBC Settings

powercfg.cpl Power Management

sysdm.cpl System Properties

telephon.cpl Phone & Modem

timedate.cpl Clock/Calendar

wscui.cpl Security Center

wuaucpl.cpl Auto Update Settings

Microsoft

Windows

XP

Microsoft Service certmgr.msc Certificates

ciadv.msc Indexing Service

compmgmt.msc Computer Management

devmgmt.msc Device Manager

dfrg.msc Disk Defrag

diskmgmt.msc Disk Manager

eventvwr.msc Event Viewer

fsmgmt.msc Shared Folders

gpedit.msc Group Policy Editor

lusrmgr.msc Local Users & Groups

ntmsmgr.msc Removable Storage

ntmsoprq.msc Removable Storage Operator

perfmon.msc Reliability & Performance Monitor

rsop.msc Resultant Set of Policy

secpol.msc Local Security Settings

services.msc  Services

wmimgmt.msc Windows Management Infrastructure

Microsoft

Windows

XP

Core

Program calc Calculator

cdplayer CD Player

charmap Character Map

cleanmgr Disk Cleanup

clipbrd Clipboard

command Command Prompt

cmd Command Prompt

control Control Panel

control printers Printers

defrag Disk Defrag Utility

drvspace Drive Space Utility for Drive Compression

dxdiag DirectX Diagnostic Utility

excel Microsoft Excel

freecell Freecell Game

inetwiz DUN Connection Wizard

iexplore Internet Explorer

msmsgs Windows Messenger

msnmsgr MSN Messenger

msimn Outlook Express

mplayer2 Windows Media Player v6.4

msconfig System Configuration Utility

mshearts Hearts Game

msinfo32 Accesses System Resource Information

msn MSN

msn6 MSN v7.0, v8.0, v8.5

notepad Notepad

outlook Microsoft Outlook

rasphone Dialup Networks

regedit Registry Editor

rstrui System Restore

rsrcmtr Loads Resource Meter Utility

scandskw Scandisk

scanregw Scan Registry

sndrec32 Sound Recorder

sndvol32 Sould Volume Utility

shrpubw Create A Shared Folder Wizard

sol Solitaire Game

sndvol32 Volume Control/Mixer

sysedit System Configuration Editor

sysmon System Monitor Utility

taskmgr Task Manager

telnet Telnet Client

tourstart Windows XP Tour Wizard

winipcfg Displays Internet Connection/Adapter Information

winver Displays Windows Version

wmplayer Windows Media Player

wordpad Wordpad

wupdmgr Connects to Windows Update

Microsoft

Windows

XP

System

Command  control userpasswords2 Change Account Passwords

rundll32 devmgr.dll DeviceManager_Execute  Device Manager

rundll32 diskcopy,DiskCopyRunDll

Show Copy Disk Window

rundll32 shell32,Control_RunDLL Control Panel

rundll32 shell32,Control_RunDLL X Start applet X of Control Panel ("X" = any CPL filename)

rundll32 shell32.dll,Control_RunDLL appwiz.cpl

Add/remove programs

rundll32 shell32.dll,Control_RunDLL timedate.cpl,,0 Date/time settings

rundll32 shell32.dll,Control_RunDLL odbccp32.cpl

ODBC settings

rundll32 shell32.dll,Control_RunDLL DESK.CPL,@0,1

Screensaver Tab

rundll32 shell32.dll,Control_RunDLL NCPA.CPL,@0,2

Network Protocols

rundll32 shell32.dll,Control_RunDLL DESK.CPL,@0,3 Screen Size Tab

rundll32 shell32,OpenAs_RunDLL

Open The 'Open With...' Window

rundll32 shell32,ShellAboutA Info-Box

Open 'About Window Window'

rundll32 shell32,Control_RunDLL desk.cpl Open Display Properties

rundll32 user,cascadechildwindows

Cascade All Windows

rundll32 user,tilechildwindows Minimize All Child-Windows

rundll32 user,repaintscreen Refresh Desktop

rundll32 keyboard,disable Lock The Keyboard

rundll32 mouse,disable

Disable Mouse

rundll32 user,swapmousebutton Swap Mouse Buttons

rundll32 user,setcursorpos

Set Cursor Position To (0,0)

rundll32 user,wnetconnectdialog Show 'Map Network Drive' Window

rundll32 user,wnetdisconnectdialog  Show 'Disconnect Network Disk' Window

rundll32 user,disableoemlayer  Display The BSOD (blue screen of death) Window

rundll32 user,setcaretblinktime Set New Cursor Rate Speed

rundll32 user,setdoubleclicktime Set New DblClick Speed (Rate)

rundll32 rnaui.dll,RnaWizard Run 'Internet Connection Wizard'

rundll32 shell32,SHFormatDrive Run 'Format Disk (A)' Window

rundll32 shell32,SHExitWindowsEx -1 Cold Restart Of Windows Explorer

rundll32 shell32,SHExitWindowsEx 1 Shut Down Computer

rundll32 shell32,SHExitWindowsEx 0 Logoff Current User

rundll32 shell32,SHExitWindowsEx 2 Windows9x Quick Reboot

rundll32 krnl386.exe,exitkernel

Force Windows 9x To Exit (no confirmation)

rundll32 rnaui.dll,RnaDial "MyConnect" Run 'Net Connection' Dialog

rundll32 msprint2.dll,RUNDLL_PrintTestPage  Choose & Print Test Page Of Current Printer

rundll32 sysdm.cpl,InstallDevice_Rundll Hardware installation wizard

rundll32 user,MessageBeep Default beep sound

win.ini Access a Windows Initialization Component

 

 

Link to comment
Share on other sites

Goodness - I can't think for a minute that you typed all of those in!  Did you get the list from your system (if so, how did you get the details?) or did you get it from a website?

Just going from my problem (Run as... for Network Connections), I was aware of Start>Run>runas /user:AdministratorAccountName ncpa.cpl but that doesn't launch Network Connections.

Link to comment
Share on other sites

Also, control actualy calls some thing in explorer. Explorer will not allow it's self to be run twice. You will need to kill explorer to open control panel as another user, whcih will also casue explorer to run as that user.

Link to comment
Share on other sites

Also, control actualy calls some thing in explorer. Explorer will not allow it's self to be run twice. You will need to kill explorer to open control panel as another user, whcih will also casue explorer to run as that user.

Another reason to hate M$.

Link to comment
Share on other sites

  • 4 months later...

yeah, i know, old thread....but

first post. registered just to answer.

quickest easiest way to get to the control panel as admin is runas. i created a .bat file for it as i run it often and am lazy. just don't store your password in the file.

from the run line:

runas /user:machine\adminaccount "c:\windows\explorer.exe /separate"

now just browse windows explorer to the control panel. everything in the control panel will open as admin.

is this the most secure? no. is it the easiest? best i've found on a ie7 box.

**machine name may be optional, i'm used to running it on a domain

Link to comment
Share on other sites

  • 10 months later...

I registered just to say "Thx Pinnit!"

man it was killing me that i couldnt runas ncpa.cpl on ie7 boxes....

yeah, i know, old thread....but

first post. registered just to answer.

quickest easiest way to get to the control panel as admin is runas. i created a .bat file for it as i run it often and am lazy. just don't store your password in the file.

from the run line:

runas /user:machine\adminaccount "c:\windows\explorer.exe /separate"

now just browse windows explorer to the control panel. everything in the control panel will open as admin.

is this the most secure? no. is it the easiest? best i've found on a ie7 box.

**machine name may be optional, i'm used to running it on a domain

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...