Map network folders to desktop

Networking, Wireless Routers (802.11 a/b/g/n/ac/ax WiFi), NAT, LAN configuration, equipment, cabling, hubs, switches, and general network discussion
Post Reply
nagetech
Regular Member
Posts: 229
Joined: Thu Oct 04, 2001 1:14 am

Map network folders to desktop

Post by nagetech »

I'm running windows server 2003 in my apartment, and soon I'm going ot have 2 other people move in with me. I would like to know what I would have to do (probably a login script of some kind) that would allow me to map someone's home drive to their desktop as we all their "my computer. Also, perhaps could i map other shared locations on the network to their desktop?

I hope that makes sense
~~ Knowledge Favors the Prepared Mind ~~

~~Check out bux.to, make easy money by clicking links! Click to learn more!
http://bux.to/?r=nagetech ~~
User avatar
YeOldeStonecat
SG VIP
Posts: 51171
Joined: Mon Jan 15, 2001 12:00 pm
Location: Somewhere along the shoreline in New England

Post by YeOldeStonecat »

I think I know what you're looking for. A shortcut on the desktop leading to the share on the server?

Easy...just drill through Network Places, find the server...drill down into the servers shares that they have access too...right click the folder, while holding down that right mouse button...drag it do their desktop...let go of the button...select "create shortcut here". Now, all they have to do is double click that shortcut on their desktop, and they'll be exploring their shared folder on the server.
MORNING WOOD Lumber Company
Guinness for Strength!!!
nagetech
Regular Member
Posts: 229
Joined: Thu Oct 04, 2001 1:14 am

Post by nagetech »

What i wanna do is....have it so when someone logs in with their username/password, certain folders show up on the desktop...if that preson logs off and say i log in to that computer, i want my folders to show up on the desktop.....basically i want it so that every user has their folder show up on the desktop.... I hope that makes sense
~~ Knowledge Favors the Prepared Mind ~~

~~Check out bux.to, make easy money by clicking links! Click to learn more!
http://bux.to/?r=nagetech ~~
User avatar
YeOldeStonecat
SG VIP
Posts: 51171
Joined: Mon Jan 15, 2001 12:00 pm
Location: Somewhere along the shoreline in New England

Post by YeOldeStonecat »

2K and XP should do that anyways, because each user has, amongst many other things, their own desktop profile.

Add to this, you can do "roaming profiles" if you wish.
MORNING WOOD Lumber Company
Guinness for Strength!!!
nagetech
Regular Member
Posts: 229
Joined: Thu Oct 04, 2001 1:14 am

Post by nagetech »

Ah Yes...Roaming Profiles..... I know you can do it with xp and 2k... but i meant username/password from the D-controller...But yes I think Roaming Profiles work....But its weird if for example on my main rig. i Have icons for let's say Nero and ECDC 6...Then on one of the other computers, if they are not installed, it leads to a dead icon on the desktop....know what I'm saying?

I was hoping there was a login script that would allow one to define what folders would be mapped to the desktop... The folders I mainly wnat to map are the shares on the folder containing the music, movies, and their home directory.....so if there's no other way I guess Roaming Profiles are my only option :)
~~ Knowledge Favors the Prepared Mind ~~

~~Check out bux.to, make easy money by clicking links! Click to learn more!
http://bux.to/?r=nagetech ~~
User avatar
YeOldeStonecat
SG VIP
Posts: 51171
Joined: Mon Jan 15, 2001 12:00 pm
Location: Somewhere along the shoreline in New England

Post by YeOldeStonecat »

Originally posted by nagetech
But its weird if for example on my main rig. i Have icons for let's say Nero and ECDC 6...Then on one of the other computers, if they are not installed, it leads to a dead icon on the desktop....know what I'm saying?


Right, but if the OS is 2K or XP, you'll have that C:\Documents and Settings\<username>\Desktop folder. Each user has their own desktop. Icons in the folder are put on the appropriate users desktop, along with any others put in the <all users> desktop folder.
MORNING WOOD Lumber Company
Guinness for Strength!!!
User avatar
monty
Advanced Member
Posts: 528
Joined: Tue Nov 23, 1999 12:00 am

Post by monty »

Here's a cheap VB script for you (sorry about the formatting):

dim filesys
set filesys=CreateObject("Scripting.FileSystemObject")

Set WshNetwork = WScript.CreateObject("WScript.Network")
Set WshShell = WScript.CreateObject("WScript.Shell")


Select Case WshNetwork.UserName
Case "user1", "user2", "user3"
filesys.CopyFile "\\SERVER\PATH\Program.lnk", "C:\Documents and Settings\All Users\Desktop\Program.lnk"
End Select

Select Case WshNetwork.UserName
Case "user4", "user5", "user6"
If filesys.FileExists("C:\Documents and Settings\All Users\Desktop\Program.lnk") Then
filesys.DeleteFile "C:\Documents and Settings\All Users\Desktop\Program.lnk"
End If
End Select


That will copy shortcuts for only the users specified. If it's one of the other users, it will delete the shortcut from the desktop.
Post Reply