---
title: "How to address the error \"ConvertTo-SecureString : The system cannot find the path specified.\" in the Citrix Integration solution"
description: "The error \"ConvertTo-SecureString: The system cannot find the path specified\" occurs in Geneos Citrix Integration. Running the Netprobe as the user who encrypted the Citrix password resolves this issue."
url: "https://docs.itrsgroup.com/docs/faq/geneos/360019541038-geneos-how-to-address-the-error-convertto-securestring-the-system-cannot-find-the-path-specified-in-the-citrix-integration-solution/index.html"
---
## Problem

*One may encounter the following error when configuring the Geneos Citrix Integration template for the first time:*

```
<Fri Apr 16 19:12:39> ERROR: TOOLKIT2 ConvertTo-SecureString : The system cannot find the path specified.

At C:\Program Files\NetprobeNT gelo 6371\citrix-sessions.ps1:18 char:14

- $secpasswd = ConvertTo-SecureString -String $password

- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- CategoryInfo : InvalidArgument: (:) [ConvertTo-SecureString], CryptographicException

- FullyQualifiedErrorId : ImportSecureString_InvalidArgument_Cryptographic

Error,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand

New-Object : Exception calling ".ctor" with "2" argument(s): "Cannot process

argument because the value of argument "password" is null. Change the value of

argument "password" to a non-null value."

At C:\Program Files\NetprobeNT gelo 6371\citrix-sessions.ps1:21 char:12

- $mycreds = New-Object System.Management.Automation.PSCredential($user ...

- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvoca

tionException

- FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power

Shell.Commands.NewObjectCommand

Invoke-RestMethod : The URI prefix is not recognized.

At C:\Program Files\NetprobeNT gelo 6371\citrix-sessions.ps1:24 char:15

- ... essions = $(Invoke-RestMethod -Uri $($endpoint + '/Sessions/' + $ses ...

- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- CategoryInfo : NotImplemented: (:) [Invoke-RestMethod], NotSupportedException

- FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.Po

werShell.Commands.InvokeRestMethodCommand
```

### Possible cause(s)

This can happen when the Citrix password is encrypted by a Windows user and the Netprobe is being run by the Local System account.

### Possible solution(s)

The Netprobe should be run by the user that encrypted the Citrix password.


