bsharath
asked on
Need a Remote Script to Disable all machines in the drives Default Drives.
Hi,
I need a script with which i can disable the default specific shares only.
Say the Machine has C$,D$,E$,F$ I want the script to disable and never turn on after restart except C$.
I want the C$ to be as it is but none of the other drives to come back.
Regards
Sharath
I need a script with which i can disable the default specific shares only.
Say the Machine has C$,D$,E$,F$ I want the script to disable and never turn on after restart except C$.
I want the C$ to be as it is but none of the other drives to come back.
Regards
Sharath
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, just run it as is on yours, then check if those default shares are gone. You should be able to re-enable them by restarting your Server service.
It won't remove C$ because it only looks for D$, E$, F$, and G$
Regards,
Rob.
It won't remove C$ because it only looks for D$, E$, F$, and G$
Regards,
Rob.
ASKER
Hi Rob help on this related post please...
https://www.experts-exchange.com/questions/23997663/Script-to-disable-all-default-shares-Need-the-changes-for-Vista.html
https://www.experts-exchange.com/questions/23997663/Script-to-disable-all-default-shares-Need-the-changes-for-Vista.html
ASKER
Hi Rob help on this related post please...
https://www.experts-exchange.com/questions/23997663/Script-to-disable-all-default-shares-Need-the-changes-for-Vista.html
https://www.experts-exchange.com/questions/23997663/Script-to-disable-all-default-shares-Need-the-changes-for-Vista.html
ASKER
Will it not rremove the c$?