Search found 4 matches

by spike05
Wed Mar 29, 2017 11:22 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: Shell Script: Error: Invalid result (ÿþ2
Replies: 7
Views: 27867

I've tried, but i'm getting the error "Unable to start script. A required privilege is not held by the client"
by spike05
Wed Mar 29, 2017 8:34 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Shell Script: Error: Invalid result (ÿþ2
Replies: 7
Views: 27867

1. v10.50 2. running windows 7 enterprise SP1 3. as a service 4. Local system account (administrator) , running as domain admin 5. Lets try tab [4:33:06 PM] HostMonitor is going to execute "Test" script ... [4:33:06 PM] Script executed, correct result received: ---------- - Status: Ok - Re...
by spike05
Wed Mar 29, 2017 8:17 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Shell Script: Error: Invalid result (ÿþ2
Replies: 7
Views: 27867

Hello,

The SScript_UseWindowsPipe= wasn't present in the file. I added the line
[misc]
SScript_UseWindowsPipe=1
and tested with a 1 and a 0 no success :(

edit:
even something as simple as

Code: Select all

echo "ScriptRes:Ok:Test Ok" 
Returns the error
by spike05
Wed Mar 29, 2017 6:55 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: Shell Script: Error: Invalid result (ÿþ2
Replies: 7
Views: 27867

Shell Script: Error: Invalid result (ÿþ2

I've a script that count the number of used citrix licenses. $statusOk = "ScriptRes:Ok:" $statusBad = "ScriptRes:Bad:" $Limit = $args[0] $res = (Get-WmiObject -class "Citrix_GT_License_Pool" -Namespace "root\CitrixLicensing" -ComputerName server |Measure-Objec...