开发者

Can I create a shared folder on remote machine?

开发者 https://www.devze.com 2023-03-10 04:51 出处:网络
I am trying to automate the Account Creation process in Active Direct开发者_Go百科ory and I want to create the user home directory on a server and then I want it to become a shared folder with some us

I am trying to automate the Account Creation process in Active Direct开发者_Go百科ory and I want to create the user home directory on a server and then I want it to become a shared folder with some user permissions.

I can create folder on that machine (remote machine) but I cannot convert it to a shared folder. Is there a way I can do that. Note I can create shared folder locally and can set permissions but cannot do that when the machine is different.


Which language are you using to script ?

You can do exactly what you are doing localy, on a remote computer using psExec from SysInternals. You'll find at th end of this post how to do it in ldap mixed in with WMI.

0

精彩评论

暂无评论...
验证码 换一张
取 消