/build/static/layout/Breadcrumb_cap_w.png

net share grant

Hi Friends,

I found that net share /grant command works only in windows 2003 and not on XP.

Is there a way grant with net share work on XP machine as well.

Please suggest.

Thanks

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 14 years ago
Red Belt
0
As is usually the case, there's a much more elegant way: use WMI.

http://groups.google.com/group/microsoft.public.platformsdk.adsi/msg/e888d7df9cc4abaf
Posted by: djain3 14 years ago
Second Degree Blue Belt
0
Can someone WMI script expert pls provide the code for this?

Thanks
Posted by: anonymous_9363 14 years ago
Red Belt
0
Er...the code is in the post I linked to...and you don't need to be a WMI expert to decipher it, really.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ