General discussion

Locked

Same desktop and mapped drives

By jharbour ·
I teach computers in a small rural school and I need all the computers to have the same desktop and mapped drives no matter who logs in. How can I do this??

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by omarhib In reply to Same desktop and mapped d ...

it would be more helpfull if you can give a little info about the network...

Collapse -

by jharbour In reply to Same desktop and mapped d ...

I am running a win2003 server, and the computers are xp pro.

Collapse -

by ewgny In reply to Same desktop and mapped d ...

You should set up mandatory roaming profiles.
and use a logon script to map the drives.
Also set up folder redirection for the My Documents folder.
All users will have a read only network based profile. Their My Documents folder will be available on any PC they log on to, but the My Documents Folder will reside on the Server for central backup and management

Collapse -

by ICB's corner In reply to Same desktop and mapped d ...

In case that you have a workgroup:
Objects from desktop's All Users profile are showed in all profiles.
Make a script or a bat file that contain command: net share .....
Put this script in Startup (All Users profile).
You can use policy to make that in a easy way.
Use Answer 2 for domain.

Collapse -

by Blackcurrant In reply to Same desktop and mapped d ...

Hi

Copy this into notepad, edit it and save it as filenmae.vbs Save it in C:\Documents and Settings\All Users\Start Menu\Programs\Startup\


Option Explicit

Dim WshNetwork, oDrives, i

'-- Setting objects --
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set oDrives = WshNetwork.EnumNetworkDrives

DriveMapper "R:", "\\servername\sharename"

Sub DriveMapper(Drive, Share)
For i = 0 to oDrives.Count -1 Step 2
if LCase(Drive) = LCase(oDrives.Item(i)) then
if not LCase(Share) = LCase(oDrives.Item(i+1)) then
WshNetwork.RemoveNetworkDrive Drive, true, true
Else
Exit Sub
End if
End if
Next
WshNetwork.MapNetworkDrive Drive, Share
End Sub


Where: DriveMapper "R:", "\\servername\sharename" equals the mapped drive letter and path to the resource. Simply repeat this line for each share you want to map.


Good luck

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums