Grake Posted December 17, 2005 Posted December 17, 2005 1. How can I share my D:\ automatically when I install my XP?2. How can I map a network drive automatically if i know the name of the computer?thanks.
ATM Posted December 17, 2005 Posted December 17, 2005 Use followin commandsnet share shareName=Drive:Pathin your case net share spiderman=d:\for mapping drive first shre a folder then use folowingi'll map above foldernet use x: \\matrix\spidermanhere x drive will be shown in my computeruse following commands in a batch file and run during runonceexBOL
Sonic Posted December 17, 2005 Posted December 17, 2005 but how set rights on the share ? if I remember it share as full control for all ...
Grake Posted December 18, 2005 Author Posted December 18, 2005 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,00I 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.
Sonic Posted December 18, 2005 Posted December 18, 2005 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now