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.


jmccord
2014-02-24T01:35:50Z
Setting up Remote Execution and receiving a Access Denied error in Visual Cron.

Running a simple powershell script on the remote server.

1) Using Host Name of the remote Server (remoteserver)
2) Credentials setup as no Local Logon or Load User Profile
3) Command: \\remoteserver\C$\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
4) Arguments: \\remoteserver\D$\Scripts\PowershellLoop.ps1

Both UNC paths can be reached from the client workstation.
5) WMI enabled and running on both computers

Receive the following Error
Exception in Task: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Checked the exception logs and did not see any indicated error on the client or the remote server.

If someone has done this and has it working please indicated the setup that was needed for the remote execution.
Sponsor
Forum information
jmccord
2014-02-24T01:41:10Z
Client Workstation is Windows 7
Remote Server: Windows 2008 R2

Visual Cron Version: 7.1.2

Support
2014-02-25T10:17:32Z
Remote execute is a Task that is limited in many ways by Windows. Not sure how the user needs to setup for accessing that network share because by default this API that we use does not have any access to network drives. On workaround is the Execute Task in remote mode:

http://www.visualcron.com/forum.aspx?g=posts&t=3832 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top