Jump to content

Share Folder automatically


Recommended Posts


Use followin commands

net share shareName=Drive:Path

in your case

net share spiderman=d:\

for mapping drive first shre a folder then use folowing

i'll map above folder

net use x: \\matrix\spiderman

here x drive will be shown in my computer

use following commands in a batch file and run during runonceex

BOL :thumbup

Link to comment
Share on other sites

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares]
"G"=hex(7):43,53,43,46,6C,61,67,73,3D,30,00,4D,61,78,55,73,65,73,3D,34,32,39,34,\
39,36,37,32,39,35,00,50,61,74,68,3D,47,3A,5C,00,50,65,72,6D,69,73,73,69,6F,6E,\
73,3D,30,00,52,65,6D,61,72,6B,3D,00,54,79,70,65,3D,30,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares\Security]
"G"=hex(3):01,00,04,80,30,00,00,00,4C,00,00,00,00,00,00,00,14,00,00,00,02,00,1C,\
00,01,00,00,00,00,00,14,00,A9,00,12,00,01,01,00,00,00,00,00,01,00,00,00,00,01,\
05,00,00,00,00,00,05,15,00,00,00,4D,64,49,2E,26,76,1E,2F,07,E5,3B,2B,E9,03,00,\
00,01,05,00,00,00,00,00,05,15,00,00,00,4D,64,49,2E,26,76,1E,2F,07,E5,3B,2B,01,\
02,00,00

I also wanted to limit the share so they couldn't delete my files or change them or whatever. So found a registry key that's working so far on my G:\.

Im not sure if it's machine dependent.

Link to comment
Share on other sites

You are right, for fixed shares for an unattended windows net share & regfile are okay.

Other, for me, I would like to replace the GUI of sharing folder (same as Windows 2003 but when ForceGuest is activate the full sharing/security is replaced by simple sharing (for Winxp the only bad thing) so I have make a small batch invoked by right click and it shares the folder but each time I must edit registry so not very handy method :( ...

If anyone know a replacer of sharing folder in windows xp, tell me !

Goodbye.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...