-
Notifications
You must be signed in to change notification settings - Fork 563
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Read the FAQ first
- I have checked the FAQ but the issue is not covered
Description
Starting with version 2.41.0 and continuing through the current latest version 2.45.0, attempting to run fastfetch under Windows PE (Windows Preinstallation Environment, December 2024 build) results in the following error:
The code execution cannot proceed because pdh.dll was not found. Reinstalling the program may fix this problem.
This issue does not occur in version 2.40.4 and older. Those versions work fine in the same environment without requiring any additional system DLLs.
Workaround:
Manually copying pdh.dll from a full Windows installation (e.g., from %SystemRoot%\System32\pdh.dll on Windows 10/11) into the same directory as fastfetch.exe resolves the issue. This confirms that the issue is related to the missing pdh.dll in the Windows PE environment.
Version used
fastfetch 2.45.0 (x86_64)
Bug prevalence
Always
Regression
Yes
Installation
GitHub Releases
Package manager
No response
Screenshots
Configuration
System information
[
{
"type": "Title",
"result": {
"userName": "SYSTEM",
"fullUserName": "",
"hostName": "minint-idhdpn3",
"homeDir": "X:/windows/system32/config/systemprofile/",
"exePath": "X:/Info/fastfetch/fastfetch.exe",
"userShell": ""
},
"stat": 0.005200000014156103
},
{
"type": "Separator",
"error": "Unsupported for JSON format",
"stat": 0.0002000001259148121
},
{
"type": "OS",
"result": {
"buildID": "",
"codename": "",
"id": " ",
"idLike": "Windows",
"name": "",
"prettyName": "",
"variant": "",
"variantID": "",
"version": "",
"versionID": ""
},
"stat": 0.9185999999754131
},
{
"type": "Host",
"result": {
"family": "Virtual Machine",
"name": "Predator PH517-61",
"version": "V1.09",
"sku": "",
"vendor": "Acer",
"serial": "N9Q3GWW00281518FE17600",
"uuid": "2F9E6CC3-8AE4-43D8-B3A7-D8C4976A5DC0"
},
"stat": 0.0501999999396503
},
{
"type": "BIOS",
"result": {
"date": "30.04.2019",
"release": "",
"vendor": "Insyde Corp.",
"version": "V1.09",
"type": "UEFI"
},
"stat": 0.008599999826401472
},
{
"type": "Bootmgr",
"result": {
"name": "UEFI VBOX CD-ROM VB0-1a2b3c4d ",
"firmware": "",
"order": 1,
"secureBoot": false
},
"stat": 0.41470000008121133
},
{
"type": "Board",
"result": {
"name": "Cayman_PRS",
"vendor": "PRS",
"version": "V1.09",
"serial": "0"
},
"stat": 0.00790000008419156
},
{
"type": "Chassis",
"result": {
"type": "Other",
"vendor": "Oracle Corporation",
"version": "",
"serial": ""
},
"stat": 0.006500000134110451
},
{
"type": "Kernel",
"result": {
"architecture": "x86_64",
"name": "WIN32_NT",
"release": "10.0.26100.1",
"version": "26100.1.amd64fre.ge_release.240331-1435",
"displayVersion": "24H2",
"pageSize": 4096
},
"stat": 0.0020999996922910213
},
{
"type": "InitSystem",
"error": "Not supported on this platform",
"stat": 0.0016999999061226845
},
{
"type": "Uptime",
"result": {
"uptime": 3420213,
"bootTime": "2025-06-06T11:52:25.671+0200"
},
"stat": 0.03319999994710088
},
{
"type": "Loadavg",
"error": "Not supported on this platform",
"stat": 0.002199999988079071
},
{
"type": "Processes",
"result": 35,
"stat": 0.43619999988004565
},
{
"type": "Packages",
"error": "No packages from known package managers found",
"stat": 0.06490000011399388
},
{
"type": "Shell",
"result": {
"exe": "X:\\Windows\\System32\\cmd.exe",
"exeName": "cmd.exe",
"exePath": "X:\\Windows\\System32\\cmd.exe",
"pid": 1076,
"ppid": 788,
"processName": "cmd.exe",
"prettyName": "CMD",
"version": "10.0.26100.1",
"tty": null
},
"stat": 0.9382999995723367
},
{
"type": "Editor",
"error": "$VISUAL or $EDITOR not set",
"stat": 0.011200000066310167
},
{
"type": "Display",
"result": [
{
"id": 65537,
"name": "",
"primary": true,
"output": {
"width": 1024,
"height": 768,
"refreshRate": 64.0
},
"scaled": {
"width": 1024,
"height": 768
},
"preferred": {
"width": 1024,
"height": 768,
"refreshRate": 1.0
},
"physical": {
"width": 0,
"height": 0
},
"rotation": 0,
"bitDepth": 8,
"hdrStatus": "Unsupported",
"type": "Unknown",
"manufactureDate": null,
"serial": null,
"platformApi": "GDI"
}
],
"stat": 0.8778000003658235
},
{
"type": "Brightness",
"result": [],
"stat": 206.23809999972582
},
{
"type": "Monitor",
"error": "Monitor module is an alias of Display module",
"stat": 0.0035000001080334187
},
{
"type": "LM",
"error": "Not supported on this platform",
"stat": 0.0007000002078711987
},
{
"type": "DE",
"result": {
"processName": "",
"prettyName": "Aero",
"version": ""
},
"stat": 0.00279999990016222
},
{
"type": "WM",
"result": {
"processName": "explorer.exe",
"prettyName": "Internal",
"protocolName": "",
"pluginName": "",
"version": ""
},
"stat": 0.005499999970197678
},
{
"type": "WMTheme",
"error": "Failed to find current theme",
"stat": 0.02689999993890524
},
{
"type": "Theme",
"error": "Not supported on this platform",
"stat": 0.003599999938160181
},
{
"type": "Icons",
"error": "ffRegOpenKeyForRead(Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\HideDesktopIcons\\{NewStartPanel|ClassicStartMenu}) failed",
"stat": 0.007699999958276749
},
{
"type": "Font",
"result": {
"display": "Segoe UI (12pt) [Caption / Menu / Message / Status]",
"fonts": [
"Segoe UI (12pt)",
"Segoe UI (12pt)",
"Segoe UI (12pt)",
"Segoe UI (12pt)"
]
},
"stat": 0.1742999996058643
},
{
"type": "Cursor",
"error": "RegOpenKeyExW(HKEY_CURRENT_USER\\Control Panel\\Cursors) failed",
"stat": 0.014400000218302011
},
{
"type": "Wallpaper",
"result": "X:\\windows\\TEMP\\BGInfo.bmp",
"stat": 0.012399999890476465
},
{
"type": "Terminal",
"result": {
"processName": "winlogon.exe",
"exe": "X:\\Windows\\System32\\winlogon.exe",
"exeName": "winlogon.exe",
"exePath": "X:\\Windows\\System32\\winlogon.exe",
"pid": 652,
"ppid": 552,
"prettyName": "winlogon",
"version": "10.0.26100.1",
"tty": ""
},
"stat": 0.464499999769032
},
{
"type": "TerminalFont",
"error": "Unknown terminal: winlogon.exe",
"stat": 0.01069999998435378
},
{
"type": "TerminalSize",
"result": {
"columns": 120,
"rows": 30,
"width": 960,
"height": 480
},
"stat": 0.1957999998703599
},
{
"type": "TerminalTheme",
"error": "Failed to detect terminal theme",
"stat": 99.90260000014678
},
{
"type": "CPU",
"result": {
"cpu": "AMD Ryzen 7 2700",
"vendor": "AuthenticAMD",
"packages": 1,
"cores": {
"physical": 4,
"logical": 4,
"online": 4
},
"frequency": {
"base": 3194,
"max": 0
},
"coreTypes": [
{
"count": 4,
"freq": 3194
}
],
"temperature": null
},
"stat": 107.45530000003055
},
{
"type": "CPUCache",
"result": {
"l1": [
{
"size": 32768,
"num": 4,
"lineSize": 64,
"type": "data"
},
{
"size": 65536,
"num": 4,
"lineSize": 64,
"type": "instruction"
}
],
"l2": [
{
"size": 524288,
"num": 4,
"lineSize": 64,
"type": "unified"
}
],
"l3": [
{
"size": 16777216,
"num": 4,
"lineSize": 64,
"type": "unified"
}
]
},
"stat": 0.016700000036507845
},
{
"type": "CPUUsage",
"result": [
0.0,
0.0,
14.285714285714285,
14.285714285714285
],
"stat": 200.35580000001937
},
{
"type": "GPU",
"error": "GPU detection failed",
"stat": 5.030499999877065
},
{
"type": "Memory",
"result": {
"total": 8570740736,
"used": 1303752704
},
"stat": 0.04850000003352761
},
{
"type": "PhysicalMemory",
"error": "Memory device is not found in SMBIOS data",
"stat": 0.005699999630451202
},
{
"type": "Disk",
"result": [
{
"bytes": {
"available": 63429279744,
"free": 63429279744,
"total": 63430459392,
"used": 1179648
},
"files": {
"total": null,
"used": null
},
"filesystem": "exFAT",
"mountpoint": "C:\\",
"mountFrom": "\\Device\\HarddiskVolume4",
"name": "",
"volumeType": [
"External"
],
"createTime": "1979-12-31T23:00:00.000+0100"
},
{
"bytes": {
"available": 0,
"free": 0,
"total": 652142592,
"used": 652142592
},
"files": {
"total": null,
"used": null
},
"filesystem": "UDF",
"mountpoint": "D:\\",
"mountFrom": "\\Device\\CdRom0",
"name": "DVD_ROM",
"volumeType": [
"External",
"Read-only"
],
"createTime": "2024-05-23T08:51:41.812+0200"
},
{
"bytes": {
"available": 508940288,
"free": 508940288,
"total": 538371072,
"used": 29430784
},
"files": {
"total": null,
"used": null
},
"filesystem": "NTFS",
"mountpoint": "X:\\",
"mountFrom": "\\Device\\Ramdisk{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}",
"name": "Boot",
"volumeType": [
"Regular"
],
"createTime": null
}
],
"stat": 1.004499999806285
},
{
"type": "Btrfs",
"error": "Not supported on this platform",
"stat": 0.00139999995008111
},
{
"type": "Zpool",
"error": "Not supported on this platform",
"stat": 0.0004999996162950993
},
{
"type": "Battery",
"result": [
{
"capacity": 100.0,
"manufacturer": "",
"manufactureDate": "",
"modelName": "",
"status": "AC Connected",
"technology": "",
"serial": "",
"temperature": null,
"cycleCount": 0
}
],
"stat": 0.010100000072270632
},
{
"type": "PowerAdapter",
"error": "Not supported on this platform",
"stat": 0.0008999998681247234
},
{
"type": "Player",
"error": "Player module is an alias of Media module",
"stat": 0.0019000000320374966
},
{
"type": "Media",
"error": "A C++ exception is thrown",
"stat": 1.2256000000052154
},
{
"type": "PublicIp",
"error": "getaddrinfo() failed",
"stat": 0.004799999762326479
},
{
"type": "DNS",
"result": [],
"stat": 1.2616999996826053
},
{
"type": "Wifi",
"error": "dlopen wlanapi.dll failed",
"stat": 0.25700000021606684
},
{
"type": "DateTime",
"result": "2025-06-06T12:49:26.513+0200",
"stat": 0.011599999852478504
},
{
"type": "Locale",
"result": "en-US",
"stat": 0.004700000397861004
},
{
"type": "Vulkan",
"error": "ffvkCreateInstance() failed: VK_ERROR_INCOMPATIBLE_DRIVER",
"stat": 0.0026999996043741703
},
{
"type": "OpenGL",
"error": "dlopen opengl32.dll failed",
"stat": 0.14810000034049153
},
{
"type": "OpenCL",
"error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR",
"stat": 0.002199999988079071
},
{
"type": "Users",
"result": [],
"stat": 0.7313000001013279
},
{
"type": "Bluetooth",
"error": "dlopen bthprops.cpl failed",
"stat": 0.1747000003233552
},
{
"type": "BluetoothRadio",
"error": "dlopen bthprops.cpl failed",
"stat": 0.14449999993667006
},
{
"type": "Sound",
"error": "CoCreateInstance(CLSID_MMDeviceEnumerator) failed",
"stat": 0.6981999999843538
},
{
"type": "Camera",
"error": "dlopen mfplat.dll failed",
"stat": 0.16130000026896596
},
{
"type": "Gamepad",
"result": [],
"stat": 0.014400000218302011
},
{
"type": "Mouse",
"result": [
{
"serial": "",
"name": "Microsoft PS/2 Mouse"
},
{
"serial": "",
"name": "USB Tablet"
}
],
"stat": 0.885499999858439
},
{
"type": "Keyboard",
"result": [
{
"serial": "",
"name": "Standard PS/2 Keyboard"
}
],
"stat": 0.418100000359118
},
{
"type": "Weather",
"error": "getaddrinfo() failed",
"stat": 0.006700000260025263
},
{
"type": "NetIO",
"result": [
{
"name": "Ethernet",
"defaultRoute": true,
"txBytes": 0,
"rxBytes": 0,
"txPackets": 0,
"rxPackets": 0,
"rxErrors": 0,
"txErrors": 0,
"rxDrops": 0,
"txDrops": 0
}
],
"stat": 373.8473000000231
},
{
"type": "DiskIO",
"error": "No physical disk found",
"stat": 0.010299999732524157
},
{
"type": "PhysicalDisk",
"result": [
{
"name": "VBOX HARDDISK",
"devPath": "\\\\.\\PhysicalDrive0",
"interconnect": "SATA",
"kind": "SSD",
"size": 68719476736,
"serial": "VB60382ca2-f9535fef",
"removable": false,
"readOnly": false,
"revision": "1.0",
"temperature": null
},
{
"name": "MX MXUB3MLX-64G",
"devPath": "\\\\.\\PhysicalDrive1",
"interconnect": "USB",
"kind": "SSD",
"size": 63435702272,
"serial": "000000000000000764",
"removable": true,
"readOnly": false,
"revision": "1.00",
"temperature": null
},
{
"name": "VBOX CD-ROM",
"devPath": "\\\\.\\CDROM0",
"interconnect": "SATA",
"kind": null,
"size": 652142592,
"serial": "",
"removable": true,
"readOnly": true,
"revision": "1.0",
"temperature": null
}
],
"stat": 7.650299999862909
},
{
"type": "TPM",
"error": "dlopen TBS.dll failed",
"stat": 0.2284999997355044
},
{
"type": "Version",
"result": {
"projectName": "fastfetch",
"sysName": "WIN32",
"architecture": "x86_64",
"version": "2.45.0",
"versionGit": "",
"cmakeBuiltType": "RelWithDebInfo",
"compileTime": "Jun 5 2025, 02:49:45",
"compiler": "clang 20.1.5",
"debugMode": false,
"libc": "ucrt 14.0"
},
"stat": 0.004900000058114529
},
{
"type": "Break",
"error": "Unsupported for JSON format",
"stat": 0.0012000002898275852
},
{
"type": "Colors",
"error": "Unsupported for JSON format",
"stat": 0.000599999912083149
}
]
Features built-in
threads
vulkan
imagemagick7
zlib
opencl
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working