Skip to content

Commit aac22bc

Browse files
committed
Adds UI configuration description for path env
1 parent 967289b commit aac22bc

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

doc/knowledgebase/IWKB000005.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ The `icingapowershell` service of the `Icinga for Windows` solution is unable to
4242

4343
## Solution
4444

45+
### With PowerShell
46+
4547
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`.
4648

4749
You can check this by opening a PowerShell by running the following command:
@@ -85,3 +87,39 @@ Restart-Service 'icingapowershell'
8587
```
8688

8789
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

Comments
 (0)