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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 06/24/2009 by: VBScab
Red Belt

Please log in to comment
0
Can someone WMI script expert pls provide the code for this?

Thanks
Answered 06/24/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
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.
Answered 06/24/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity