Hello guys, I am trying to create a script that will run in several computers where I work.
The purpose is to execute a software that is on the SERVER-AD domain using the local administrator credentials(the software need this to be able to write some files on the disk).
I was trying to do this with the RunAs function, but the problem is:
1- If I pass the local admin as parameter, I won't be able to log into the SERVER-AD domain.
2-If I pass a user profile that is able to log into the domain, the software will execute, but it won't be able to write it's files on disk, because the user profile doesn't have permission for that.
Any one could help me please? Sorry if I am asking too much!
Thanks in advance.