Tech Support Forum banner
Status
Not open for further replies.
1 - 5 of 5 Posts

·
Registered
Joined
·
4 Posts
Discussion Starter · #1 ·
Whenever we try to share folder between computers, we need follow the "network setup wizard" step by step. Is there any command line that do not required interactive check to setup the sharing folder? we have try the following command, but it does not work without run network setup wizard first. any help?

netsh -c firewall set opmode disable
netsh -c firewall set service fileandprint enable
net share test1=d:\xtravision\test1 /UNLIMITED
cacls d:\xtravision\test1 /E /T /C /G Everyone:r
cacls d:\xtravision\test1 /E /T /C /G Administrator:F
cacls d:\xtravision\test1 /E /T /C /G System:F
 

·
Registered
Joined
·
4 Posts
Discussion Starter · #5 ·
for the "clean" windows OS( without running network setup wizard), when you right click one folder, choose "Sharing and Security" from menu, in the "Network sharing and security" box, you'll see " If you understand ......" and ask you follow the wizard. We don't want run any GUI to enable folder sharing. we do need a script file to do it automatically. THanks for any help.
 
1 - 5 of 5 Posts
Status
Not open for further replies.
Top