Solved: New logon script on server 2003

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

lufkinp6

Thread Starter
Joined
Aug 1, 2005
Messages
469
Hello, I am trying to make a log on script that looks to see what the username is that is loging on. and then takes that and maps their documents. for example. I log on with the user name tlufkin. Their documents would be located on my server at \\server\tlufkin. How can i get the script to do this. but change the location depending on who is logging on. A working example would be great. Thanks in advance for any help.
 
Joined
Jan 3, 2011
Messages
8
Try something like this:

net use H: \\server\%username%

But u can assign the folder in AD user profile settings, Home folder
 

lufkinp6

Thread Starter
Joined
Aug 1, 2005
Messages
469
what do you mean by folder redirection do you mean changing the my documents folder to their documents on the server every time they log on?
 
Joined
Jul 29, 2001
Messages
21,334
Folder redirection via Group Policy. It will redirect their My Documents folder to a location you choose on the server, it is a one time thing and will always be on the server. No scripting neccesary if you have Active Directory set up correctly.
 

lufkinp6

Thread Starter
Joined
Aug 1, 2005
Messages
469
That sounds like a good idea can you give me some instructions on how to go about doing that. I love one time things. It makes the work so much easier.
 
Joined
Jul 29, 2001
Messages
21,334
This is basic network admin stuff. Look up folder redirection on Google because there is a lot more to it than simple instructions. You can also mess things up royally if you do not know what you are doing. Create a test user and a test OU in AD to start with and test out your redirection results.

You will also need to creat a share on your server for the redirection to go to. I generally create a share called redirection and give only authenticated users full access and let AD take care of the security for the new user folders created in that share.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top