Answer the question
In order to leave comments, you need to log in
Is there any way to enable/disable shares in Windows Server 2012 r2 without deleting and re-creating them?
Faced with the fact that it is necessary to make shared resources unavailable from time to time. In Linux, this is simply done with one line in the smb config. I don’t want to delete and create balls again, changing access rights every time is also not an option.
Is there any other way to enable/disable Win Server 2012 r2 shares?
How about this in 2019 server?
Answer the question
In order to leave comments, you need to log in
changing permissions every time is also not an option
Or editing the registry with replacing the path to the ball and restarting the service, or as above. But restarting the service breaks the connection to other balls
I don’t want to delete and create balls again, changing access rights every time is also not an option.
In Linux, this is simply done with one line in the smb config.
I do not want to delete and create balls againSo you do not delete the files, just turn off the sharing of the folder.
changing permissions every time is also not an optionWhy?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question