login script for users

  • Thread starter Thread starter news
  • Start date Start date
N

news

Hello,
Can anyone please show me how I can create login scrip for my differnt
user!?

Exampel 1:
If user1 login, the user must have access to folder's share1 and share2

Example 2:
If user2 login, the user must have access to folder's share3 and share6

Please tell me what I must include to have a good login script (time,
etc).....

Regards,
Kenneth
 
news said:
Hello,
Can anyone please show me how I can create login scrip for my differnt
user!?

Exampel 1:
If user1 login, the user must have access to folder's share1 and share2

Example 2:
If user2 login, the user must have access to folder's share3 and share6

Please tell me what I must include to have a good login script (time,
etc).....

Regards,
Kenneth

There are several ways to implement this. Here is a simple method
that requires no special tools. It assumes that your users are
validated by a domain controller, and that each user profile has
the script "netlogon.bat".

1. Create this folder on your domain controller:
\\YourController\Netlogon\UserScripts

2. Place this line into your existing netlogon.bat:
if exist \\YourController\Netlogon\UserScripts\%UserName%.bat call
\\YourController\Netlogon\UserScripts\%UserName%.bat
(unwrap line)

3. For User1, create the batch file
\\YourController\Netlogon\UserScripts\User1.bat
Inside it, you place these lines:
net use S: \\YourServer\Share1
net use T: \\YourServer\Share2

In other words:
- Each user executes "netlogon.bat" at logon time.
- Netlogon.bat contains the common share mappings.
- User-specific share mappings are defined in every
user's personal batch file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top