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


Chris Chismar
2021-08-16T15:46:24Z
We're having trouble running a job that attaches an excel file. We would like to know if there is a way to view who the window user who executes job is?
Sponsor
Forum information
Support
2021-08-18T15:03:43Z
Originally Posted by: Chris Chismar 

We're having trouble running a job that attaches an excel file. We would like to know if there is a way to view who the window user who executes job is?



Can you specify a bit? It depends on what credential you're using, and if you have local login + load profile enabled on the credential - it should execute as that user.

Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Joey S
2021-09-22T21:08:39Z
Since you did not specify what type of task you were using I will assume the only way a user would be involved is through the settings of the visualcron task

If you do not explicitly have a user setup (in Credentials) then the user would be the VisualCron service doing the work

Here is an example task where I am Writing a file



image.png
In the credential field it says "No Credential"

So in this case it will be the visualcron service creating it

If I set it like this:
image.png
Then the visualcronsql (local user) is creating it

Regardless of what you have set though, it will not really be evident in the Windows directory or in the event viewer unless you have the correct Audit settings. Depending on your computer's configuration you may not be able to see that the "Owner" is the person who created the file. My settings simply show that "Administrator" is the owner so the assumption is that "Administrator" made the file which makes no sense because that is not a specific user

You may need to adjust your audit settings or simply force the Owner to be who you want in a separate task

You can use powershell or a simple command process to do this
"Takeown" is a builtin windows process that can do it (probably)
image.png
image.png
Support
2021-10-12T18:25:45Z
Chris, are you still having this issue?
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top