發表文章

目前顯示的是有「Windows」標籤的文章

解決在Windows10中CMD暫停執行的問題

圖片
 停用「Quick Edit Mode」 Keywords: windows 10, quick edit mode Ref: https://www.statmodel.com/download/QuickEdit.pdf

完整修改Windows使用者名稱(裝置名稱、使用者名稱、本機使用者和群組、使用者資料夾名稱、登錄檔)

圖片
裝置名稱 (系統 > 關於) 使用者名稱 (舊版控制台 > 使用者帳戶 > 使用者帳戶) 本機使用者和群組 (電腦管理 > 本機使用者和群組 > 使用者) // Windows專業版才有這個 使用者資料夾名稱 01. 電腦管理 > 本機使用者和群組 > 使用者,雙擊Administrator,再去掉帳戶已禁用的√ 勾選 02. 點選應用,確定,然後登出當前使用者,就會出現Administrator登錄選項,點選登入,這個預設沒有密碼 03. 檔案總管 > 本機 > C: > 使用者,重新命名 登錄檔 快捷鍵win+R,啟動執行,輸入regedit 開啟HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ 點選裡面的資料夾,修改ProfileImagePath與上方名稱一致

解決 Windows 10 區網喚醒(WOL) 失敗的問題

圖片
簡單來說就是 在win10下預設關機行為有變 所以WOL會停用 要把電源選項裡的「開啟快速啟動」關閉,預設為開啟 詳細: https://docs.microsoft.com/zh-tw/troubleshoot/windows-client/deployment/wake-on-lan-feature

Windows 10電源計畫,啟用「終極效能」模式

Power shell command: powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 轉載自 AlpacaTech 羊駝科技 https://tech.alpaca0x0.com/2021/04/06/Windows10-Ultimate-Performance/

Windows wmic 命令 (以取得系統資訊為例)

 print_pc_spec.bat ------------------------------ ::得到系統資訊.bat,執行bat檔案即可 ::系統資訊輸出到HTML檔案,檢視幫助: wmic /? ::wmic [系統引數名] list [brief|full] /format:hform >|>> [檔名] wmic bios            list brief   /format:hform > PCinfo.html wmic baseboard       list brief   /format:hform >>PCinfo.html wmic cpu             list brief    /format:hform >>PCinfo.html wmic computersystem  list brief   /format:hform >>PCinfo.html wmic diskdrive       list brief    /format:hform >>PCinfo.html wmic memorychip      list brief    /format:hform >>PCinfo.html ::擷取部分資訊 ::wmic memorychip get devicelocator, manufacturer, partnumber ------------------------------ 參考資料 Windows WMIC命令使用詳解(附例項)

UE4 渲染編譯(Shader Compile) 加速方法

圖片
前言 UE4的使用者們應該都曾有遇過等待大量的渲染編譯(Shader Compile)的困擾,這邊提供一個小技巧來提升渲染編譯的速度,那就是修改Windows工作管理員處理程序的「基本優先順序」。 方法 「基本優先順序」欄位預設是不顯示的,在工作管理員「詳細資料」頁籤裡,在上方欄位處點擊滑鼠右鍵可以透過「選取欄位」選項來新增顯示的欄位。 在UE4中負責處理渲染編譯的程序為ShaderCompileWorker.exe,但你沒有辦法直接在工作管理員裡透過修改優先順序的方式來改善渲染編譯速度,理由為UE4在處理每一個Shader時會重新運行ShaderCompileWorker.exe,並將優先順序預設設定為「在標準以下」,因此你可以觀察到ShaderCompileWorker.exe該程序PID(Process ID)一直不斷變換,且優先順序維持為在標準之下。 MSDN-SetPriorityClass 在不修改UE4原始碼的前提下,比較暴力的處理方式是寫一支程序不斷的去修改ShaderCompileWorker.exe的優先順序,可參考以下範例: GitHub-AdrianJMartin/FixUnrealShaderPriority 或是可以直接購買UE4 Plugin- Compiler Booster

[Work Automation] Create Game Console App (VSCode + PowerShell + Qt for Python)

圖片
Windows work automation development history : Visual Basic Script Batch File PowerShell PowerShell has two branches ( Microsoft Docs ) Windows PowerShell (Windows PowerShell 5.1, .NET Framework) PowerShell Core (PowerShell 7, .NET Core 3.1) The following is an introduction to using PowerShell and Qt in VSCode : Environment Build Install Qt 5.15.0 ( download link ) Install Qt Creator IDE Install Qt Design Studio Install Python 3.8.5 ( download link ) Install PySide2 5.15.0 ( download link ) Install PyInstaller 4.0 ( download link ) Install Visual Studio Code ( download link ) Install VSCode extension - PowerShell ( guide ) Install VSCode extension - Python ( guide ) Install PsTools ( download link ) Windows Environment Settings setup.ps1 # following power shell script must be run on administrator # enable administrator and set password net user administrator [password] /active:yes # ------------------------------ # after loging administrator account # set execution policy for run *...