通過命令行操作控制面板

sysdm.cpl 將打開系統屬性小程序
Access.cpl:輔助功能選項 
Appwiz.cpl:添加/刪除程序 
Desk.cpl:顯示 
Fax.cpl:傳真嚮導 
Hdwwiz.cpl:添加/刪除硬件 
Intl.cpl:區域語言選項 
Joy.cpl:遊戲控制器 
Liccpa.cpl:許可 
Main.cpl:鼠標 
Mlcfg.cpl:郵件 
Mmsys.cpl:聲音和音頻設備 
Modem.cpl:電話和調制解調器選項 
Ncpa.cpl:網絡連接 
Netcpl.cpl:網絡和撥號連接 
Nwc.cpl: Netware客戶端連接 
Odbccp32.cpl: ODBC數據源 
Powercfg.cpl:電源管理 
Sticpl.cpl:掃描儀和照相機 
Sysdm.cpl:系統 
Telephon.cpl:撥號規則和調制解調器 
Timedate.cpl:日期和時間

============================================

打開控制面板的命令是:“control”

打開控制面板 
命令: rundll32.exe shell32.dll,Control_RunDLL 
結果: 顯示控制面板窗口。 
例子: 
Call Shell("rundll32.exe shell32.dll,Control_RunDLL")

輔助選項 
模塊: access.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5 
結果: 顯示輔助選項/常規。

命令: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1 
結果: 顯示輔助選項/鍵盤。

命令: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2 
結果: 顯示輔助選項/聲音。

命令: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3 
結果: 顯示輔助選項/顯示。

命令: rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4 
結果: 顯示輔助選項/鼠標。

添加新硬件 
模塊: sysdm.cpl 
命令:rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1

增加新的打印機 
模塊:shell32.dll 
命令:rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter

添加/刪除程序 
模塊:appwiz.cpl 
命令:rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1 
結果:顯示安裝/卸載。

命令:rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2 
結果:顯示Windows 安裝。

命令:rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3 
結果:顯示啓動盤。

複製磁盤 
模塊:diskcopy.dll 
命令:rundll32.exe diskcopy.dll,DiskCopyRunDll

時間/日期 
模塊: timedate.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0 
結果: 顯示設置日期/時間。

命令: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1 
結果: 顯示設置時間區域。

撥號連接(DUN) 
模塊: rnaui.dll 
命令: rundll32.exe rnaui.dll,RnaDial 連接_名稱 
結果: 打開指定的撥號連接。 
例子: 
x= Shell("rundll32.exe rnaui.dll,RnaDial " & "連接_名稱", 1)

顯示器 
模塊: desk.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0 
結果: 背景設置。

命令: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1 
結果: 屏幕保護設置。

命令: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2 
結果: 外觀設置。

命令: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3 
結果: 設置窗口。

操縱桿 
模塊: joy.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL joy.cpl

郵件/傳真 
模塊: mlcfg32.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl 
結果: 出現 MS Exchange 屬性設置。

郵局設置 
模塊: wgpocpl.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl 
結果: 顯示 MS Postoffice Workgroup Admin 設置。

主設置 
模塊: main.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @0 
結果: 顯示鼠標屬性。

命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1 
結果: 顯示鍵盤/速度屬性。

命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,,1 
結果: 顯示鍵盤/語言屬性。

命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,,2 
結果: 顯示鍵盤/常規屬性。

命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @2 
結果: 顯示打印機屬性。

命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @3 
結果: 顯示字體屬性。

命令: rundll32.exe shell32.dll,Control_RunDLL main.cpl @4 
結果: 顯示電源管理屬性。

增加 Modem 
模塊:modem.cpl 
命令:rundll32.exe shell32.dll,Control_RunDLL modem.cpl,,add

多媒體 
模塊: mmsys.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0 
結果:聲音。

命令: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1 
結果:視頻。

命令: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2 
結果:聲音 MIDI。

命令: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3 
結果:CD/音樂。

命令: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,4 
結果:高級。

命令: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1 
結果:聲音。

網絡 
模塊:netcpl.cpl 
命令:rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl

打開方式窗口(Open With) 
模塊: shell32.dll 
命令:rundll32.exe shell32.dll,OpenAs_RunDLL pathfilename

口令 
模塊: password.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL password.cpl

區域設置 
模塊: intl.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,0 
結果: 區域設置。

命令: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,1 
結果: 數字格式設置。

命令: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,2 
結果: 金額格式設置。

命令: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,3 
結果:時間格式設置。

命令: rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,4 
結果: 日期格式設置。

屏幕保護 
模塊: appwiz.cpl 
命令: rundll32.exe desk.cpl,InstallScreenSaver c:winsystemFlying Windows.scr 
結果: 安裝屏幕保護並顯示預覽屬性頁。

系統設置 
模塊: sysdm.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0 
結果: 顯示常規設置。

命令: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1 
結果: 顯示設備管理設置。

命令: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2 
結果: 顯示硬件設置。

命令: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3 
結果: 顯示性能設置。

IE4 設置 
模塊: inetcpl.cpl 
命令: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl

屏蔽“控制面板”中的指定項目

屏蔽掉“控制面板”中的某些項目,以防止用戶進行任意設置。新建一個雙字節(REG_DWORD)值項HKEY_CURRENT_USER\Software\Microsoft\

Windows\CurrentVersion\Policies\ Explorer\DisallowCpl,修改其值爲1。然後新建一個註冊表項HKEY_CURRENT_USER\Software\Microsoft\

Windows\CurrentVersion\Policies\Explorer\ DisallowCpl,在該項下新建若干個字符串(REG_SZ)值項,形式爲“序號=控制面板項對應的文件名”。如想屏蔽控制面板中的“顯示”和“系統”兩項,可以在該項下新建兩個值項“1”和“2”,值分別爲“desk.cpl?顯示項對應的文件)和sysdm.cpl(系統項對應的文件)。重啓桌面使更改生效

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章