Script to add network place

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

Anyone know where I can find a script to assign via group policy that would
"add network places". I want my users to add network places to shared
folders on my server rather than mapping drives. I want no mapped drives on
the server.
 
This is used via program called KixTart which is free to download. I recommend you download the latest and it uses drop down menus to assist you in building scripts and explains how to use it. Here's how you would do via a script based on security / It also checks to see if your'e logging on locally so you don't need to run a script to map drives to the same server you're logging on to. Site is based on location (location A, Location B.. if you have multiple locations using child domains or additional domain servers)

;logon.kix
; Kixtart Logon Script for AD Domain.

; ----------------------------------------------------------------------------------
; Present logon info to users
cls
? "Logon for: " + @fullname
? "Logon Server is: " + @Lserver
? "Computer is running: " + @Producttype

; ----------------------------------------------------------------------------------
; Exit Logon Script NOW If ... Server, Administrator or TS Client

if @Producttype = "Windows NT Server" OR
@Producttype = "Windows NT Domain Controller" OR
@Producttype = "Windows 2000 Server" OR
@Producttype = "Windows 2000 Domain Controller" OR
@Producttype = "Windows .Net Domain Controller" OR
@Producttype = "Windows .Net Server" OR
@Userid = "administrator" OR
EXIT
Endif


; Map Drive Letters According to Site and Special Groups

$SiteID = @Site
? "Logon Site is: " + $SiteID

? "Drive mappings for: " + $SiteID

Select
Case $SiteID = "Site1"
If InGroup ("Users")
Use F: "\svr1share1$" + @Userid
Use G: "\svr2share1$"
EndIf
If InGroup ("Grp1") Use S: "\svr2share2$" EndIf

Case $SiteID = "Site2"
If Ingroup ("Users")
Use F: "\svr3" + @Userid + "$"
EndIf
EndSelect

; ----------------------------------------------------------------------------------
; Run updates

? "Please Wait For Additional Updates ..."
? " "
shell @Lserver + "netlogon" + @Site + "updates.bat"

; ----------------------------------------------------------------------------------
; All Done

EXIT