Create a script with just the one command - along the lines of "net share <name_of_share_on_PC> /del".
Test this script as admin, to confirm it does what you want.
Create a GPO and assign that script to the Computer Startup scripts.
I have a network with 500 clients on active directory.each computer have a simple share folder on it.
now i have configure home folder for each user on active directory.so i want to stop sharing of shared folder on each computer through GP.
is there anyone help me plz?
Create a script with just the one command - along the lines of "net share <name_of_share_on_PC> /del".
Test this script as admin, to confirm it does what you want.
Create a GPO and assign that script to the Computer Startup scripts.