I'm doing a Deployment Project in VS2008, and at the end of the installation flow I need to create a shared folder with Full Control permissions to Everyone on the local machine accessible from a company domain. I succeeded to create the shared folder, but Everyone has read access. Any help on how to do this would be appreciated.
Thank you, Valeriu
I assume you're using the
ManagementClass
to create a shared folder.Setting the Access field of your
ManagementBaseObject
should give full control to everyone:If the above doesn't work you might wanna try explicitly setting the security level with smt like the following:
If none of the above helps, then I'd suggest you post your code.