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
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:
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)
Edited by user
2021-09-22T21:09:38Z
|
Reason: Not specified