Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


apankov
2017-07-10T18:39:17Z
Hi Support,
- VC is running under a Local System Account
- I am trying to start a simple task that runs WS FTP script under DOMAIN\user account (because this kind of tasks may require a network access)
- Task is starting a simple cmd file that contains a command:
Quote:

"C:\Program Files (x86)\Ipswitch\WS_FTP 12\ftpscrpt" -f "C:\temp\VC test.scp"


It's failing by timeout, no output with any error message
This cmd is running ok when I start it as a batch file manually, under the same domain\user account, so account seems to have all necessary permissions.
VC is running cmd with WS FTP script when task is under Local System Account, no problem
Do you have any idea how to make VC to run WS FTP script under domain\user?

Sponsor
Forum information
Support
2017-07-11T19:29:29Z
Have you tried with a Credential with these two combinations;

1. local login + load profile
2. nothing checked
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
apankov
2017-07-11T20:03:53Z
local login + local profile - failing immediately. Return code is -1073741502
Nothing checked - failure by timeout (I have setup a 2 min timeout, as a job is waiting indefinitely). Job is doing nothing and then failing. Return code 77777
Support
2017-07-13T16:49:17Z
1. Turn on Extended debugging in Server settings->Log
2. Edit the Credential and select CreateProcessAsUserW
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
apankov
2017-07-13T17:15:19Z
Error popup:
[admin@localhost:IPC] Message from server - VC test (ws_ftp script)
Unhandled error when trying to start process: A required privilege is not held by client
Support
2017-07-14T08:55:33Z
Seems like user is not an admin. Try with another admin user. You can also try to turn off UAC through VisualCron->Server settings and reboot the server.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
apankov
2017-07-14T13:22:13Z
Of course, user is not an admin. That's the goal - to run VC service and its tasks under not-a-sysadmin user, it's about clients requirements.
The plan was to run VC under "Local System Account" an all tasks - under a special not-admin account that has all necessary network permissions. "Local System Account" cannot be setup to access network folders, unfortunately.
Most of our jobs are to create a data/report file, encrypt and send it via SFTP to clients. Or put to the network folder where client can pick it up via SFTP.
Can you confirm that VC tasks guaranteed under admin account only?
Support
2017-07-19T08:13:58Z
You said before that you got Privilege not held. Did you switch to:

CreateProcessAsUserW + Logon_Batch option?

Normally you need admin rights to start a process. Maybe you can workaround this by turning of UAC and reboot.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top