I have a server access where I want to run some bat files in startup that can run automatically for any user.
The problem is
Other users are unable to run this file and it is required to be run as the user who created the file (Don't know why?, possibly because they don't have admin privileges)
Even with runas they are prompted for a password. I dont have a problem sharing the password but don't know how the task will be automated.
runas /savecred /user:Username "c:/xyz.bat" but it fails. The command
runas works with
/netonly but then it promots for a password.
Is there anyway this can be solved and the batch job automated for another user?