Quantcast
Channel: Software Communities : Popular Discussions - ActiveRoles
Viewing all articles
Browse latest Browse all 1277

creating share permission on file server

$
0
0

i have a script which require to create share permission on a file server during provisioning. the script is contain in a bat file and execute using shell.run method via vbs script created in ARS.

 

E.g.

in vbs script contain

shell.run abc.bat user1

 

in the abc.bat file it contain

psexec \\fileserver net share %1$=c:\share\%1$ /grant:domain\%1,Change

 

I notice when user is provision, the above example is not working. But when I run the batch file manually in command prompt. it can execute successfully. Is there anyway I can troubleshoot/debug?


Viewing all articles
Browse latest Browse all 1277

Trending Articles