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.


0 Comments   [ + ] Show comments

Answers (3)

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

Posted by: djain3 13 years ago
Second Degree Blue Belt
Can someone WMI script expert pls provide the code for this?

Posted by: anonymous_9363 13 years ago
Red Belt
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.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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