Jump to content

Recommended Posts

Posted

I'm trying to setup a small file server for five computers to be able to login to. Basically I want it so that each computer can login to a server with a user account that has a folder they can store files in. No internet needed.

So far I was able to figure out how to install Win2k server and get it to the point where users can login successfully. But no profile settings are stored/used on the server and I just plain have no idea how to setup shared folders for each user :/ I vaguely remember setting profile paths in AD but pretty much forgot everything. Darn. Now i'm stuck. Could anyone help me out?


Posted

Sure m8, create a folder called Profiles and share it as Profiles$, then on each user account properties sheet, profiles tab, Profile field type in something like this

\\servername\Profiles\%username%

next time user logs on, their profile folder will be automaticaly created ... note that My Documents folder is part of a user profile, so if they have too many files, it will take ages to copy everything over to the server, as well as every time they log on ...

as per user home folders ... create a folder calles Users, and create each user folder calles after their username, set sharing and security permissions and then add this in your logon script

' Mapping user home folder on the server
Dim oNet, sUser

Set oNet = CreateObject("Wscript.Network")

sUser =oNet.UserName

oNet.MapNetworkDrive "P:", "\\SERVER\" & sUser

Note P:\ is the letter of the drive you want to map .... \\SERVER\ needs to be changed to your server name ... if you don't have logon script ... here is a simple one ...

' VBScript.
' Mapping user home folder on the server
Dim oNet, sUser

Set oNet = CreateObject("Wscript.Network")

sUser =oNet.UserName

oNet.MapNetworkDrive "P:", "\\SERVER\" & sUser

' Mapping user network drivers on the server
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "Q:", "\\SERVER\Public Folder"
WshNetwork.MapNetworkDrive "R:", "\\SERVER\IT"
WshNetwork.MapNetworkDrive "S:", "\\SERVER\Share"

' Mapping user printers from the server
Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\SERVER\HPLJ8100", "HPLJ8100"
net.AddWindowsPrinterConnection "\\SERVER\TOSHIBA e-STUDIO 211c", "TOSHIBA e-STUDIO 211c"
net.AddWindowsPrinterConnection "\\SERVER\TOSHIBA e-STUDIO200", "TOSHIBA e-STUDIO200"

Set net = CreateObject("WScript.Network")
net.SetDefaultPrinter "\\SERVER\HPLJ8100"

Save it as whatver.vbs and place it inside NETLOGON folder

Hope this helps :)

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...