Overview
When installing or starting PrizmDoc on Windows 11, you may encounter issues such as Prizm failing to start or errors during installation. These problems often arise due to changes in Windows 11, such as the absence of certain default utilities like WMIC (Windows Management Instrumentation Command-line), which PrizmDoc relies on for some functionalities.
Here are steps to resolve these issues related to the WMIC utility and general recommendations to ensure a smooth installation and operation of PrizmDoc on Windows 11.
Issues and Symptoms
Service Startup Failures:
PrizmDoc services, such as the watchdog, fail to start. Logs inC:\Prizm\Logs
may show errors like:{"name":"LAUNCHER","hostname":"DESKTOP-XXXXXX","pid":12345,"taskid":3,"gid":"abcdef12345","level":60,"err":{"message":"spawn wmic ENOENT","name":"Error","stack":"Error: spawn wmic ENOENT\n at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:485:16)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)","code":"ENOENT"},"msg":"Unexpected failure","time":"2024-11-13T06:25:34.761Z","v":0}
Missing WMIC:
Runningwmic
in the Command Prompt results in an error indicating the command is not recognized, as WMIC is no longer included by default in Windows 11 version 24H2 (Reference).Verifying Logs:
Logs are essential for diagnosing issues with PrizmDoc. You can find the logs in C:\Prizm\logs. In particular:
watchdog.launcher.log
: For service startup and dependency errors.
Resolving Issue
Open Settings on your Windows 11 system.
Navigate to System > Optional Features.
Scroll down and check whether WMIC appears in the installed features list.
- If it is not listed, click Add a feature.
- Search for WMIC and select it.
- Click Install (an internet connection is required).
Restart your system if prompted.
Confirm the installation by running
wmic
in the Command Prompt. The WMIC prompt should appear.Verify the
PATH
environment variable includes the directory: C:\Windows\System32\WbemTo update the
PATH
:- Right-click This PC > Properties > Advanced system settings.
- Under System Properties, click Environment Variables.
- Locate the
PATH
variable and add the directory above if it is missing. Ensure that the PATH has been updated system-wide and not just for the current user.
General Recommendations for Installation and Operation
Run the Installer as Administrator: Always run the PrizmDoc installer with administrative privileges to avoid permission-related issues.
Check Dependencies Before Installation: Ensure all required Windows components, such as .NET Framework and WMIC, are enabled.
Configure Firewall and Antivirus Settings: Allow PrizmDoc processes and open necessary ports.
After installation, verify that all services are running and review logs in
C:\Prizm\Logs
for errors.
Additional Assistance
If you encounter issues after following these steps:
- Verify that the logs in
C:\Prizm\Logs
correspond to the instance experiencing the issue. - Contact support with detailed information, including relevant logs and error messages.
Feedback
If this article was helpful or if you have suggestions for improvement, please let us know!
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article