General discussion


login script

By ·
how to create a shortcut in users's pc to a directory in login script?

This conversation is currently closed to new comments.

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

All Comments

Collapse -

by BFilmFan In reply to login script

NT,2000 and 2003:

NETUSE Drive letter: \\Computername\sharename

Example netuse q: \\server1\share1


MAP Drive letter: = Volume:\Share Name

Example map g:=SYS:\Home\User1


Collapse -

by Server Queen In reply to login script

Were you wanting the user to be able to run their logon script from their desktop? To do that, you can create a shortcut directly from the .bat file. Go to the \\server\netlogon share (replace server with the name of one of your actual DCs), select the appropriate logon script, and drag it with the RIGHT mouse button to the user's desktop. When it asks if you want to Copy, Move, or Create Shortcut, select Create Shortcut.

This is sometimes handy for users who need to frequently disconnect the drives that map at logon, or when for whatever reason, a logon script doesn't always work consistently.

Collapse -

by Curacao_Dejavu In reply to login script

actually the right answer is a combination of both posts.
In the account properties of a useraccount, there is a tab for login script.
At that location you enter name of the batch file that you create to map the folder (see answer 1 on the syntax).
The batch file has to be create in the location that answer 2 mentioned.

When a user loggs into the domain, the batch file will be run automatically as part of it's login process, and there for you can control this from within the accounts of the user themselves.


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

Related Discussions

Related Forums