CMD open Control Panel and other commands

Source: Internet
Author: User

If you are in a small domain user's machine, to do some administrative operations, it is inevitable to use CMD to open some previously only in the graphical interface open programs. Here are some of the common actions I've collected.

Start the program in an identity: runas/user:it\n176197 cmd//can also directly right-click the program to run, tap "Run as", if there is no "run as", hold down SHIFT and right-click

Assign Change permissions: cacls c:\sem/e/g everyone:c

Get the owner of a file under Win server: takeown/f kernel32.dll/a

Msconfig: This program is not added to the environment variable by default, run directly C:\windows\pchealth\helpctr\binaries\msconfig.exe

DX Diagnostic Tool: DxDiag

Policy tool: Gpedit.msc

Certificate: Certmgr.msc

Computer Management: COMPMGMT.MSC/S, right-click to open System Properties//If not plus/s, no Modify permissions

System Properties: Rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl, System

Control Panel
Module: control.exe
Command: Rundll32.exe shell32.dll,Control_RunDLL
Result: The Control Panel window is displayed.

Accessibility Options
Module: access.cpl
Command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5
Result: Show accessibility Options/General.

Command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1
Result: the auxiliary options/keyboard is displayed.

Command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2
Result: Displays auxiliary options/sounds.

Command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3
Result: Show auxiliary options/display.

Command: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4
Result: A secondary option/mouse is displayed.

Add New Hardware
Module: sysdm.cpl
Command: rundll32.exe shell32.dll,control_rundll sysdm.cpl @1

Add a new printer
Module: Shell32.dll
Command: Rundll32.exe shell32.dll,shhelpshortcuts_rundll addprinter

Add/Remove Programs
Module: appwiz.cpl

Command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1
Result: Display installation/uninstallation.

Command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1
Result: Display installation/uninstallation.

Command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2
Result: Windows installation is displayed.

Command: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3
Result: The startup disk is displayed.

Copy Disk
Module: Diskcopy.dll
Command: Rundll32.exe Diskcopy.dll,diskcopyrundll

Time/Date
Module: timedate.cpl

Command: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0
Result: The setting date/time is displayed.

Command: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1
Result: Displays the set time area.

Dial-up connection (DUN)
Module: Rnaui.dll
Command: Rundll32.exe rnaui.dll,rnadial Connection _ name
Result: The specified dial-up connection is opened.
Example:
x= Shell ("Rundll32.exe rnaui.dll,rnadial" & "Connection _ Name", 1)

Display
Module: desk.cpl
Command: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0
Result: Background settings.

Command: Rundll32.exe shell32.dll,Control_RunDLL

CMD open Control Panel and other commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.