A
AJ Hawkes (ahawkes)
Hi All,
I am trying to run a command on a remote computer using psexec, and I can get it to run fine by just calling the .exe, but I also need to have 2 parameters included in the command, but I can't get it to work. Here is my example:
I can run this fine:
psexec.exe -i 1 -s -d \\computername "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe"
I need to add these 2 parameters:
/silent -cleanUser
I have tried a few different ways, having parameters inside and outside of the quotes, but cannot get it to run successfully on the remote computer.
examples I have tried but don't work:
psexec.exe -i 1 -s -d \\computername "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe" /silent -cleanUser
psexec.exe -i 1 -s -d \\computername "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe /silent -cleanUser"
If I don't include the parameters, it just brings up the Citrix Receiver reset window on the remote computer and I would have to rely on a user to click ok. Does anyone have any advice on how I can run this command with the parameters included? I need to run the full command to reset Citrix Receiver silently on remote computers.
Thank you in advance!
AJ
Continue reading...
I am trying to run a command on a remote computer using psexec, and I can get it to run fine by just calling the .exe, but I also need to have 2 parameters included in the command, but I can't get it to work. Here is my example:
I can run this fine:
psexec.exe -i 1 -s -d \\computername "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe"
I need to add these 2 parameters:
/silent -cleanUser
I have tried a few different ways, having parameters inside and outside of the quotes, but cannot get it to run successfully on the remote computer.
examples I have tried but don't work:
psexec.exe -i 1 -s -d \\computername "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe" /silent -cleanUser
psexec.exe -i 1 -s -d \\computername "C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\CleanUp.exe /silent -cleanUser"
If I don't include the parameters, it just brings up the Citrix Receiver reset window on the remote computer and I would have to rely on a user to click ok. Does anyone have any advice on how I can run this command with the parameters included? I need to run the full command to reset Citrix Receiver silently on remote computers.
Thank you in advance!
AJ
Continue reading...