PowerPlan: The system cannot find the path specified
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- powershell
研究方向
從 MSFT_PowerPlan Test-TargetResource 失敗開始,在 Windows Server 2016 和 2019 上重現回報的 PowerPlan 設定。比較路徑錯誤,並驗證資源可以驗證 High performance plan,而不會因無法定位暫存檔案或未命名檔案而失敗。
由索引模型根據 Issue 內容生成。
描述
Details of the scenario you tried and the problem that is occurring
The resource fails because it cannot find an unnamed file on Windows 2019 and a TMP file on Windows 2016.
Verbose logs showing the problem
On Windows 2016 computers Core or GUI
VERBOSE: [ComputerName]: LCM: [ Start Resource ] [[PowerPlan]Highperformance_1475074047]
VERBOSE: [ComputerName]: LCM: [ Start Test ] [[PowerPlan]Highperformance_1475074047]
VERBOSE: [ComputerName]: [[PowerPlan]Highperformance_1475074047] Validating power plan 'High performance'.
VERBOSE: [ComputerName]: LCM: [ End Test ] [[PowerPlan]Highperformance_1475074047] in 0.4530 seconds.
PowerShell DSC resource MSFT_PowerPlan failed to execute Test-TargetResource functionality with error message: Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\kc2hwjb1.tmp'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : ComputerName
On Windows 2019 computers Core or GUI
VERBOSE: [ComputerName]: LCM: [ Start Resource ] [[PowerPlan]Highperformance_1278334551]
VERBOSE: [ComputerName]: LCM: [ Start Test ] [[PowerPlan]Highperformance_1278334551]
VERBOSE: [ComputerName]: [[PowerPlan]Highperformance_1278334551] Validating power plan 'High performance'.
VERBOSE: [ComputerName]: LCM: [ End Test ] [[PowerPlan]Highperformance_1278334551] in 0.7300 seconds.
PowerShell DSC resource MSFT_PowerPlan failed to execute Test-TargetResource functionality with error message: The system cannot find the path specified
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : ComputerName
Suggested solution to the issue
Unfortunately no idea...
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Configuration in YAML format for Datum
ComputerManagementDsc:
PowerPlan:
Name: High performance
IsSingleInstance: Yes
The operating system the target node is running
OsName : Microsoft Windows Server 2016 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsBuildLabEx : 14393.1794.amd64fre.rs1_release.171008-1615
OsLanguage : en-US
OsMuiLanguages : {en-US}
OsName : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version and build of PowerShell the target node is running
PSVersion 5.1.14393.1884
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.1884
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
PSVersion 5.1.17763.316
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.316
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version of the DSC module that was used ('dev' if using current dev branch)
ComputerManagementDsc 7.0.0.0
- 主要語言
- PowerShell
- 星號
- 339
- 分支
- 80
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
dsccommunity/ComputerManagementDsc 的其他 Issue
-
chore
難度 2/5 1-3 小時 新手友好度 78/100
-
chore
難度 4/5 3-5 天 新手友好度 68/100
-
chore: Add Agentic AI development assets for GitHub Copilot可能已有人在做 @PlagueHO 於 136 天前認領。 未關閉chore
難度 4/5 3-5 天 新手友好度 64/100
-
難度 2/5 1-3 小時 新手友好度 55/100
-
Computer: AD object deletion before domain join issue可能已有人在做 @Daymarvi 於 139 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 35/100
查看 dsccommunity/ComputerManagementDsc 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
containers/bubblewrap#826 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
checkpoint-restore/criu#3304 ·
維護者通常 1 天內回覆
-
bpf.ParseBytecode panics on empty bytecode可能已有人在做 @thelastbackspace 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
Bug :bug:
難度 2/5 1-3 小時 新手友好度 72/100
sonic-net/sonic-buildimage#30541 ·
維護者通常 1 天內回覆
-
Linux: out-of-bounds `keyMap` read when a keyboard with an `EV_ABS` axis is opened as a joystick未關閉
難度 2/5 1-3 小時 新手友好度 78/100