How can I enable a shared folder on a remote server

brianhampson
Giga Contributor

As part of an Employee onboarding process, we want to create and enable a share for a home drive on a remote server.   We have credentials that give us Domain Admin rights (don't ask - it just is that way) but are unable to get a powershell script to be able to access the administrative share on the server.   We get back "Access is Denied"

for a test, running the following command results in "Access is Denied"   while running it from a regular powershell environment works and return

Get-ChildItem \\Servername\d$\Users

This is a bit frustrating, and I hope that someone could help out.

Thanks!

1 ACCEPTED SOLUTION

brianhampson
Giga Contributor

We found a "solution"



The Orchestration MidServer Service was running as Local Service.   We set the login to the SVC.SnowOrc user and then we could access the share.



Seems like this is what all the Credentials should have done, but...   Live and learn I guess.


View solution in original post

5 REPLIES 5

Hi Brian,



That is what I have mentioned in my first reply. I thought you would have done that for the first time. Any way I am glad you found the solution.



Regards,


Vivek