windows指令

windows指令

維修指令(使用進階管理員)
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
sfc /scannow
使用安全模式

Step 1: 按下「 win + R」 打開運行框。輸入「msconfig」,按下「enter」鍵。

Step 2: 在「啟動」選項下,選取「安全啟動」,單擊「確定」繼續。(見下圖)

image.png

Step 3: 重新啟動電腦應用此更改。電腦將以安全模式啟動,輸入「sfc / scannow」檢查問題是否已經解決。

快速開啟控制台

Windows Key +X
搜尋"控制台"或"control"

執行開啟各個方式跟指令
應用程式
  1. Calc - 小算盤

  2. Explorer - 檔案總管

  3. Notepad - 記事本

  4. osk - 螢幕小鍵盤

管理工具
  1. CleanMgr - 磁碟清理

  2. cmd - 命令提示字元 *

  3. FsMgmt.msc - 共用資料夾

  4. GpEdit.msc - 本機群組原則

  5. mrt - 惡意軟體移除工具

  6. MsTsc - 遠端桌面 *

  7. PowerShell - 命令提示字元

  8. RegEdit - 登錄編輯程式 *

  9. ResMon - 資源監視器

  10. sdclt - 備份與還原 (Windows 7)

  11. TaskMgr - 工作管理員

  12. TaskSchd.msc - 工作排程器

  13. WinVer - 關於 Windows

控制台
  1. AppWiz.cpl - 解除安裝或變更程式

  2. CompMgmt.msc - 電腦管理

  3. control - 控制台 *

  4. DevMgmt.msc - 裝置管理員 *

  5. DiskMgmt.msc - 磁碟管理 *

  6. DxDiag - DirectX 診斷工具

  7. HdwWiz.cpl - 裝置管理員

  8. MsInfo32 - 系統資訊

  9. NetplWiz - 使用者帳戶

  10. ncpa.cpl - 網路連線 *

  11. OptionalFeatures - 開啟或關閉 Windows 功能

  12. Services.msc - 服務

  13. SysDm.cpl - 系統內容

  14. wf.msc - 具有進階安全性的 Windows 防火牆

命令提示字元/終端機
  1. arp

  2. IpConfig

  3. net

  4. NbtStat

  5. NetStat

  6. NsLookup

  7. ping

  8. route

  9. shutdown

  10. ssh

  11. telnet

打開特殊資料夾
  1. shell:AppData - 應用程式資料

    • shell:Local AppData - 應用程式資料

  2. shell:AppUpdatesFolder - 已安裝的更新

  3. shell:ConnectionsFolder - 網路連線

  4. shell:ControlPanelFolder - 所有控制台項目

  5. shell:Fonts - 字型

  6. shell:MyComputerFolder - 我的電腦/本機

  7. shell:NetworkPlacesFolder - 網路

  8. shell:PrintersFolder - 印表機

  9. shell:Profile - 用戶主要資料夾 *

    • shell:Contacts - 連絡人

    • shell:Desktop - 桌面

    • shell:Downloads - 下載

    • shell:Favorites - 我的最愛 (IE 瀏覽器)

    • shell:My Pictures - 圖片

    • shell:My Music - 音樂

    • shell:My Video - 影片

    • shell:Personal - 文件

  10. shell:ProgramFiles - 程式安裝資料夾

  11. shell:Recent - 最近的項目

  12. shell:RecycleBinFolder - 資源回收筒

  13. shell:SendTo - 傳送至 *

  14. shell:Start Menu - 開始功能表

    • shell:Programs - 程式集 (用戶)

    • shell:Common Programs - 程式集 (系統)

    • shell:Startup - 啟動 (用戶)

    • shell:Common Startup - 啟動 (系統)

  15. shell:System - System32 資料夾

  16. shell:Windows - Windows 系統資料夾

  17. %AppData% - 應用程式資料

  18. %ProgramFiles% - 程式安裝資料夾

  19. %UserProfile% - 用戶主要資料夾 *

  20. %SystemDrive% - Windows 系統磁碟

  21. %SystemRoot% - Windows 系統資料夾

  22. %Temp% - 檔案暫存區

  23. %WinDir% - Windows 系統

其它

net指令的使用

#使用網路硬碟
net use \\{ip} /user:{username} {password}
#備註:沒有密碼後面需增加\login

#移除網路硬碟
net use \\ip /delete
net use /delete *

 

硬碟檢修
chkdsk /r /x c:
WSL安裝

可以使用下方指令檢視可以安裝子系統

wsl --install

加上-d  <系統名稱>就可以安裝

wsl --install -d <subsystem>

圖片.png

如果出現下方錯誤

圖片.png

可以使用以下指令處理

wsl --set-default-version 1

完成後會出現操作成功,然後再重新啟用子系統就可以正常安裝。

圖片.png

WSL更新

wsl --update

WSL關閉

wsl --shutdown
遠端連線

如果要使用 Ctrl+alt+Del時將Del更換成End就可以了。

Office相關

PowerPoint

另存照片解析度

  1. 結束所有的 Windows 程式。

  2. 以滑鼠右鍵按一下 [開始],然後選取 [執行]。 (在 Windows 7 中,選取 [開始],然後 [執行]。)

  3. 在 [開啟] 方塊中,輸入 regedit,然後選取 [確定]。

  4. 請根據您執行的 PowerPoint 版本,使用下列其中一組註冊子機碼:

    PowerPoint 2016, 2019, Microsoft 365 PowerPoint

    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\PowerPoint\Options

    PowerPoint 2013

    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\PowerPoint\Options

    PowerPoint 2010

    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\PowerPoint\Options

    PowerPoint 2007

    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\PowerPoint\Options

    PowerPoint 2003

    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\PowerPoint\Options

  5. 選取 [選項] 子機碼,指向 [編輯] 功能表中的 [新增],然後選取 [DWORD (32 位元) 值]。

  6. 輸入 ExportBitmapResolution,然後按下 Enter。

  7. 確定選取 ExportBitmapResolution ,然後選取 [編輯] 功能表上的 [修改]。

  8. 在 [編輯 DWORD 值] 對話方塊中,選取 [十進位]。

  9. 在 [數值資料] 方塊中,將解析度指定為 300。 或者使用下表中的參數。

    十進位值 全螢幕像素(水平 x 垂直) 寬螢幕像素(水平 x 垂直) 每英寸點線(水平和垂直)
    50 500 × 375 667 × 375 50 DPI
    96 (預設) 960 × 720 1280 × 720 96 DPI
    100 1000 × 750 1333 × 750 100 DPI
    150 1500 × 1125 2000 × 1125 150 DPI
    200 2000 × 1500 2667 × 1500 200 DPI
    250 2500 × 1875 3333 × 1875 250 DPI
    300 3000 × 2250 4000 × 2250 300 DPI