You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/knowledgebase/IWKB000005.md
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@ The `icingapowershell` service of the `Icinga for Windows` solution is unable to
42
42
43
43
## Solution
44
44
45
+
### With PowerShell
46
+
45
47
To resolve this issue, ensure that your `PATH` environment variable is containing a directory which inherits a `powershell.exe`. By default, this should be `C:\Windows\System32\WindowsPowerShell\v1.0`.
46
48
47
49
You can check this by opening a PowerShell by running the following command:
Now the error should be resolved the the service should be running.
90
+
91
+
### With UI
92
+
93
+
You can use the UI for modifying the `PATH` variable. Please follow the steps below
94
+
95
+
* Click on `Windows/Start` with the right mouse button
96
+
* Click on `System`
97
+
* In the new windows click in `Advanced System Settings` (on Windows 2012 R2 or older on the left side, on Windows 2016 or newer on the right side)
98
+
* Click on the `Advanced` tab
99
+
* Click on `Environment Variables`
100
+
* In the section `System variables` locate the entry `Path` and double click or simply left click to select it and then click the `Edit` button
101
+
102
+
Windows 2012 R2 or older:
103
+
104
+
* Jump to the end of the textbox `Value of Variable` (containing different directories) and add a `;` if not already present. Afterwards add the path containing your `powershell.exe`, like `C:\Windows\System32\WindowsPowerShell\v1.0`
105
+
* Close all windows by clicking on `OK`
106
+
107
+
Windows 2016 or newer
108
+
109
+
* Click the `New` button on the top-right of the new window
110
+
* Add the path containing your `powershell.exe`, like `C:\Windows\System32\WindowsPowerShell\v1.0` on the newly created entry
111
+
* Close all windows by clicking on `OK`
112
+
113
+
Now open a new PowerShell session again and check of the new directory was added:
114
+
115
+
```powershell
116
+
($ENV:Path).Split(';')
117
+
```
118
+
119
+
Once the directory is there, restart the `icingapowershell` service by running
120
+
121
+
```powershell
122
+
Restart-Service 'icingapowershell'
123
+
```
124
+
125
+
Now the error should be resolved the the service should be running.
0 commit comments